fastapi-mongo-base 1.0.2__tar.gz → 1.0.3__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.0.2/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-1.0.3}/PKG-INFO +1 -1
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/pyproject.toml +1 -1
- fastapi_mongo_base-1.0.3/src/fastapi_mongo_base/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/__pycache__/models.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/__pycache__/routes.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/__pycache__/schemas.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/__pycache__/tasks.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.3/src/fastapi_mongo_base/core/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__pycache__/app_factory.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__pycache__/config.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__pycache__/db.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__pycache__/exceptions.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.3/src/fastapi_mongo_base/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/__pycache__/basic.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/__pycache__/bsontools.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/__pycache__/timezone.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/usso_routes.py +3 -9
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3/src/fastapi_mongo_base.egg-info}/PKG-INFO +1 -1
- fastapi_mongo_base-1.0.3/tests/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/__pycache__/conftest.cpython-312-pytest-8.4.1.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/__pycache__/test_apis.cpython-312-pytest-8.4.1.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/__pycache__/test_app.cpython-312-pytest-8.4.1.pyc +0 -0
- fastapi_mongo_base-1.0.3/tests/app/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/__pycache__/server.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.2/src/fastapi_mongo_base/__pycache__/__init__.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.2/src/fastapi_mongo_base/core/__pycache__/__init__.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.2/src/fastapi_mongo_base/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.2/tests/__pycache__/__init__.cpython-312.pyc +0 -0
- fastapi_mongo_base-1.0.2/tests/app/__pycache__/__init__.cpython-312.pyc +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/LICENSE.txt +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/MANIFEST.in +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/README.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/boilerplate.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/changelog.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/contributing.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/endpoints.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/extra.css +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/index.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/installation.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/license.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/quickstart.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/settings.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/tutorial.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/docs/usage.md +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/mkdocs.yml +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/pytest.ini +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/setup.cfg +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/__init__.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__init__.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/app_factory.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/config.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/db.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/enums.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/exceptions.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/models.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/routes.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/schemas.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/sql.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/tasks.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/__init__.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/basic.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/bsontools.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/timezone.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/SOURCES.txt +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/dependency_links.txt +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/requires.txt +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/top_level.txt +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/__init__.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/__init__.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/logs/app.log +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/main.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/server.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/conftest.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/test_apis.py +0 -0
- {fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/test_app.py +0 -0
{fastapi_mongo_base-1.0.2/src/fastapi_mongo_base.egg-info → fastapi_mongo_base-1.0.3}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-mongo-base
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
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.0.
|
|
7
|
+
version = "1.0.3"
|
|
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"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/usso_routes.py
RENAMED
|
@@ -164,9 +164,7 @@ class AbstractTenantUSSORouter(AbstractBaseRouter):
|
|
|
164
164
|
await self.authorize(
|
|
165
165
|
action="read",
|
|
166
166
|
user=user,
|
|
167
|
-
filter_data=item.model_dump(
|
|
168
|
-
include={"uid", "tenant_id", "user_id", "workspace_id"}
|
|
169
|
-
),
|
|
167
|
+
filter_data=item.model_dump(),
|
|
170
168
|
)
|
|
171
169
|
return item
|
|
172
170
|
|
|
@@ -192,9 +190,7 @@ class AbstractTenantUSSORouter(AbstractBaseRouter):
|
|
|
192
190
|
await self.authorize(
|
|
193
191
|
action="update",
|
|
194
192
|
user=user,
|
|
195
|
-
filter_data=item.model_dump(
|
|
196
|
-
include={"uid", "tenant_id", "user_id", "workspace_id"}
|
|
197
|
-
),
|
|
193
|
+
filter_data=item.model_dump(),
|
|
198
194
|
)
|
|
199
195
|
item = await self.model.update_item(item, data)
|
|
200
196
|
return item
|
|
@@ -208,9 +204,7 @@ class AbstractTenantUSSORouter(AbstractBaseRouter):
|
|
|
208
204
|
await self.authorize(
|
|
209
205
|
action="delete",
|
|
210
206
|
user=user,
|
|
211
|
-
filter_data=item.model_dump(
|
|
212
|
-
include={"uid", "tenant_id", "user_id", "workspace_id"}
|
|
213
|
-
),
|
|
207
|
+
filter_data=item.model_dump(),
|
|
214
208
|
)
|
|
215
209
|
item = await self.model.delete_item(item)
|
|
216
210
|
return item
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3/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.0.
|
|
3
|
+
Version: 1.0.3
|
|
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>
|
|
Binary file
|
|
index a4f84b5..3cc722e 100644
|
|
|
Binary file
|
|
index aaa83f1..87a084d 100644
|
|
|
Binary file
|
|
index e297b9d..5934b14 100644
|
|
|
Binary file
|
|
Binary file
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/tests/app/__pycache__/server.cpython-312.pyc
RENAMED
|
index 3e86566..78359ae 100644
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/core/__init__.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/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.0.2 → fastapi_mongo_base-1.0.3}/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
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/bsontools.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base/utils/timezone.py
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/src/fastapi_mongo_base.egg-info/requires.txt
RENAMED
|
File without changes
|
{fastapi_mongo_base-1.0.2 → fastapi_mongo_base-1.0.3}/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
|