generated from br3ndonland/template-python
-
Notifications
You must be signed in to change notification settings - Fork 18
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 #33 from br3ndonland/__all__
Add __all__ with public names
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"""inboard | ||
Docker images and utilities to power your Python APIs and help you ship faster. | ||
https://github.com/br3ndonland/inboard | ||
""" | ||
try: | ||
# FastAPI and Starlette are optional dependencies | ||
from .app.utilities_fastapi import basic_auth as fastapi_basic_auth | ||
from .app.utilities_starlette import BasicAuth as StarletteBasicAuth | ||
except ImportError: # pragma: no cover | ||
# ImportError exceptions will be raised if optional dependencies are not installed | ||
pass | ||
from .logging_conf import LOGGING_CONFIG, configure_logging | ||
|
||
__all__ = ( | ||
"LOGGING_CONFIG", | ||
"StarletteBasicAuth", | ||
"configure_logging", | ||
"fastapi_basic_auth", | ||
) |