Skip to content

Commit

Permalink
Add prefect v3.1.0 to worker records
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-robot committed Nov 8, 2024
1 parent 53e4942 commit 3b40dc1
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions collections/prefect/workers/v3.1.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"prefect": {
"prefect-agent": {
"type": "prefect-agent",
"documentation_url": "https://docs.prefect.io/latest/concepts/work-pools/#agent-overview",
"display_name": "Prefect Agent",
"logo_url": "https://cdn.sanity.io/images/3ugk85nk/production/c771bb53894c877e169c8db158c5598558b8f175-24x24.svg",
"install_command": "pip install prefect",
"default_base_job_configuration": {},
"description": "Execute flow runs on heterogeneous infrastructure using infrastructure blocks."
},
"process": {
"default_base_job_configuration": {
"job_configuration": {
"command": "{{ command }}",
"env": "{{ env }}",
"labels": "{{ labels }}",
"name": "{{ name }}",
"stream_output": "{{ stream_output }}",
"working_dir": "{{ working_dir }}"
},
"variables": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Name given to infrastructure created by a worker.",
"title": "Name"
},
"env": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": "Environment variables to set when starting a flow run.",
"title": "Environment Variables",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels applied to infrastructure created by a worker.",
"title": "Labels",
"type": "object"
},
"command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The command to use when starting a flow run. In most cases, this should be left blank and the command will be automatically generated by the worker.",
"title": "Command"
},
"stream_output": {
"default": true,
"description": "If enabled, workers will stream output from flow run processes to local standard output.",
"title": "Stream Output",
"type": "boolean"
},
"working_dir": {
"anyOf": [
{
"format": "path",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "If provided, workers will open flow run processes within the specified path as the working directory. Otherwise, a temporary directory will be created.",
"title": "Working Directory"
}
},
"type": "object"
}
},
"description": "Execute flow runs as subprocesses on a worker. Works well for local execution when first getting started.",
"display_name": "Process",
"documentation_url": "https://docs.prefect.io/latest/get-started/quickstart",
"install_command": "pip install prefect",
"is_beta": false,
"logo_url": "https://cdn.sanity.io/images/3ugk85nk/production/356e6766a91baf20e1d08bbe16e8b5aaef4d8643-48x48.png",
"type": "process"
}
}
}

0 comments on commit 3b40dc1

Please sign in to comment.