https://prefect.io logo
Join Slack
Channels
ask-community
announcements
ask-marvin
best-practices
data-ecosystem
data-tricks-and-tips
events
feedback-deployment-concurrency
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
intros-test
livestream-chatter
marvin-ai
marvin-in-the-wild
pacc-apr-10-11-2024
pacc-apr-30-may-1-2024
pacc-apr-9-10-2025
pacc-aug-16-2023
pacc-aug-22-23-2023
pacc-aug-28-29-2024
pacc-aug-29-30-2023
pacc-clearcover-june-12-2023
pacc-dec-17-18-2024
pacc-feb-13-14-2024
pacc-feb-26-27-2025
pacc-jan-28-29-2025
pacc-july-11-12-2023
pacc-july-17-18-2023
pacc-july-30-31-2024
pacc-july-6-2023
pacc-june-14-2023
pacc-june-20-21-2024
pacc-london-2023
pacc-london-sept-2024
pacc-mar-12-13-2024
pacc-may-31-2023
pacc-nov-19-20-2024
pacc-nov-8-2023
pacc-nyc-may-2024
pacc-oct-11-12-2023
pacc-oct-1-2-2024
pacc-oct-16-17-2024
pacc-sept-13-14-2023
pacc-sept-20-21-2023
pacc-sept-26-27-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-contributors-archived
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-and-tell
Powered by
# pacc-oct-16-17-2024
  • j

    Jeff Hale

    10/16/2024, 2:59 PM
    Getting back together momentarily. 🙂
  • s

    Shimita Rudra

    10/16/2024, 3:04 PM
    Is there something presented on screen?
    j
    j
    b
    • 4
    • 6
  • j

    Jeff Hale

    10/16/2024, 3:23 PM
    We’ll chat about ControlFlow tomorrow in our Bonus section if folks are interested. 🤖
    🙌 1
  • j

    Jeff Hale

    10/16/2024, 3:40 PM
    103 Lab: • In the UI, make a Slack notification automation for a flow run completion ◦ ❗️use an Email block type • Check out the event feed in the UI • Create a Markdown artifact that prints a weather forecast in a nicely formatted table • Stretch 1: Create a flow that contains a task that takes advantage of caching
    wizard2 1
    prefect rocket 1
  • b

    Bianca Hoch

    10/16/2024, 3:52 PM
    Accessing third party secrets (just in case) 🫢
    • 1
    • 2
  • b

    Bianca Hoch

    10/16/2024, 3:54 PM
    Datalake example which uses event triggers and S3
    • 1
    • 2
  • j

    Jeff Hale

    10/16/2024, 4:01 PM
    Thank you all! See you tomorrow at the same zoom channel and time.
    gratitude thank you 2
    👋 6
    🙏 2
  • j

    Jeff Hale

    10/16/2024, 9:49 PM
    🎥 Day 1 Recording: https://us06web.zoom.us/rec/share/q1VX6iuO6pAIzjpIjGM0yzpd77fPMMJpcFc9yfh5llRkfQN2jyHX3SLo-i3EozKH.948ix3nduf1Fp-4u Passcode: Rm9*67.1
  • j

    Jeff Hale

    10/17/2024, 1:01 PM
    What’s one thing you learned yesterday? (thread)
    m
    s
    +3
    • 6
    • 6
  • j

    Jeff Hale

    10/17/2024, 1:01 PM
    What’s the one thing that’s the most fuzzy in your understanding? (thread)
    p
    m
    +2
    • 5
    • 10
  • j

    Jeff Hale

    10/17/2024, 1:04 PM
    Day 2 slides:
    Day 2 PACC Oct 16-17 2024.pdf
  • j

    Jeff Hale

    10/17/2024, 1:32 PM
    104 lab: • Create a deployment with .deploy() that uses a Process work pool to run any flow you created • Create a Process work pool from the UI • Create a deployment that references flow code stored in your own GitHub repository • Use your earlier fetch weather flow if you like • ❗️Push your code to your GitHub repo manually • Start a worker to pick up scheduled flow runs • Run it! 🚀 • Stretch 1: Pause and resume the work pool from the UI. Stretch 2: Experiment with adjusting fields in a work pool base job template. Stretch 3: If you have Docker installed: Create a deployment where you bake your flow code into a Docker image with .deploy(). • Don’t push the image to a repository (or log in + push to DockerHub). Don’t forget to: • Start Docker on your machine • Create a Docker work pool
  • j

    Jeff Hale

    10/17/2024, 1:52 PM
    We’ll get back together at 10am ET. Feel free to take a ☕️ break prior.
  • b

    Bianca Hoch

    10/17/2024, 1:55 PM
    Worker flags and options 🧵
    • 1
    • 2
  • p

    Peter T

    10/17/2024, 2:14 PM
    When using
    run_deployment
    , does the parent flow fail when the sub-flow fails?
  • s

    Sunny Pachunuri

    10/17/2024, 2:27 PM
    Man. Didn't know too much about event based stuff until today. This opens up so many oppurtunities to make it more real time runs. This is awesome. Currenlty we are running so many jobs based on schedule which I don't like this will open up a lot to run much more event based and real time
    sonic 4
    a
    • 2
    • 2
  • j

    Jeff Hale

    10/17/2024, 2:36 PM
    Lab 105 instructions: • Create a deployment with subflows. • Create a flow that uses _run_deployment_ to run another deployment. • Stretch 1: Create a custom event in Python that triggers a notification action in an automation. • Stretch 2: Create a webhook. Create an automation that pauses work when the webhook fires.
    🚀 1
    blob attention gif 1
  • j

    Jeff Hale

    10/17/2024, 3:05 PM
    To enable the new flow run page. Click on My Profile under the drop down on the top left in the UI. Then select Feature Previews and toggle it on.
    🙏 1
  • j

    Jeff Hale

    10/17/2024, 3:22 PM
    106 lab instructions: • Create an interactive workflow that pauses a flow run for input from a user. • Create a variable in the UI or with code. Use the variable in your code. • Stretch 1: Use a compound trigger in an automation. • Stretch 2: Use a metric trigger in an automation. • Bonus: create and resolve an incident (if available).
    marvin 1
    wizard2 1
  • j

    Jeff Hale

    10/17/2024, 3:40 PM
    If calling
    run_deployment
    from a flow: 1. The nested flow is visible in the parent flow in the UI. 2. If a bad parameter is passed to the nested flow, then the parent flow fails. 3. If an exception is raised in the nested flow so that the nested flow fails, the nested flow shows as failed in the UI, but the parent flow shows as completed.
  • j

    Jeff Hale

    10/17/2024, 3:41 PM
    Pulling folks back momentarily.
  • j

    Jeff Hale

    10/17/2024, 3:44 PM
    Variables https://docs-3.prefect.io/3.0/develop/variables#set-and-get-variables
  • j

    Jeff Hale

    10/17/2024, 3:44 PM
    Copy code
    from prefect.variables import Variable
    Variable.get("answer")
    s
    • 2
    • 9
  • j

    Jeff Hale

    10/17/2024, 3:53 PM
    Thank you for all your hard work and focus in this course! Please take a few minutes to fill out this feedback form let us know what went well and what we could improve for future courses. https://forms.gle/Yk83s6kjG7yeBUQw9
    blob attention gif 1
    👍 1
    prefect spin 1
  • j

    Jeff Hale

    10/17/2024, 3:53 PM
    Talk through your use case with a Prefect Engineer: https://calendly.com/prefect-experts/prefect-product-advocates
    blob attention gif 1
    ☎️ 1
    🙌 1
  • j

    Jeff Hale

    10/17/2024, 3:53 PM
    https://www.linkedin.com/in/-jeffhale/
  • j

    Jeff Hale

    10/18/2024, 7:06 PM
    There was a question on Wednesday about capturing events. Got a code snippet in the 🧵
    m
    • 2
    • 6
  • m

    MikeT

    10/28/2024, 9:39 PM
    Will you be posting the video if Day 2? Or did I miss that link somewhere?
    j
    • 2
    • 2
  • j

    Jeff Hale

    10/28/2024, 10:31 PM
    🎥 Day 2 Recording link: https://us06web.zoom.us/rec/share/Mw3Rj9_YUZdh3L7QE5LXGSwzm7iIp52Z-8tAwSem4e41yLFLP0GfqTWJKYWg9LIL.Ng3DJ18etKhaCYER?startTime=1729169634000 Passcode: $wiP0j!3
  • j

    Jeff Hale

    11/26/2024, 7:01 PM
    archived the channel