def append_raw(self, state_key, # type: Optional[beam_fn_api_pb2.StateKey] data # type: bytes ): # type: (...) -> _Future return self._request( beam_fn_api_pb2.StateRequest( state_key=state_key, append=beam_fn_api_pb2.StateAppendRequest(data=data)))
def append_raw(self, state_key, data): return self._request( beam_fn_api_pb2.StateRequest( state_key=state_key, append=beam_fn_api_pb2.StateAppendRequest(data=data)))
def blocking_append(self, state_key, data): self._blocking_request( beam_fn_api_pb2.StateRequest( state_key=state_key, append=beam_fn_api_pb2.StateAppendRequest(data=data)))
def blocking_append(self, state_key, data, instruction_reference): self._blocking_request( beam_fn_api_pb2.StateRequest( instruction_reference=instruction_reference, state_key=state_key, append=beam_fn_api_pb2.StateAppendRequest(data=data)))