def items(self) -> ItemsView[TermType, TermType]: return ItemsView(self)
async def test_items(self): conn = AMQPConnection(hostname="localhost", username="******", password="******") self.assertEqual(ItemsView(conn), conn.items())
def items(self): return ItemsView(self.__dict)
def items(self): return ItemsView(self._context)
def items(self): return ItemsView(self)
def items(self) -> ItemsView[Key, Value]: items = maptree.to_seq(self._tree) return ItemsView(dict(items))
def items(self) -> ItemsView[KT, VT]: # pragma: nocover return ItemsView(self) # type: ignore