Built-in Types
WebhookRetries
Webhook retry configuration.
Bases
dataclass
Field | Type | Description |
---|---|---|
max_retries | int | Maximum number of retries. Default is 3. |
max_retry_delay | int | Maximum delay between retries in milliseconds. Default is 15000. |
WebhookSecret
Webhook secret.
Bases
dataclass
Field | Type | Description |
---|---|---|
contents | str | Base64-decoded string of a secret key. If this is not provided, one will automatically be generated. |
WebhookSpec
Note: The specified endpoint must be HTTPS, and it must be a fully qualified domain name that resolves to an IPv4 address in public space.
Webhook configuration.
Bases
dataclass
Field | Type | Description |
---|---|---|
endpoint | str | Webhook endpoint URL. The endpoint must be HTTPS, and it must be a fully qualified domain name that resolves to an IPv4 address in public space. |
JobOptions
Batch job configuration.
Bases
dataclass
Field | Type | Description |
---|---|---|
dataset_id | str | The dataset ID. |
webhook_id | str | The webhook ID. |
artifact_id | Optional[str] | The ID of the artifact to deploy. Use this field for spinning up new temporary deployments to run batch jobs. If this field is specified, the deployment_id field can be left blank. |
deployment_id | Optional[str] | The ID of an existing deployment in your Nexus project. If this field is specified, the artifact_id and deployment_metadata fields can be left blank. |
deployment_metadata | Optional[DeploymentMetadata] | The deployment configuration when spinning up new temporary deployments to run batch jobs. To be used in conjunction with artifact_id . |
start_at_time | Optional[int] | Start time of the batch job in milliseconds. |
stop_at_time | Optional[int] | Stop time of the batch job in milliseconds. |
LogsFilter
Filter options for batch job logs.
Bases
dataclass
Field | Type | Description |
---|---|---|
before_time | Optional[str] | Filter logs before the specified timestamp in milliseconds. |
after_time | Optional[str] | Filter logs after the specified timestamp in milliseconds. |
min_level | Optional[str] | Filter logs with a minimum level, e.g. Info or Error . Defaults to Info . |
max_entries | Optional[int] | Maximum number of log entries to return. |
Updated 2 months ago