• e

    Elliot Oram

    1 year ago
    Hi all, Is there a way to ask prefect server what the code in a particular flow is? Currently if I register a flow and then register it again with the exact same code it will increment the version number even though the flow is identical. I can write a system to store a local hashed version of the file and then compare before I re-register, but I wanted to check if you guys had a better solution before I do that! Thanks 🙂
    e
    Michael Adkins
    +1
    8 replies
    Copy to Clipboard
  • j

    Julio Venegas

    1 year ago
    Hi everyone! Trying to get started with prefect 😄 managed to create a
    user-data.sh
    script that gets prefect running in an AWS EC2 instance with amazon linux 2 as the AMI of the machine. Might be useful for someone but please run at your own discretion!
  • ale

    ale

    1 year ago
    Hi folks, is there a way to set the expected type for a Parameter? I have a parameter which is a string, but when passing it to tasks, Pycharm raises a warning about type mismatch…
    ale
    Dylan
    +1
    8 replies
    Copy to Clipboard
  • a

    Alberto de Santos

    1 year ago
    Hi all, Anyone knows where to find the path to the prefect executable?
    a
    Dylan
    +1
    4 replies
    Copy to Clipboard
  • r

    Roey Brecher

    1 year ago
    Q: Canceling a Flow does not cancel its child Flows that were started with
    StartFlowRun
    . Is this by design? (cancellation was done through the UI).
    r
    1 replies
    Copy to Clipboard
  • r

    Roey Brecher

    1 year ago
    Wondering if any current Prefect maintainer could chime in on this:https://prefect-community.slack.com/archives/CL09KU1K7/p1592313602391000
    r
    nicholas
    +1
    3 replies
    Copy to Clipboard
  • Joseph Haaga

    Joseph Haaga

    1 year ago
    Getting the following error when attempting to run my Flow
    Failed to load and execute Flow's environment: KeyError('my-flow-name')
    The Flow is uses DockerStorage, and I’ve got an image containing only this Flow; are there some
    prefect
    cli invocations I can do inside the container to debug this KeyError?
    Joseph Haaga
    nicholas
    9 replies
    Copy to Clipboard
  • Mike Marinaccio

    Mike Marinaccio

    1 year ago
    Hi All - I’m trying to debug an issue in my new Prefect prod environment. Basically, I’m able to start all prefect services just fine, including a local agent. Logs are humming along and everything looks to be communicating successfully. However, the UI states that no agents are querying for flow runs. Additionally, if I create a project or register flows from the backend, the UI shows no new project or registered flows, despite successful messaging in the console. I can create a project in the frontend, which persists, but no entry appears in the database. It seems that the UI isn’t reading from / writing to the postgres database at all, which I confirmed by querying the respective tables. TLDR: my Prefect UI is persisting data in GraphQL (must be, right?) but not reading / writing to postgres. My setup: • Single AWS EC2 instance • Prefect server backend • Prefect version 0.13.15 • Latest docker images, as of now (initialize via prefect server start, for now) Any advice on how I should continue my investigation would be greatly appreciated!
    Mike Marinaccio
    nicholas
    2 replies
    Copy to Clipboard
  • r

    Riley Hun

    1 year ago
    Hi all - I have a bit of an open-ended question, but would it be acceptable security-wise to store all our secrets into GoogleSecretManager and then have a prefect task read in the secrets and then pass in those secrets to subsequent tasks in the flow?
    r
    1 replies
    Copy to Clipboard
  • l

    Luke Orland

    1 year ago
    If I have an
    AWS_CREDENTIALS
    secret in Prefect Cloud, should S3Result and S3Download use those credentials automatically, unless I specify something different for the
    boto_kwargs
    argument?
    l
    Kyle Moon-Wright
    13 replies
    Copy to Clipboard