class documentation
class _OnCompleteRequestTransferTypeConverter(temporalio.converter.TransferTypeConverter[
Undocumented
| Method | from |
Convert a transfer type value to its user-facing value. |
| Method | to |
Convert a user-facing value to its transfer type value. |
Inherited from TransferTypeConverter:
| Class Variable | transfer |
Optional type hint for the transfer type to use when decoding payloads. |
@typing_extensions.override
def from_transfer_type(self, value: temporalio.api.notificationservice.v1.request_response_pb2.OnCompleteRequest, type_hint: type[ OnCompleteRequest[ OutputT, SourceContextT]]) -> OnCompleteRequest[ OutputT, SourceContextT]:
(source)
¶
Convert a transfer type value to its user-facing value.
type_hint is the requested user-facing type, including concrete generic arguments.
Warning
This API is experimental and subject to change.
@typing_extensions.override
def to_transfer_type(self, value: OnCompleteRequest[ OutputT, SourceContextT]) -> temporalio.api.notificationservice.v1.request_response_pb2.OnCompleteRequest:
(source)
¶
Convert a user-facing value to its transfer type value.
Warning
This API is experimental and subject to change.