fastapi-mongo-base 0.9.6__tar.gz → 0.9.7__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.
- {fastapi_mongo_base-0.9.6/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-0.9.7}/PKG-INFO +1 -1
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/pyproject.toml +1 -1
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/app_factory.py +3 -1
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7/src/fastapi_mongo_base.egg-info}/PKG-INFO +1 -1
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/LICENSE.txt +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/README.md +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/setup.cfg +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/__init__.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/cached.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/__init__.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/config.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/db.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/enums.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/exceptions.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/middlewares.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/handlers.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/models.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/routes.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/schemas.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/tasks.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/__init__.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/aionetwork.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/basic.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/bsontools.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/imagetools.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/texttools.py +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/SOURCES.txt +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/dependency_links.txt +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/requires.txt +0 -0
- {fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/top_level.txt +0 -0
{fastapi_mongo_base-0.9.6/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-0.9.7}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fastapi-mongo-base
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.7
|
|
4
4
|
Summary: A simple boilerplate application, including models and schemas and abstract router, for FastAPI with MongoDB
|
|
5
5
|
Author-email: Mahdi Kiani <mahdikiany@gmail.com>
|
|
6
6
|
Maintainer-email: Mahdi Kiani <mahdikiany@gmail.com>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "fastapi-mongo-base"
|
|
7
|
-
version = "0.9.
|
|
7
|
+
version = "0.9.7"
|
|
8
8
|
description = "A simple boilerplate application, including models and schemas and abstract router, for FastAPI with MongoDB"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/app_factory.py
RENAMED
|
@@ -129,6 +129,7 @@ def create_app(
|
|
|
129
129
|
original_host_middleware: bool = False,
|
|
130
130
|
request_log_middleware: bool = False,
|
|
131
131
|
log_route: bool = False,
|
|
132
|
+
health_route: bool = True,
|
|
132
133
|
**kwargs,
|
|
133
134
|
) -> fastapi.FastAPI:
|
|
134
135
|
settings.config_logger()
|
|
@@ -179,7 +180,8 @@ def create_app(
|
|
|
179
180
|
|
|
180
181
|
return [line.decode("utf-8") for line in last_100_lines]
|
|
181
182
|
|
|
182
|
-
|
|
183
|
+
if health_route:
|
|
184
|
+
app.get(f"{base_path}/health")(health)
|
|
183
185
|
if log_route:
|
|
184
186
|
app.get(f"{base_path}/logs", include_in_schema=False)(logs)
|
|
185
187
|
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7/src/fastapi_mongo_base.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fastapi-mongo-base
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.7
|
|
4
4
|
Summary: A simple boilerplate application, including models and schemas and abstract router, for FastAPI with MongoDB
|
|
5
5
|
Author-email: Mahdi Kiani <mahdikiany@gmail.com>
|
|
6
6
|
Maintainer-email: Mahdi Kiani <mahdikiany@gmail.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/exceptions.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/core/middlewares.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/__init__.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/aionetwork.py
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/bsontools.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/imagetools.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base/utils/texttools.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/requires.txt
RENAMED
|
File without changes
|
{fastapi_mongo_base-0.9.6 → fastapi_mongo_base-0.9.7}/src/fastapi_mongo_base.egg-info/top_level.txt
RENAMED
|
File without changes
|