Comments (3)
Hi @fletanoux thanks for filing this issue!
I believe that this is due to a mismatch between your client and server versions. Can you try updating your prefect server version to 2.16.1
and try again?
from prefect.
Hey @jakekaplan and @fletanoux, I can definitely concur that the that issue is due to mismatched client and server versions, as I had the same issue.
Also though, I'm running it into a pedantic issue when deploying using a CronSchedule with build_from_flow:
deployment = Deployment.build_from_flow(
flow=flow,
infra_overrides=self.options.infra_overrides,
schedule=[CronSchedule(cron=self.options.cron_schedule, timezone="America/Los_Angeles")] if self.options.cron_schedule else None,
name=self.options.name,
tags=self.options.tags,
work_pool_name=self.options.work_pool_name,
work_queue_name=self.options.work_queue_name,
storage=self.storage_block,
ignore_file=self.options.ignore_file
)
Output
schedules -> 0 -> schedule
field required (type=value_error.missing)
from prefect.
Hi @shawnlong636 I am able to reproduce your issue however I do think it is separate from the original version mismatch issue filed here. I am going to close this issue as it is a known conflicting change between client/server versions.
You can track the issue you're having here as that should work.
from prefect.
Related Issues (20)
- Pull Steps not rendering upstream reference from prefect.yml for some flows HOT 2
- Log a warning if `hash_objects` fails to json and cloudpickle serialize HOT 2
- Log a warning/raise error if user tries to cache something undeterministic (uncacheable) HOT 1
- Broken Notification Creation
- Enhancement: Add Internationalization (i18n) Support in UI
- Boolean (optional) parameters are not copied to a new flow
- Exclusion syntax and capability for triggers
- Create `prefect task serve` command
- Create utilities to generate URLs for task runs and flow runs
- Create a utility that schedules task runs by name
- CLI: Update `prefect deploy` options to support a `--jv/job-variable` option
- Create a Redis filesystem Block
- Create `prefect task-runs ...` commands to list and view metadata about task runs
- Add the possibility for an internal rate limiter for `task.map(...)` HOT 3
- "schedule" not recognised in Deployment.build_from_flow
- add possibility to choose the timezone in the UI for the datetime flow parameters
- Update prefect.yaml formatter schema HOT 2
- Pausing a work queue via CLI without specifying work pool will pause `default-agent-pool `
- Bug: Copy to new run doesn't preserve boolean value HOT 3
- Incompatibility with `importlib-resources` > 6.1.3 and python 3.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prefect.