Skip to content

Commit

Permalink
Add prefect v2.20.2 to worker records
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-robot committed Aug 20, 2024
1 parent 23371cc commit 49ab504
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions collections/prefect/workers/v2.20.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"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": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Name given to infrastructure created by a worker.",
"type": "string"
},
"env": {
"title": "Environment Variables",
"description": "Environment variables to set when starting a flow run.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"labels": {
"title": "Labels",
"description": "Labels applied to infrastructure created by a worker.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"command": {
"title": "Command",
"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.",
"type": "string"
},
"stream_output": {
"title": "Stream Output",
"description": "If enabled, workers will stream output from flow run processes to local standard output.",
"default": true,
"type": "boolean"
},
"working_dir": {
"title": "Working Directory",
"description": "If provided, workers will open flow run processes within the specified path as the working directory. Otherwise, a temporary directory will be created.",
"type": "string",
"format": "path"
}
}
}
},
"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/api-ref/prefect/workers/process/",
"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 49ab504

Please sign in to comment.