示例#1
0
文件: gloss.py 项目: ucodery/gloss
 def items(self) -> ItemsView[TermType, TermType]:
     return ItemsView(self)
示例#2
0
 async def test_items(self):
     conn = AMQPConnection(hostname="localhost",
                           username="******",
                           password="******")
     self.assertEqual(ItemsView(conn), conn.items())
示例#3
0
文件: param.py 项目: mhenc/airflow
 def items(self):
     return ItemsView(self.__dict)
示例#4
0
 def items(self):
     return ItemsView(self._context)
示例#5
0
 def items(self):
     return ItemsView(self)
示例#6
0
 def items(self) -> ItemsView[Key, Value]:
     items = maptree.to_seq(self._tree)
     return ItemsView(dict(items))
示例#7
0
 def items(self) -> ItemsView[KT, VT]:  # pragma: nocover
     return ItemsView(self)  # type: ignore