MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / get_raw_value

Method get_raw_value

detrsmpl/data/data_structures/human_data.py:468–481  ·  view source on GitHub ↗

Get raw value from the dict. It acts the same as dict.__getitem__(k). Args: key (_KT): Key in dict. Returns: _VT: Value to the key.

(self, key: _KT)

Source from the content-addressed store, hash-verified

466 return value
467
468 def get_raw_value(self, key: _KT) -> _VT:
469 """Get raw value from the dict. It acts the same as
470 dict.__getitem__(k).
471
472 Args:
473 key (_KT):
474 Key in dict.
475
476 Returns:
477 _VT:
478 Value to the key.
479 """
480 value = super().__getitem__(key)
481 return value
482
483 def get_value_in_shape(self,
484 key: _KT,

Callers 8

get_sliced_cacheMethod · 0.95
toMethod · 0.95
get_value_in_shapeMethod · 0.95
get_sliceMethod · 0.95
decompress_keypointsMethod · 0.95
get_sliceMethod · 0.80

Calls 1

__getitem__Method · 0.45

Tested by

no test coverage detected