Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
15.33k
stars
1.5k
forks
source link
RunnerDeployment.from_storage strips file-extension like pattern from deployment name #14026
Open
peterbygrave opened 2 weeks ago
First check
Bug summary
RunnerDeployment.from_storage
performsPath(name).stem
on deployment name regardless of whether it is a path or not.For example we use a version string for our deployment names like
v1.2.3
. This will be transformed by Path(name).stem tov1.2
.This can be reproduced following the example: https://docs.prefect.io/latest/guides/prefect-deploy/?h=def+deploy#store-your-code-in-git-based-cloud-storage
and changing
name="no-image-deployment",
toname="no-image-deployment.hello",
will create a deployment nameno-image-deployment
Reproduction
Error
No response
Versions
Additional context
No response