Giter Club home page Giter Club logo

Comments (3)

jakekaplan avatar jakekaplan commented on June 18, 2024

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.

shawnlong636 avatar shawnlong636 commented on June 18, 2024

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.

jakekaplan avatar jakekaplan commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.