Skip to content

type_all_the_things: bool = True

Latest
Compare
Choose a tag to compare
@desertaxle desertaxle released this 17 Jan 17:04
· 2 commits to main since this release
16e85ce

We're thrilled to announce a major milestone: prefect is now 100% type complete! 🎉 Every public interface in the library now includes comprehensive type annotations, bringing significant improvements to the developer experience. This means you'll enjoy:

  • Enhanced autocompletion in your IDE, helping you write code faster and with fewer errors
  • Robust static analysis through tools like mypy and pyright, catching potential issues before runtime
  • Clear, unambiguous type signatures that serve as living documentation for the entire codebase

This achievement represents our commitment to building a more maintainable, reliable, and developer-friendly Python library.

Enhancements ➕➕

Bug Fixes 🐞

  • Fix SendgridEmail code example by @jakekaplan in #16677
  • Fix connection string handling when individual components are provided via settings by @desertaxle in #16680
  • Handles the instrumentation case where a future is only used to wait_for by @chrisguidry in #16709
  • Fix bug where a server can't be stopped and restarted without waiting several seconds by @desertaxle in #15729
  • Fixes to Prefect Basic Auth by @cicdw in #16735
  • Switch drain_all call to be called from new thread instead of global loop thread by @jeanluciano in #16739
  • Ensures that QueueService instances are unique within types by @chrisguidry in #16751

Integrations & Dependencies 🤝

Development & Tidiness 🧹

Documentation 📓

New Contributors

Full Changelog: 3.1.12...3.1.13