Exemple #1
0
 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()))
Exemple #3
0
 def blocking_clear(self, state_key):
     self._blocking_request(
         beam_fn_api_pb2.StateRequest(
             state_key=state_key,
             clear=beam_fn_api_pb2.StateClearRequest()))
Exemple #4
0
 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()))