예제 #1
0
 def keys(self):
     """
     Returns
     -------
     KeysView
         A view of the names of the objects in the group.
     """
     return abc.KeysView(self)
예제 #2
0
파일: group.py 프로젝트: CINPLA/exdir
 def keys(self):
     """
     Returns
     -------
     KeysView
         A view of the names of the objects in the group.
     """
     assert_file_open(self.file)
     return abc.KeysView(self)
예제 #3
0
    def keys(self):
        # type: () -> KeysView[KT]
        """
        Get keys.

        :return: Keys.
        :rtype: collections.abc.KeysView
        """
        return collections_abc.KeysView(self)
예제 #4
0
    def sortedkeys(self):
        """Set-like object giving table names.

        Ordered by value. Does not update with table.

        """
        sorted_dict = dict(
            sorted(self._dict.items(), key=lambda item: item[0])
        )
        return cabc.KeysView(sorted_dict.keys())
예제 #5
0
 def keys(self):
     return abc.KeysView(self)
예제 #6
0
 def keys(self):
     """D.keys() => a set-like object providing a view on D's keys"""
     return stdlib_collections.KeysView(self)