dgs.utils.state.get_ds_data_getter¶
- dgs.utils.state.get_ds_data_getter(attribute: str) Callable[[State], any] [source]¶
Given a single name of an attribute or property, return a function, that gets the respective values from a given
State
.Notes
Note that the
__getitem__()
call of theState
will return attributes from strings if applicable.