-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from mikenerone/mikenerone/fix-typecheck-priva…
…te-symbol-errors Fix: top-level imports not flagged as public for type checkers
- Loading branch information
Showing
1 changed file
with
15 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
"""Top-level package for greenback.""" | ||
|
||
from ._version import __version__ | ||
# Redundant symbol imports flag as public for type checkers | ||
from ._version import __version__ as __version__ | ||
from ._impl import ( | ||
ensure_portal, | ||
bestow_portal, | ||
has_portal, | ||
with_portal_run, | ||
with_portal_run_sync, | ||
with_portal_run_tree, | ||
await_, | ||
ensure_portal as ensure_portal, | ||
bestow_portal as bestow_portal, | ||
has_portal as has_portal, | ||
with_portal_run as with_portal_run, | ||
with_portal_run_sync as with_portal_run_sync, | ||
with_portal_run_tree as with_portal_run_tree, | ||
await_ as await_, | ||
) | ||
from ._util import ( | ||
autoawait as autoawait, | ||
decorate_as_sync as decorate_as_sync, | ||
async_context as async_context, | ||
async_iter as async_iter, | ||
) | ||
from ._util import autoawait, decorate_as_sync, async_context, async_iter |