dgs.utils.state.get_ds_data_getters¶
- dgs.utils.state.get_ds_data_getters(attributes: list[str]) Callable[[State], tuple[any, ...]][source]¶
Given a list of attribute names, return a function, that gets those attributes from a given
State.Notes
Note that the
__getitem__()call of theStatewill return attributes from strings if applicable.