Thang Le
04/22/2026, 6:40 PMalex
04/22/2026, 6:51 PMprefect, so you might not need to contribute to Prefect to use pex in your pull steps. Here's a section in the docs that covers how to write custom deployment steps: https://docs.prefect.io/v3/how-to-guides/deployments/prefect-yaml#writing-a-custom-step-function.Thang Le
04/22/2026, 6:55 PM{
"prefect_aws.deployments.steps.pull_from_s3": {
"id": "pull_flow_artifacts",
"bucket": "test",
"folder": "test
}
},
{
"prefect.deployments.steps.run_shell_script": {
"id": "extract_pex_deps",
"script": "unzip -o pex-deps.zip"
}
},
{
"prefect.deployments.steps.run_shell_script": {
"id": "extract_pex_srcs",
"script": "unzip -o pex-srcs.zip"
}
}Thang Le
04/22/2026, 6:55 PMNate
04/22/2026, 6:56 PMNate
04/22/2026, 6:57 PMNate
04/22/2026, 6:57 PMyour_module.somewhere.pull_pex and then use that in your .yaml fileThang Le
04/22/2026, 6:58 PM