~/talk

Creating extensible workflows with off-label use of Python

Talkat PyCon US 2021 · 2021-05-14..05-15· [developer-experience, python]
links:none on file
slides:none on file

Claims that Python type annotations drive static rule graphs, that async/await coroutines yield runtime dependencies via get and multi‑get for parallelism, and that frozen dataclasses provide stable fingerprints so caching and remote execution work. The runtime event loop lives in a Rust engine while task logic stays in Python, and this combination powers the Pants workflow API, delivering fine‑grained tasks, concurrency, reproducible caching, and easy extensibility.

AI-written summary · about

  1. 0:00Intro
  2. 0:51About me
  3. 1:21What is a workflow?
  4. 2:16Workflows show up all over the place
  5. 2:31Example: Processing Uploaded Images
  6. 4:27Workflow is defined by a task graph
  7. 5:25Workflow system design
  8. 6:46Workflow for software builds
  9. 9:08Design goals
  10. 11:16Task API design challenges
  11. 12:05Python to the rescue!
  12. 14:25Building the rule graph
  13. 15:04Static validation
  14. 17:07Type annotations provide
  15. 18:20Why coroutines?
  16. 19:58Coroutines are powerful
  17. 20:39Coroutines can express concurrency
  18. 21:22Coroutines help avoid side effects
  19. 22:49Coroutines provide natural control points for
  20. 24:41Summary
~/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.