square_common_bl 7.3.0__tar.gz → 7.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/PKG-INFO +1 -1
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/pyproject.toml +1 -1
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/main.py +2 -1
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/authentication.py +4 -1
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/README.md +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/__init__.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/configuration.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/data/config.sample.ini +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/data/config.testing.sample.ini +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/messages.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/__init__.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/greeting.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/internal.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/routes/__init__.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/routes/authentication.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/routes/greeting.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/routes/internal.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/__init__.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/routes/__init__.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/routes/authentication.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/routes/greeting.py +0 -0
- {square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/routes/internal.py +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import os.path
|
|
2
|
+
from importlib.metadata import version
|
|
2
3
|
|
|
3
4
|
from fastapi import FastAPI, status
|
|
4
5
|
from fastapi.middleware.cors import CORSMiddleware
|
|
@@ -17,7 +18,7 @@ from square_common_bl.configuration import (
|
|
|
17
18
|
)
|
|
18
19
|
from square_common_bl.routes import greeting, internal, authentication
|
|
19
20
|
|
|
20
|
-
app = FastAPI()
|
|
21
|
+
app = FastAPI(title=config_str_module_name, version=version(config_str_module_name))
|
|
21
22
|
|
|
22
23
|
app.add_middleware(
|
|
23
24
|
CORSMiddleware,
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/authentication.py
RENAMED
|
@@ -149,8 +149,11 @@ class UpdateUserRecoveryMethodsV0Response(BaseModel):
|
|
|
149
149
|
main: List[str]
|
|
150
150
|
|
|
151
151
|
|
|
152
|
+
class AddSelfAuthProviderV0ResponseMain(BaseModel):
|
|
153
|
+
auth_providers: List[str]
|
|
154
|
+
|
|
152
155
|
class AddSelfAuthProviderV0Response(BaseModel):
|
|
153
|
-
main:
|
|
156
|
+
main: AddSelfAuthProviderV0ResponseMain
|
|
154
157
|
|
|
155
158
|
|
|
156
159
|
class AddGoogleAuthProviderV0Response(BaseModel):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/data/config.testing.sample.ini
RENAMED
|
File without changes
|
|
File without changes
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/__init__.py
RENAMED
|
File without changes
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/greeting.py
RENAMED
|
File without changes
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/pydantic_models/internal.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{square_common_bl-7.3.0 → square_common_bl-7.3.2}/square_common_bl/utils/routes/authentication.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|