MCPcopy Create free account
hub / github.com/open-mmlab/mmengine / all_keys

Method all_keys

mmengine/structures/base_data_element.py:343–348  ·  view source on GitHub ↗

Returns: list: Contains all keys in metainfo and data.

(self)

Source from the content-addressed store, hash-verified

341 return [getattr(self, k) for k in self.metainfo_keys()]
342
343 def all_keys(self) -> list:
344 """
345 Returns:
346 list: Contains all keys in metainfo and data.
347 """
348 return self.metainfo_keys() + self.keys()
349
350 def all_values(self) -> list:
351 """

Callers 5

all_itemsMethod · 0.95
test_keysMethod · 0.95
test_to_dictMethod · 0.95
catMethod · 0.80
check_key_valueMethod · 0.80

Calls 2

metainfo_keysMethod · 0.95
keysMethod · 0.95

Tested by 3

test_keysMethod · 0.76
test_to_dictMethod · 0.76
check_key_valueMethod · 0.64