Skip to content

utils.id_manager

Full path: schola.core.utils.id_manager

schola.core.utils.id_manager

Utility Functions and Classes for managing environment and agent ids.

Functions

ItemDescription
nested_get(dct, keys, default)Get a value from a nested dictionary, returning a default value if the key is not found.

Classes

ItemDescription
IdManager(ids)A class to manage the mapping between nested and flattened ids.