MCPcopy Create free account
hub / github.com/AdaptiveMotorControlLab/FMPose3D / to_dict

Method to_dict

fmpose3d/common/config.py:365–370  ·  view source on GitHub ↗

Return a flat dictionary of all configuration values.

(self)

Source from the content-addressed store, hash-verified

363 # -- utilities ------------------------------------------------------------
364
365 def to_dict(self) -> dict:
366 """Return a flat dictionary of all configuration values."""
367 result = {}
368 for group_name in _SUB_CONFIG_CLASSES:
369 result.update(asdict(getattr(self, group_name)))
370 return result
371

Calls 1

updateMethod · 0.45