~/talk

Supercharge your Python code with Blocks

Talkat PyData NYC 2022 · 2022-11-09..11-11· [developer-experience, python]
name:Jeff Hale
speakerdeck:discdiver
slides:none on file

Prefect blocks store reusable configuration as Python objects that are create via GUI or Python, expose code snippets for consumption, and persist on a server (default SQLite, Postgres or Prefect Cloud). Secrets are encrypted at rest and values are obfuscated in the UI. Built-in blocks include AWS S3 block for remote code and notification blocks (Slack, email, webhooks); custom blocks subclass a base class and register via the CLI. Adoption is real — Prefect reports two billion task runs and production usage across deployments.

AI-written summary · about

  1. 0:00Python Blocks intro
  2. 1:51What are Prefect Blocks
  3. 2:54Blocks benefits
  4. 3:58Where Blocks stored
  5. 4:41Blocks as connectors
  6. 5:22Creating Prefect Blocks
  7. 7:26Secure config sharing
  8. 9:34Blocks history
  9. 12:03Python and Streamlit
  10. 13:50Prefect origins
  11. 14:55Built-in Block types
  12. 16:42AWS S3 Block
  13. 17:25Notification Blocks
  14. 18:29Extending with libraries
  15. 19:11Custom Blocks creation
  16. 20:14CLI for Blocks
  17. 20:56Blocks in practice
  18. 21:58Blocks in Prefect
  19. 22:39Reuse and sharing
  20. 23:00Why Prefect for flows
  21. 24:45Adopting Prefect
  22. 25:49Notifications and retries
  23. 26:11Prefect Cloud overview
  24. 27:12Blocks as multipliers
  25. 28:37When to use Blocks
  26. 29:40Q&A: Expiration & deps
  27. 31:45Real-world Block uses
  28. 33:53Why call them Blocks
  29. 35:17Q&A: Block limits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.