def get_flow_run_state(self, flow_run_id: str) -> 'prefect.engine.state.State':
    '\n        Retrieves the current state for a flow run.\n\n        Args:\n            - flow_run_id (str): the id for this flow run\n\n        Returns:\n            - State: a Prefect State object\n        '
    query = {'query': {with_args('flow_run_by_pk', {'id': flow_run_id}): {'serialized_state': True}}}
    flow_run = self.graphql(query).data.flow_run_by_pk
    return prefect.engine.state.State.deserialize(flow_run.serialized_state)
Retrieves the current state for a flow run.

Args:
    - flow_run_id (str): the id for this flow run

Returns:
    - State: a Prefect State object
def get_flow_run_state(self, flow_run_id: str) -> 'prefect.engine.state.State':
    '\n        Retrieves the current state for a flow run.\n\n        Args:\n            - flow_run_id (str): the id for this flow run\n\n        Returns:\n            - State: a Prefect State object\n        '
    query = {'query': {with_args('flow_run_by_pk', {'id': flow_run_id}): {'serialized_state': True}}}
    flow_run = self.graphql(query).data.flow_run_by_pk
    return prefect.engine.state.State.deserialize(flow_run.serialized_state)