Kevin Grismore
08/25/2022, 9:02 PMUserWarning: Block document has schema checksum sha256:28a9d16c2589998d5281b0496b25edd76c1a0b159095d0c7fe5eb5dc5ab62549 which does not match the schema checksum for class 'GCS'. This indicates the schema has changed and this block may not load.
Should I delete and recreate my GCS block?Flow could not be retrieved from deployment.
Traceback (most recent call last):
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 982, in get_code
File "<frozen importlib._bootstrap_external>", line 1039, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/Users/kevingrismore/Documents/simple-prefect/flows/flow.py'
I'm not sure why this would be happening since my deployment looks like this:
from prefect.deployments import Deployment
from prefect.infrastructure import KubernetesJob
from prefect.filesystems import GCS
from flow import my_kubernetes_flow
storage = GCS.load('prefect-bucket-access')
infrastructure = KubernetesJob.load('k8s-job')
deployment = Deployment.build_from_flow(
storage=storage,
infrastructure=infrastructure,
flow=my_kubernetes_flow,
name='test-deployment',
work_queue_name='k8s-sources'
)
deployment.apply()
path
and entrypoint
to correct itAnna Geller
08/26/2022, 9:10 PM