• Pedro Machado

    Pedro Machado

    9 months ago
    Hi. Is it possible to specify a schedule that runs on the first Monday of each month?
    Pedro Machado
    Kevin Kho
    7 replies
    Copy to Clipboard
  • m

    Maria

    9 months ago
    Hi, Is it possible to override db_name, user and host values in the runtime for postgres task?
    postgres_execute = PostgresExecute(    db_name="abc", user="peter", host="my_host", port=5432,)
    I have multiple databases (dev, test, demo, +prod db per client), and I need to query/load data into the relevant one. I have a config file and I was hoping I could use Parameter to tell what config line to choose - but it seems like I cannot override those params... What is the recommended approach for such use case?
    m
    Anna Geller
    6 replies
    Copy to Clipboard
  • Cristian Toma

    Cristian Toma

    9 months ago
    Hi all, Playing with Prefect for some time now and I love it so far. I have a question regarding passing data in a flow to all tasks. Let's say I have a task A that returns some data (I know it returns actually a task object) that I want to use through all future tasks. I can pass the result as a parameter to all of the tasks but if I have this situation with more than 5 parameters (the return data from 5 tasks A-E) it's getting ugly and hard to maintain. Is there a way to set the values as global somehow (I've tried using context but without success) like in an OOP approach?
    Cristian Toma
    Anna Geller
    4 replies
    Copy to Clipboard
  • r

    Ruben Sik

    9 months ago
    Hi all, does anyone have experience in imports when running a prefect docker agent? While on my local docker image my imports work fine, when running a flow via a docker agent, modules cannot be found?
    r
    Anna Geller
    9 replies
    Copy to Clipboard
  • Emma Rizzi

    Emma Rizzi

    9 months ago
    Hi! I'm trying to create a custom VM image that launches a prefect agent on spawn, is there any records of such work already done here ? I haven't found anything but still worth to ask My goal is to simulate an elastic cluster with prefect: have a flow that launches a instance with this image, start a new sub-flow with this new agent, and deprovision the instance Almost everystep is validated, I just need to build the VM image in
    raw
    format and I got lost here, if anyone has experience with it I'd gladly take some advice!
    Emma Rizzi
    Amanda Wee
    +1
    7 replies
    Copy to Clipboard
  • Suresh R

    Suresh R

    9 months ago
    Hi! I'm trying to find option similar to
    depends_on_past
    in airflow. We wanted next run of flow to start only when previous run is in Success state. Can anyone help?
    Suresh R
    Anna Geller
    22 replies
    Copy to Clipboard
  • haf

    haf

    9 months ago
    Has anyone got spurious CancelledError😒 when running with Dask? Flow id:
    e2631f0e-2987-405f-bf3b-3fbb46acf90c
    haf
    Anna Geller
    +1
    11 replies
    Copy to Clipboard
  • Ryan Brennan

    Ryan Brennan

    9 months ago
    Hi, is there a way get the data that is used in the Dashboard UI via api calls? I’m mainly interested in recreating the Run History graph. For context, we’re an agency that implements/manages a bunch of Prefect instances and I would like to build a way for us to get daily summaries of our Client’s flow runs without needing to log in and out of the UI for each instance.
    Ryan Brennan
    1 replies
    Copy to Clipboard
  • f

    FuETL

    9 months ago
    Hey guys, i'm struggling for a bit here. I need to define a custom
    context
    value inside the flow run (So i can retrieve later via graphql query), the issue is (not all my flow will have this custom context value), for what i understand the context values is passed in
    run()
    call, is not possible to add/modify and retrieve this values later? If so, there a alternative i can use to get custom values from a flow?
    f
    Anna Geller
    9 replies
    Copy to Clipboard
  • Daniil Ponizov

    Daniil Ponizov

    9 months ago
    I already ask this question in thread, but didnt get answer. I get this error, when trying to set the api with the --api argument at prefect agent start:
    line 831, in _verify_token
      raise AuthorizationError("No agent API token provided.")
    prefect.exceptions.AuthorizationError: No agent API token provided.
    Daniil Ponizov
    Anna Geller
    2 replies
    Copy to Clipboard