ModelMixin.position()#

ModelMixin.position(model_state)[source]#

Extracts the position from a model state.

Return type:

NewType(Position, dict[str, Any])