fast-clean 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
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.
- fast_clean/__init__.py +1 -1
- fast_clean/depends.py +1 -1
- fast_clean/repositories/storage/reader.py +1 -1
- fast_clean/settings.py +1 -1
- {fast_clean-0.1.1.dist-info → fast_clean-0.1.3.dist-info}/METADATA +5 -4
- {fast_clean-0.1.1.dist-info → fast_clean-0.1.3.dist-info}/RECORD +8 -8
- {fast_clean-0.1.1.dist-info → fast_clean-0.1.3.dist-info}/WHEEL +0 -0
- {fast_clean-0.1.1.dist-info → fast_clean-0.1.3.dist-info}/top_level.txt +0 -0
fast_clean/__init__.py
CHANGED
fast_clean/depends.py
CHANGED
@@ -171,7 +171,7 @@ async def get_storage_repository(
|
|
171
171
|
StorageTypeEnum.S3,
|
172
172
|
S3StorageParamsSchema.model_validate(storage_settings.s3.model_dump()),
|
173
173
|
)
|
174
|
-
elif storage_settings.provider == 'local'
|
174
|
+
elif storage_settings.provider == 'local':
|
175
175
|
return await storage_repository_factory.make(
|
176
176
|
StorageTypeEnum.LOCAL, LocalStorageParamsSchema(path=storage_settings.dir)
|
177
177
|
)
|
fast_clean/settings.py
CHANGED
@@ -126,7 +126,7 @@ class CoreKafkaSettingsSchema(BaseModel):
|
|
126
126
|
case 'SASL':
|
127
127
|
for field in ('broker_username', 'broker_password'):
|
128
128
|
assert bool(getattr(self, field)), f'{field} must be set when credentials={self.credentials}'
|
129
|
-
case
|
129
|
+
case _:
|
130
130
|
...
|
131
131
|
return self
|
132
132
|
|
@@ -1,7 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: fast-clean
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: FastAPI Clean Architecture implementation
|
5
|
+
Author-email: Luferov Victor <luferovvs@yandex.ru>, Orlov Artem <squakrazv@yandex.ru>
|
5
6
|
Requires-Python: >=3.12
|
6
7
|
Description-Content-Type: text/markdown
|
7
8
|
Requires-Dist: aiofiles>=24.1.0
|
@@ -31,7 +32,7 @@ FastAPI clean architecture implementation
|
|
31
32
|
## Contribution
|
32
33
|
|
33
34
|
```
|
34
|
-
git clone
|
35
|
-
uv sync
|
36
|
-
pre-commit install
|
35
|
+
git clone git@github.com:Luferov/fast-clean.git
|
36
|
+
uv sync --all-extras --dev
|
37
|
+
uv run pre-commit install
|
37
38
|
```
|
@@ -1,15 +1,15 @@
|
|
1
|
-
fast_clean/__init__.py,sha256=
|
1
|
+
fast_clean/__init__.py,sha256=sT4tb75t5PXws8W_7wpA0jNtNxkWPFLAMrPlDGS7RHw,51
|
2
2
|
fast_clean/broker.py,sha256=CHnL4Jd6jF5gKgtUXi33j9QFG2EUM4uqhVqdLuxIrZs,4474
|
3
3
|
fast_clean/container.py,sha256=i7ZLZY_UN6ohGn-PT3RgAkzRPza3-DWRfgRdoaeMBWU,9562
|
4
4
|
fast_clean/db.py,sha256=d03D9cYHpq8iQ7ErAwZYggLhITmxD5feSr071kv0_x0,5507
|
5
|
-
fast_clean/depends.py,sha256=
|
5
|
+
fast_clean/depends.py,sha256=94mIIfXoY7X_lm0xrcd15QjrGkyr_QLF0Om5byJNuJ0,8824
|
6
6
|
fast_clean/enums.py,sha256=lPhC_2_r6YFby7Mq-9u_JSiuyZ0e57F2VxBfUwnBZ18,826
|
7
7
|
fast_clean/exceptions.py,sha256=Sp-k-a5z1Gedu0slzj1-rORnr4GP1FXDHKCKRaJq-7o,9485
|
8
8
|
fast_clean/loggers.py,sha256=hVvZSDMMxYnK-p_yyjd4R7SyHpmxQF3eKQEeMu9Q-jo,705
|
9
9
|
fast_clean/middleware.py,sha256=7iaA39ug85oOtSdQP8T3u8cX4KAAvDlfAlUg43_riR0,461
|
10
10
|
fast_clean/models.py,sha256=qnNUSwLf0gOW8C98PMIs6vTw7UP3-Nk-k6YoFvHstVM,880
|
11
11
|
fast_clean/redis.py,sha256=H_SLnDhY_ute8pYHdhIypUGlCwMcVfFA4S2j8vLUph0,578
|
12
|
-
fast_clean/settings.py,sha256=
|
12
|
+
fast_clean/settings.py,sha256=qUZb5gsTQDwYgqtlg7jGGcvO-xBHcGeKjpZ30C53jDs,4693
|
13
13
|
fast_clean/use_cases.py,sha256=XzRqnS3LOkaadbL50-E9f7q3Bi5Yz4AOCHKh82AH0Mg,1384
|
14
14
|
fast_clean/contrib/__init__.py,sha256=AcFNyhc0QGsOnYvzQGanDN3QIAsKpn4d8RIj73F-sGc,63
|
15
15
|
fast_clean/contrib/healthcheck/__init__.py,sha256=p8hUCLdv2qGngTwAeTGIV4h_ZGDm9ZNWMrA5_k3Yi0E,106
|
@@ -30,7 +30,7 @@ fast_clean/repositories/settings/type_vars.py,sha256=_Oe8x4JwwrN9WOVjLA05BN6gv7c
|
|
30
30
|
fast_clean/repositories/storage/__init__.py,sha256=mP_2NTx_Ec19WCmxecJsbjvNjhy8Oj8001lJC-BTGB8,3582
|
31
31
|
fast_clean/repositories/storage/enums.py,sha256=bS4L63aEXNaGnJql8A1jmsK4KY916cWnzTW5p_PyLmg,375
|
32
32
|
fast_clean/repositories/storage/local.py,sha256=s5REPU7xczvzin13sKyZtFdiocrgAMk8bnDIbJ90KT4,4270
|
33
|
-
fast_clean/repositories/storage/reader.py,sha256=
|
33
|
+
fast_clean/repositories/storage/reader.py,sha256=yAxj51ITWJf0u-KGC3DJ0iTB3pDI1p9ixi_h0ZcWoZ4,3299
|
34
34
|
fast_clean/repositories/storage/s3.py,sha256=GcJ0qo6RgMSCIOKdafSwH4kz1YHc_2cOYuvgxT81yvI,4302
|
35
35
|
fast_clean/repositories/storage/schemas.py,sha256=etlogfK_1uUZPQjHWQN6LWy6-8YY2Sago3Zbf6p0KcQ,623
|
36
36
|
fast_clean/schemas/__init__.py,sha256=u7U2j-QURCEIL_Gg3cQyp3oCbsT497lD3X54nqWDfzQ,1361
|
@@ -58,7 +58,7 @@ fast_clean/utils/thread.py,sha256=ChEWBLupnSEMq4Wro_aiW0QvCLUKedKc0TQFMu7Zg4g,56
|
|
58
58
|
fast_clean/utils/time.py,sha256=nvavbtG4zR_gkrGSbsqKAsBdePxO3LuTeoISbFZIgn0,307
|
59
59
|
fast_clean/utils/type_converters.py,sha256=bMEJeoQB9Q6Qok1-ppn4Ii8ZpIkZwJbD2IzCydSStHw,523
|
60
60
|
fast_clean/utils/typer.py,sha256=1O7BsNGn68bBzNbj0-Ycfhv35WpLzwvYTKn510YNXQQ,663
|
61
|
-
fast_clean-0.1.
|
62
|
-
fast_clean-0.1.
|
63
|
-
fast_clean-0.1.
|
64
|
-
fast_clean-0.1.
|
61
|
+
fast_clean-0.1.3.dist-info/METADATA,sha256=cUB4mPqCn6YwAQaSu5Eqx5vZqBDTLSvvJuuDicfDm3s,1030
|
62
|
+
fast_clean-0.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
63
|
+
fast_clean-0.1.3.dist-info/top_level.txt,sha256=QfsGs-QLmPCZWWPFOukD0zhMnokH68FoO2KeObl6ZIA,11
|
64
|
+
fast_clean-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|