aury-boot 0.0.17__py3-none-any.whl → 0.0.19__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.
aury/boot/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.0.17'
32
- __version_tuple__ = version_tuple = (0, 0, 17)
31
+ __version__ = version = '0.0.19'
32
+ __version_tuple__ = version_tuple = (0, 0, 19)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -126,9 +126,9 @@ from apscheduler.executors.asyncio import AsyncIOExecutor
126
126
 
127
127
  scheduler = SchedulerManager.get_instance(
128
128
  "distributed",
129
- jobstores={"default": RedisJobStore(host="localhost", port=6379)},
130
- executors={"default": AsyncIOExecutor()},
131
- job_defaults={"coalesce": True, "max_instances": 1},
129
+ jobstores={{"default": RedisJobStore(host="localhost", port=6379)}},
130
+ executors={{"default": AsyncIOExecutor()}},
131
+ job_defaults={{"coalesce": True, "max_instances": 1}},
132
132
  timezone="Asia/Shanghai",
133
133
  )
134
134
  ```
@@ -163,9 +163,9 @@ from apscheduler.events import EVENT_JOB_EXECUTED, EVENT_JOB_ERROR
163
163
 
164
164
  def job_listener(event):
165
165
  if event.exception:
166
- logger.error(f"任务失败: {event.job_id}")
166
+ logger.error(f"任务失败: {{event.job_id}}")
167
167
  else:
168
- logger.info(f"任务完成: {event.job_id}")
168
+ logger.info(f"任务完成: {{event.job_id}}")
169
169
 
170
170
  scheduler.scheduler.add_listener(job_listener, EVENT_JOB_EXECUTED | EVENT_JOB_ERROR)
171
171
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aury-boot
3
- Version: 0.0.17
3
+ Version: 0.0.19
4
4
  Summary: Aury Boot - 基于 FastAPI 生态的企业级 API 开发框架
5
5
  Requires-Python: >=3.13
6
6
  Requires-Dist: alembic>=1.17.2
@@ -1,5 +1,5 @@
1
1
  aury/boot/__init__.py,sha256=pCno-EInnpIBa1OtxNYF-JWf9j95Cd2h6vmu0xqa_-4,1791
2
- aury/boot/_version.py,sha256=S11KPmKYJXKQX0D8GWJ9ou0JkWsMIQoAxzWzBzTnRp4,706
2
+ aury/boot/_version.py,sha256=2t1q5JYEYkNwbHa29phdM-U8VWR1m6EwW48aFKWPj_w,706
3
3
  aury/boot/application/__init__.py,sha256=0o_XmiwFCeAu06VHggS8I1e7_nSMoRq0Hcm0fYfCywU,3071
4
4
  aury/boot/application/adapter/__init__.py,sha256=e1bcSb1bxUMfofTwiCuHBZJk5-STkMCWPF2EJXHQ7UU,3976
5
5
  aury/boot/application/adapter/base.py,sha256=Ar_66fiHPDEmV-1DKnqXKwc53p3pozG31bgTJTEUriY,15763
@@ -76,7 +76,7 @@ aury/boot/commands/templates/project/aury_docs/04-schema.md.tpl,sha256=ZwwKhUbLI
76
76
  aury/boot/commands/templates/project/aury_docs/05-api.md.tpl,sha256=oPzda3V6ZPDDEW-5MwyzmsMRuu5mXrsRGEq3lj0M-58,2997
77
77
  aury/boot/commands/templates/project/aury_docs/06-exception.md.tpl,sha256=Tv_Q5lsScHzvtcaFWmuQzN4YqvpcWZIdXS8jw99K29E,3340
78
78
  aury/boot/commands/templates/project/aury_docs/07-cache.md.tpl,sha256=EQMI7vJIwJT-VdG4p1GMCDEo58DCO1n6V-MvUzGSaS0,3411
79
- aury/boot/commands/templates/project/aury_docs/08-scheduler.md.tpl,sha256=A6H-V4HKXysnFawtBI4rLUeQLpuV1Igi8V7wOUSNmCM,4438
79
+ aury/boot/commands/templates/project/aury_docs/08-scheduler.md.tpl,sha256=tmLuQwqUoegV-721pDWC9K4A2pSMZ0BIWR-54gqz5aQ,4448
80
80
  aury/boot/commands/templates/project/aury_docs/09-tasks.md.tpl,sha256=swHOQ_pWPtW8Bsy1arPu2OeIgs1FoKsJ2AsVSYUWPHY,931
81
81
  aury/boot/commands/templates/project/aury_docs/10-storage.md.tpl,sha256=mhe0j0S51ndPJLjaQ6yD8OPYBEO02NHumJVbBvz2qkw,4320
82
82
  aury/boot/commands/templates/project/aury_docs/11-logging.md.tpl,sha256=bwxFCGQsO9cTEbwqJF1xcjsZKP82HRWhIMRUS0c9_ZI,2435
@@ -192,7 +192,7 @@ aury/boot/testing/client.py,sha256=KOg1EemuIVsBG68G5y0DjSxZGcIQVdWQ4ASaHE3o1R0,4
192
192
  aury/boot/testing/factory.py,sha256=8GvwX9qIDu0L65gzJMlrWB0xbmJ-7zPHuwk3eECULcg,5185
193
193
  aury/boot/toolkit/__init__.py,sha256=AcyVb9fDf3CaEmJPNkWC4iGv32qCPyk4BuFKSuNiJRQ,334
194
194
  aury/boot/toolkit/http/__init__.py,sha256=zIPmpIZ9Qbqe25VmEr7jixoY2fkRbLm7NkCB9vKpg6I,11039
195
- aury_boot-0.0.17.dist-info/METADATA,sha256=rtOVvSoKspMrTpr0Z7QMmoVzLFKipvFXjrlhU_tGehM,7981
196
- aury_boot-0.0.17.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
197
- aury_boot-0.0.17.dist-info/entry_points.txt,sha256=f9KXEkDIGc0BGkgBvsNx_HMz9VhDjNxu26q00jUpDwQ,49
198
- aury_boot-0.0.17.dist-info/RECORD,,
195
+ aury_boot-0.0.19.dist-info/METADATA,sha256=dY0ECLQ3Pse_zl86ktmyqWP_BWWEuX5m72YU9d5Etwk,7981
196
+ aury_boot-0.0.19.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
197
+ aury_boot-0.0.19.dist-info/entry_points.txt,sha256=f9KXEkDIGc0BGkgBvsNx_HMz9VhDjNxu26q00jUpDwQ,49
198
+ aury_boot-0.0.19.dist-info/RECORD,,