class StartOperationContext(OperationContext):
Constructor: StartOperationContext(*args, **kwargs)
Context for the start method.
Includes information from the request.
Class Variable | callback |
Optional header fields set by the caller to be attached to the callback request when an asynchronous operation completes. |
Class Variable | callback |
A callback URL is required to deliver the completion of an async operation. This URL should be called by a handler upon completion if the started operation is async. |
Class Variable | inbound |
Links received in the request. This list is automatically populated when handling a start request. Handlers may use these links, for example to add information about the caller to a resource associated with the operation execution. |
Class Variable | outbound |
Links to be returned by the handler. This list is initially empty. Handlers may populate this list, for example with links describing resources associated with the operation execution that may be of use to the caller. |
Class Variable | request |
Request ID that may be used by the handler to dedupe a start request. By default a v4 UUID should be generated by the client. |
Inherited from OperationContext
:
Method | __new__ |
Undocumented |
Class Variable | headers |
Optional header fields sent by the caller. |
Class Variable | operation |
The name of the operation. |
Class Variable | service |
The name of the service that the operation belongs to. |
Optional header fields set by the caller to be attached to the callback request when an asynchronous operation completes.
A callback URL is required to deliver the completion of an async operation. This URL should be called by a handler upon completion if the started operation is async.
Links received in the request. This list is automatically populated when handling a start request. Handlers may use these links, for example to add information about the caller to a resource associated with the operation execution.
Links to be returned by the handler. This list is initially empty. Handlers may populate this list, for example with links describing resources associated with the operation execution that may be of use to the caller.