def clear(self, state_key): return self._request( beam_fn_api_pb2.StateRequest( state_key=state_key, clear=beam_fn_api_pb2.StateClearRequest()))
def clear(self, state_key): # type: (Optional[beam_fn_api_pb2.StateKey]) -> _Future return self._request( beam_fn_api_pb2.StateRequest( state_key=state_key, clear=beam_fn_api_pb2.StateClearRequest()))
def blocking_clear(self, state_key): self._blocking_request( beam_fn_api_pb2.StateRequest( state_key=state_key, clear=beam_fn_api_pb2.StateClearRequest()))
def blocking_clear(self, state_key, instruction_reference): self._blocking_request( beam_fn_api_pb2.StateRequest( instruction_reference=instruction_reference, state_key=state_key, clear=beam_fn_api_pb2.StateClearRequest()))