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-11-12-2023
  • b

    Bianca Hoch

    10/11/2023, 1:38 PM
    Lab norms for breakout rooms 1. 🙂 Introduce yourselves 2. 🎥 Camera on (if possible) 3. 💻 One person shares screen (if you need to leave and come back to Zoom to enable screen sharing, do that now) 4. 🧑‍💻 Everyone codes 5. 🙋 Each person talks 6. 📝 Share code in Slack thread - learn from other groups 7. 😌 Low-pressure, welcoming environment: lean in
  • b

    Bianca Hoch

    10/11/2023, 1:39 PM
    101 Lab 🧑‍🔬 👩‍🔬 Use Open-Meteo API • Authenticate your CLI to Prefect Cloud • Fine to use a personal account or a workspace • Write flow code that fetches other weather metrics • Make at least 3 tasks • Use .serve() method to deploy your flow • Run your flow from the UI and CLI • Example: windspeed for the last hour: _weather.json()["hourly"]["windspeed_10m"][0]_ • Docs: open-meteo.com/en/docs
  • b

    Bianca Hoch

    10/11/2023, 1:53 PM
    Post your code for the 101 Lab in this thread 🙌 🧵
    l
    • 2
    • 1
  • e

    Emil Christensen

    10/11/2023, 1:55 PM
    FYI - if you’re on Windows and having trouble with
    prefect cloud login
    try
    pip install python-certifi-win32
  • c

    Carlos Chamorro

    10/11/2023, 2:04 PM
    is this error happening to anyone??:
    Copy code
    ImportError: libffi.so.7: cannot open shared object file: No such file or directory
    thread '<unnamed>' panicked at 'Python API call failed', /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.18.3/src/err/mod.rs:790:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    Traceback (most recent call last):
      File "/home/carlos/prefect_flow.py", line 11, in <module>
        function_1()
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/flows.py", line 873, in __call__
        return enter_flow_run_engine_from_flow_call(
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/engine.py", line 271, in enter_flow_run_engine_from_flow_call
        retval = from_sync.wait_for_call_in_loop_thread(
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/_internal/concurrency/api.py", line 243, in wait_for_call_in_loop_thread
        return call.result()
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/_internal/concurrency/calls.py", line 282, in result
        return self.future.result(timeout=timeout)
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/_internal/concurrency/calls.py", line 168, in result
        return self.__get_result()
      File "/home/carlos/miniconda3/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
        raise self._exception
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/_internal/concurrency/calls.py", line 345, in _run_async
        result = await coro
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/client/utilities.py", line 44, in with_injected_client
        client_context = get_client()
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/client/orchestration.py", line 157, in get_client
        return PrefectClient(
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/client/orchestration.py", line 206, in __init__
        from prefect.server.api.server import SERVER_API_VERSION
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/__init__.py", line 1, in <module>
        from . import models, orchestration, schemas, services
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/models/__init__.py", line 1, in <module>
        from . import (
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/models/agents.py", line 13, in <module>
        from prefect.server.database.dependencies import inject_db
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/database/dependencies.py", line 14, in <module>
        from prefect.server.database.interface import PrefectDBInterface
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/database/interface.py", line 8, in <module>
        from prefect.server.database.orm_models import BaseORMConfiguration
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/database/orm_models.py", line 31, in <module>
        from prefect.server.utilities.encryption import decrypt_fernet, encrypt_fernet
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/prefect/server/utilities/encryption.py", line 7, in <module>
        from cryptography.fernet import Fernet
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/cryptography/fernet.py", line 14, in <module>
        from cryptography.exceptions import InvalidSignature
      File "/home/carlos/miniconda3/lib/python3.9/site-packages/cryptography/exceptions.py", line 9, in <module>
        from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
    pyo3_runtime.PanicException: Python API call failed
    👀 1
    k
    e
    • 3
    • 9
  • b

    Bianca Hoch

    10/11/2023, 2:32 PM
    Lab 102 🧑‍🔬 👩‍🔬 • Use your flow that grabs weather data from open-meteo • Add retries • Run your flow • Inspect in the UI • Stretch: create an artifact • Stretch: add caching
    🙌 2
  • b

    Bianca Hoch

    10/11/2023, 2:45 PM
    Post your code for the 102 Lab in this thread 🙌 🧵
    b
    • 2
    • 1
  • s

    Sahil Rangwala

    10/11/2023, 2:52 PM
    Bringing in everyone in 4 min!
  • b

    Bianca Hoch

    10/11/2023, 3:14 PM
    103 Lab 🧑‍🔬 👩‍🔬 • Make an email notification automation for any flow run completion • Run a flow a few times from the CLI • See the event feed in the UI • Stretch: create a custom event - run it and see the event in the UI
    🙌 1
  • e

    Emil Christensen

    10/11/2023, 3:14 PM
    @Luis Martínez - more on live reloading in this 🧵
    🙌 1
    l
    • 2
    • 3
  • b

    Bianca Hoch

    10/11/2023, 3:38 PM
    Looking forward to seeing you all tomorrow, great job today!
  • e

    Emil Christensen

    10/11/2023, 6:26 PM
    Hey y’all 👋 recording from day 1 is in this thread 🧵
    • 1
    • 1
  • e

    Emil Christensen

    10/12/2023, 12:59 PM
    Slides for day 2
    PACC Slides 2023-10-12.pdf
  • e

    Emil Christensen

    10/12/2023, 1:22 PM
    Lab 104 Instructions 🧑‍🔬 👩‍🔬 > Use a flow from the 103 lab > • Make a deployment via interactive CLI commands > • Start a worker > • Run the deployment > • See the flow run logs in the UI > • Stretch: Create a deployment that has default parameters & override the default parameters at runtime
  • e

    Emil Christensen

    10/12/2023, 1:22 PM
    Lab norms for breakout rooms 1. 🙂 Introduce yourselves 2. 🎥 Camera on (if possible) 3. 💻 One person shares screen (if you need to leave and come back to Zoom to enable screen sharing, do that now) 4. 🧑‍💻 Everyone codes 5. 🙋 Each person talks 6. 📝 Share code in Slack thread - learn from other groups 7. 😌 Low-pressure, welcoming environment: lean in
  • b

    Bianca Hoch

    10/12/2023, 1:23 PM
    Repost of resources: PACC 2023 GitHub repo G where you'll find code examples for each of the modules during this course. 📓 ✍️ Prefect Docs marvin duck
  • s

    Sahil Rangwala

    10/12/2023, 1:45 PM
    Bringing everyone in 2 min!
  • b

    Bianca Hoch

    10/12/2023, 2:17 PM
    1-5 Lab 👩‍🔬 🧑‍🔬
    • Create a deployment that uses a subflow.
    • Use GitHub or other git-repo-based code storage.
    ◦ Don’t forget to push your code!
    • Check out the prefect.yaml file.
    • Add a cron schedule.
    • Pause the schedule.
    • Stretch: Create a second deployment that uses _run_deployment_
    • Super stretch: Create a webhook and automation that runs a deployment in response to an event firing
  • b

    Bianca Hoch

    10/12/2023, 2:19 PM
    Workflow Design Patterns 🎨
  • b

    Bianca Hoch

    10/12/2023, 2:20 PM
    Beyond Scheduling: Event-Driven Flows with Prefect 🎊
  • s

    Sahil Rangwala

    10/12/2023, 2:39 PM
    Bringing everyone in 2 min!
  • b

    Bianca Hoch

    10/12/2023, 2:42 PM
    Post your code for the 105 Lab in this thread 🙌 🧵
  • s

    Sahil Rangwala

    10/12/2023, 3:04 PM
    Question follow ups thread 🧵:
    b
    • 2
    • 3
  • e

    Emil Christensen

    10/12/2023, 3:14 PM
    📣 Please fill out the feedback form 📣
    upvote 1
    🚀 1
  • b

    Bianca Hoch

    10/12/2023, 3:16 PM
    Rubber Duck with an Engineer marvin duck
  • e

    Emil Christensen

    10/12/2023, 3:21 PM
    @Lily Grier - FYI, I filed this issue to fix the behavior you were seeing.
    🙌 1
  • e

    Emil Christensen

    10/12/2023, 7:55 PM
    Here’s the recording from today 🧵
    🙌 2
    • 1
    • 1
  • l

    Luis Martínez

    10/16/2023, 6:01 PM
    Hey prefect team. I just got my accredible badge! thank you very much. But I have a problem, is there anyone that could help me?
    ✅ 1
    j
    • 2
    • 3
  • j

    Jeff Hale

    10/16/2023, 7:26 PM
    Hey all! 👋 Way to rock it! 🎸 If you attended PACC you should have received your certification via email from Accredible. Please DM me if you have any issues. Thank you for everyone who filled out the brief feedback form. If you haven’t yet, please take two minutes to let us know what went well and what could be improved. 🦜
  • j

    Jeff Hale

    11/14/2023, 9:07 PM
    archived the channel