-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[typing] clean up prefect __init__.py
- Provide more typing details for version info and the local module spec. - A module `__getattr__` is never called for globals, so the `_slots` structure was redundant. - Minimise what code is run in the `try: ... except:` block. - For Python 3.10 and up, include more context in the AttributeError.
- Loading branch information
Showing
1 changed file
with
60 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters