Skip to content

Commit

Permalink
Merge pull request #23 from mikenerone/mikenerone/fix-typecheck-priva…
Browse files Browse the repository at this point in the history
…te-symbol-errors

Fix: top-level imports not flagged as public for type checkers
  • Loading branch information
oremanj authored Dec 29, 2023
2 parents 7ca391f + b51d10e commit 573c247
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions greenback/__init__.py
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

0 comments on commit 573c247

Please sign in to comment.