arpakitlib 1.6.84__py3-none-any.whl → 1.6.86__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.
@@ -38,7 +38,9 @@ def get_cached_dump_file_storage_in_dir() -> FileStorageInDir:
38
38
 
39
39
 
40
40
  def __example():
41
- pass
41
+ get_cached_cache_file_storage_in_dir().init()
42
+ get_cached_media_file_storage_in_dir().init()
43
+ get_cached_dump_file_storage_in_dir().init()
42
44
 
43
45
 
44
46
  async def __async_example():
@@ -17,7 +17,6 @@ from pydantic import BaseModel, ConfigDict
17
17
  from arpakitlib.ar_need_type_util import parse_need_type, NeedTypes
18
18
  from arpakitlib.ar_parse_command import BadCommandFormat, parse_command
19
19
  from arpakitlib.ar_settings_util import SimpleSettings
20
- from arpakitlib.ar_sqlalchemy_util import SQLAlchemyDB
21
20
  from arpakitlib.ar_type_util import raise_for_types, raise_for_type
22
21
 
23
22
  _ARPAKIT_LIB_MODULE_VERSION = "3.0"
@@ -327,12 +326,10 @@ class SimpleMiddleware(BaseMiddleware, ABC):
327
326
  class BaseTransmittedTgBotData(BaseModel):
328
327
  model_config = ConfigDict(extra="ignore", arbitrary_types_allowed=True, from_attributes=True)
329
328
 
330
- tg_bot: Bot
331
- settings: SimpleSettings | None = None
332
-
333
329
 
334
330
  class SimpleTransmittedTgBotData(BaseTransmittedTgBotData):
335
- sqlalchemy_db: SQLAlchemyDB | None = None
331
+ tg_bot: Bot
332
+ settings: SimpleSettings | None = None
336
333
 
337
334
 
338
335
  def create_aiogram_tg_bot(*, tg_bot_token: str, tg_bot_proxy_url: str | None = None) -> Bot:
@@ -134,7 +134,7 @@ class APIException(fastapi.exceptions.HTTPException):
134
134
  self.error_so = ErrorSO(
135
135
  has_error=True,
136
136
  error_code=self.error_code,
137
- error_specification=self.error_code_specification,
137
+ error_code_specification=self.error_code_specification,
138
138
  error_description=self.error_description,
139
139
  error_data=self.error_data
140
140
  )
@@ -414,11 +414,9 @@ class SafeRunWorkerStartupAPIEvent(BaseStartupAPIEvent):
414
414
  class BaseTransmittedAPIData(BaseModel):
415
415
  model_config = ConfigDict(extra="ignore", arbitrary_types_allowed=True, from_attributes=True)
416
416
 
417
- settings: SimpleSettings | None = None
418
-
419
417
 
420
418
  class SimpleTransmittedAPIData(BaseTransmittedAPIData):
421
- sqlalchemy_db: SQLAlchemyDB | None = None
419
+ settings: SimpleSettings | None = None
422
420
 
423
421
 
424
422
  def get_transmitted_api_data(request: starlette.requests.Request) -> BaseTransmittedAPIData:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arpakitlib
3
- Version: 1.6.84
3
+ Version: 1.6.86
4
4
  Summary: arpakitlib
5
5
  Home-page: https://github.com/ARPAKIT-Company/arpakitlib
6
6
  License: Apache-2.0
@@ -55,7 +55,7 @@ arpakitlib/_arpakit_project_template/src/business_service/__init__.py,sha256=47D
55
55
  arpakitlib/_arpakit_project_template/src/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  arpakitlib/_arpakit_project_template/src/core/const.py,sha256=CZZew674y7LhCAlYhvuF5cV4Zb9nQ17j2Tcuj2GEBf4,1232
57
57
  arpakitlib/_arpakit_project_template/src/core/settings.py,sha256=TNS0T9xUPw089wJV10BGoG8LCBOIb30DrDazxP2NPAU,1184
58
- arpakitlib/_arpakit_project_template/src/core/util.py,sha256=qT8qsVWn30BcUfe03NE_ltE6tOqiKW2FoSBZy4Ec4Do,1247
58
+ arpakitlib/_arpakit_project_template/src/core/util.py,sha256=EXFC0OqaM9by3jDk6mc2mFO_b9RcLs3VT-qr31QemDc,1387
59
59
  arpakitlib/_arpakit_project_template/src/test_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  arpakitlib/_arpakit_project_template/src/test_data/make_test_data_1.py,sha256=F7c6gRJUPjS14oLEDvRGA34yEabpnb5VH59N_xxkqrI,82
61
61
  arpakitlib/_arpakit_project_template/src/test_data/make_test_data_2.py,sha256=8fIBiguJWvQJscQzDDBWdk-XeDQNAMBKULVV7RjHoR0,82
@@ -64,7 +64,7 @@ arpakitlib/_arpakit_project_template/src/test_data/make_test_data_4.py,sha256=Wq
64
64
  arpakitlib/_arpakit_project_template/src/test_data/make_test_data_5.py,sha256=ogTmetjQiRa57TKNfVH5A6GFTqBrU1Js0vTok6jlL_A,82
65
65
  arpakitlib/_arpakit_project_template/src/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
66
  arpakitlib/ar_additional_model_util.py,sha256=tNzZhZtvtJ1qC6Cn4UnyoEL58HudfpCdQy5ftkCqyik,473
67
- arpakitlib/ar_aiogram_util.py,sha256=uodUia6S_tLGVk88JltwRhoT9iMIekOwsrXUnCOzf3g,12526
67
+ arpakitlib/ar_aiogram_util.py,sha256=jYglxYYl3HL7IijtqNiHPuEFR6pCAJpHIqpJmex1QLU,12424
68
68
  arpakitlib/ar_arpakit_lib_module_util.py,sha256=V_mc3Ml73Tzz3arxmwEfIxruKMyrwbe8XZ9FfVDtUXY,5446
69
69
  arpakitlib/ar_arpakit_schedule_uust_api_client_util.py,sha256=SYWWQDohPnw0qpBIu2hEvGZRVdaI4NUUQdEjnMnseo4,18237
70
70
  arpakitlib/ar_arpakitlib_cli.py,sha256=T-YGAL6hRdrT2x3ug33N3GrWLYKSjK25r9SlaiBT7-M,2366
@@ -95,7 +95,7 @@ arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css,sha256=jzPZlgJTFwSdSphk9C
95
95
  arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css.map,sha256=5wq8eXMLU6Zxb45orZPL1zAsBFJReFw6GjYqGpUX3hg,262650
96
96
  arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js,sha256=ffrLZHHEQ_g84A-ul3yWa10Kk09waOAxHcQXPuZuavg,339292
97
97
  arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js.map,sha256=9UhIW7MqCOZPAz1Sl1IKfZUuhWU0p-LJqrnjjJD9Xhc,1159454
98
- arpakitlib/ar_fastapi_util.py,sha256=NqX5SrLYY4LjaGA7PTpTePB2uzlDwpBFcE0DPGKQLvk,20868
98
+ arpakitlib/ar_fastapi_util.py,sha256=XnrT_5PYdECITJg971M2o1zeeFptpZobKdP0UrE24oI,20826
99
99
  arpakitlib/ar_file_storage_in_dir_util.py,sha256=D3e3rGuHoI6xqAA5mVvEpVVpOWY1jyjNsjj2UhyHRbE,3674
100
100
  arpakitlib/ar_file_util.py,sha256=XiwmeycxoLqtYnGOu5q6IEaJJXilZvtLvsKDKtwqSLY,137
101
101
  arpakitlib/ar_hash_util.py,sha256=Iqy6KBAOLBQMFLWv676boI5sV7atT2B-fb7aCdHOmIQ,340
@@ -126,9 +126,9 @@ arpakitlib/ar_str_util.py,sha256=AhcdrEm-pXRilCaDWCdTfVkQSy0SnbE52ur43Ltr6cI,212
126
126
  arpakitlib/ar_type_util.py,sha256=5nDnXL5Oyozlg8XvxMrogsoYiG8_atItg46A0mtv-pk,2025
127
127
  arpakitlib/ar_yookassa_api_client_util.py,sha256=5GMvu8paByni8buhc1vpHB7n6oXe0gPfj1LSvnyZCrQ,5307
128
128
  arpakitlib/ar_zabbix_util.py,sha256=Q-VR4MvoZ9aHwZeYZr9G3LwN-ANx1T5KFmF6pvPM-9M,6402
129
- arpakitlib-1.6.84.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
130
- arpakitlib-1.6.84.dist-info/METADATA,sha256=W1B0dgeE4pMnwsVu_uwSqSuHEJxhl-Po0Eo_HlSxxmw,2739
131
- arpakitlib-1.6.84.dist-info/NOTICE,sha256=95aUzaPJjVpDsGAsNzVnq7tHTxAl0s5UFznCTkVCau4,763
132
- arpakitlib-1.6.84.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
133
- arpakitlib-1.6.84.dist-info/entry_points.txt,sha256=VHkTDXDOMrgcNzGfKhEhoOIIz6T8Kkt46hy95Zc1iL0,74
134
- arpakitlib-1.6.84.dist-info/RECORD,,
129
+ arpakitlib-1.6.86.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
130
+ arpakitlib-1.6.86.dist-info/METADATA,sha256=7YgrPf9_CJFdzklhMBcd_WiXXZiH9hEOHZHYtCEm_II,2739
131
+ arpakitlib-1.6.86.dist-info/NOTICE,sha256=95aUzaPJjVpDsGAsNzVnq7tHTxAl0s5UFznCTkVCau4,763
132
+ arpakitlib-1.6.86.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
133
+ arpakitlib-1.6.86.dist-info/entry_points.txt,sha256=VHkTDXDOMrgcNzGfKhEhoOIIz6T8Kkt46hy95Zc1iL0,74
134
+ arpakitlib-1.6.86.dist-info/RECORD,,