feat: export StackServerApp and AsyncStackServerApp from package root

- Add top-level imports so users can write: from stack_auth import StackServerApp
- Remove outdated comment about Phase 3 adding facades
This commit is contained in:
Ejiro Asiuwhu
2026-03-25 01:07:48 +01:00
parent fd3a816700
commit 7eb0c25dc6
@@ -1,5 +1,6 @@
"""Stack Auth Python SDK."""
from stack_auth._app import AsyncStackServerApp, StackServerApp
from stack_auth._auth import (
AuthState,
TokenPartialUser,
@@ -51,12 +52,10 @@ from stack_auth.models import (
UserApiKeyFirstView,
)
# NOTE: SyncAPIClient and AsyncAPIClient are intentionally NOT exported here.
# They are internal transport classes in _client.py.
# Phase 3 will add the public StackServerApp and AsyncStackServerApp facades.
__all__ = [
"__version__",
"StackServerApp",
"AsyncStackServerApp",
"PaginatedResult",
# Errors
"StackAuthError",