コード例 #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()))
コード例 #2
0
 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()))
コード例 #3
0
ファイル: sdk_worker.py プロジェクト: ovaltzer/beam
 def blocking_clear(self, state_key):
     self._blocking_request(
         beam_fn_api_pb2.StateRequest(
             state_key=state_key,
             clear=beam_fn_api_pb2.StateClearRequest()))
コード例 #4
0
ファイル: sdk_worker.py プロジェクト: vinjukg/beam
 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()))