fastapi-mongo-base 1.3.6__tar.gz → 1.3.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-1.3.6/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-1.3.7}/PKG-INFO +1 -1
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/pyproject.toml +1 -1
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/usso_routes.py +3 -3
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7/src/fastapi_mongo_base.egg-info}/PKG-INFO +1 -1
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/LICENSE.txt +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/MANIFEST.in +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/README.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/boilerplate.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/changelog.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/contributing.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/endpoints.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/extra.css +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/index.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/installation.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/license.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/quickstart.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/settings.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/tutorial.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/docs/usage.md +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/mkdocs.yml +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/pytest.ini +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/setup.cfg +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/__init__.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/__init__.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/app_factory.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/config.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/db.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/enums.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/error_responses.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/errors/mongodb_errors.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/errors/resource_errors.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/exceptions.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/models.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/py.typed +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/routes.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/schemas.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/sql.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/tasks.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/__init__.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/basic.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/bsontools.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/timezone.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/SOURCES.txt +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/dependency_links.txt +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/requires.txt +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/top_level.txt +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/__init__.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/app/__init__.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/app/logs/app.log +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/app/main.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/app/server.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/conftest.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/test_apis.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/test_app.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/test_mongodb_errors.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/test_openapi_errors.py +0 -0
- {fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/tests/test_resource_errors.py +0 -0
{fastapi_mongo_base-1.3.6/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-1.3.7}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-mongo-base
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.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 = "1.3.
|
|
7
|
+
version = "1.3.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.10"
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/usso_routes.py
RENAMED
|
@@ -188,7 +188,7 @@ class AbstractUSSORouterBase(AbstractBaseRouter):
|
|
|
188
188
|
if item is None:
|
|
189
189
|
raise exceptions.BaseHTTPException(
|
|
190
190
|
status_code=404,
|
|
191
|
-
|
|
191
|
+
error_code="item_not_found",
|
|
192
192
|
message={
|
|
193
193
|
"en": f"{self.model.__name__.capitalize()} not found"
|
|
194
194
|
},
|
|
@@ -223,7 +223,7 @@ class AbstractUSSORouterBase(AbstractBaseRouter):
|
|
|
223
223
|
if filters.get("__deny__"):
|
|
224
224
|
raise exceptions.BaseHTTPException(
|
|
225
225
|
status_code=403,
|
|
226
|
-
|
|
226
|
+
error_code="forbidden",
|
|
227
227
|
message={
|
|
228
228
|
"en": "You are not authorized to access this resource"
|
|
229
229
|
},
|
|
@@ -448,7 +448,7 @@ class AbstractOwnedUSSORouter(AbstractUSSORouterBase):
|
|
|
448
448
|
):
|
|
449
449
|
raise exceptions.BaseHTTPException(
|
|
450
450
|
status_code=400,
|
|
451
|
-
|
|
451
|
+
error_code="workspace_required",
|
|
452
452
|
message={
|
|
453
453
|
"en": "User must belong to a workspace for this resource"
|
|
454
454
|
},
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7/src/fastapi_mongo_base.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-mongo-base
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/__init__.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/app_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/error_responses.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/core/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/bsontools.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base/utils/timezone.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/requires.txt
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.3.6 → fastapi_mongo_base-1.3.7}/src/fastapi_mongo_base.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|