class StorageDriverSelectContext: (source)
Context passed to ExternalStorage.driver_selector calls.
Warning
This API is experimental.
| Class Variable | namespace |
The namespace of the client or worker performing the operation. |
| Class Variable | target |
The workflow or activity for which this payload is being stored. |
The namespace of the client or worker performing the operation.
It is set even when target is None, and is None only when
external storage is used outside a client or worker. A driver choosing a
storage layout should prefer the target's namespace when a target is
present.
The workflow or activity for which this payload is being stored.
For payloads being stored on behalf of an explicit target (e.g. a child workflow being started, an activity being scheduled, an external workflow being signaled), this is that target's identity. When no explicit target exists the current execution context (workflow or activity) is used as the target instead.