qena-shared-lib 0.1.3__py3-none-any.whl → 0.1.5__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.
@@ -188,6 +188,7 @@ class ScheduleManager(AsyncEventLoopMixin):
188
188
  self._logstash = logstash
189
189
  self._scheduled_tasks: list[ScheduledTask] = []
190
190
  self._next_run_in = None
191
+ self._scheduler_task = None
191
192
  self._logger = LoggerProvider.default().get_logger("schedule_manager")
192
193
 
193
194
  def include_scheduler(self, scheduler: Scheduler | type[SchedulerBase]):
@@ -237,8 +238,6 @@ class ScheduleManager(AsyncEventLoopMixin):
237
238
  "tasks" if self.scheduled_task_count > 1 else "task",
238
239
  )
239
240
 
240
- self._scheduler_task = None
241
-
242
241
  if self.scheduled_task_count == 0:
243
242
  return
244
243
 
@@ -92,11 +92,7 @@ class UserInfo(BaseModel):
92
92
  async def extract_user_info(
93
93
  jwt_adapter: Annotated[JwtAdapter, DependsOn(JwtAdapter)],
94
94
  token: Annotated[
95
- str | None,
96
- Header(
97
- alias=environ.get("TOKEN_HEADER") or "authorization",
98
- include_in_schema=False,
99
- ),
95
+ str | None, Header(alias=environ.get("TOKEN_HEADER") or "authorization")
100
96
  ] = None,
101
97
  user_agent: Annotated[
102
98
  str | None, Header(alias="user-agent", include_in_schema=False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qena-shared-lib
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: A shared tools for other services
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: cronsim~=2.0
@@ -6,8 +6,8 @@ qena_shared_lib/exceptions.py,sha256=cNeksC8ZavKgoqKLBik1NR-lCcdLZzITHMXww5deY5Y
6
6
  qena_shared_lib/http.py,sha256=90bmDfs522KxKBj2o0vO-MgmDqa3EZOfaNUFp1DuUdQ,23864
7
7
  qena_shared_lib/logging.py,sha256=JL6bAmkK1BJA84rZNpvDEmrec3dogQRpSug4fj1Omkw,1618
8
8
  qena_shared_lib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- qena_shared_lib/scheduler.py,sha256=r7zbrvg8-gTfubXAS4bRZFB75dYmU5Ft4rtu5T0kdYM,11875
10
- qena_shared_lib/security.py,sha256=cL3I75tF9jSBxjw-1fzQ-YXfkEXYyjMhKQsfXrh-1sA,6141
9
+ qena_shared_lib/scheduler.py,sha256=qxM3zdKJnAKUWw8i_I2M5o3uL_fEOTaBzYUBL-HvUzg,11874
10
+ qena_shared_lib/security.py,sha256=n872UE3eQfezo1lkHwz5hcAngO0VekA_qDQ9LsZ8JZ8,6072
11
11
  qena_shared_lib/utils.py,sha256=bvPnjaFx7npVGSUO6IKdpiAHfUECsGRCeDW8UOjVckU,845
12
12
  qena_shared_lib/dependencies/__init__.py,sha256=W12RgJbhqZ9GiSV1nLlHmpwPzvQv8t7f4JEoazM_WYg,350
13
13
  qena_shared_lib/dependencies/http.py,sha256=3KopQjq05qbYROMPZjji2Zz7qQLU6_2u3qKisLrjLks,1469
@@ -26,6 +26,6 @@ qena_shared_lib/rabbitmq/_pool.py,sha256=1_ftW0D3sPHI6v5c72oA03s05up4-1QqZ7d8icn
26
26
  qena_shared_lib/rabbitmq/_publisher.py,sha256=48JdpvNzFaw3Bw5LhunFxcjm3qNWz3AXKyXtcpzcohQ,2380
27
27
  qena_shared_lib/rabbitmq/_rpc_client.py,sha256=E-J5PIfA1T3j1y9KoxjNTzSLdK95MbaePulNxiqGb-M,8724
28
28
  qena_shared_lib/rabbitmq/_utils.py,sha256=5WZjYm4MdDrjL1dsrZuT8eKKiWfUef29_FJ262-hfSM,438
29
- qena_shared_lib-0.1.3.dist-info/METADATA,sha256=Z_t2uURpudf2bgTf64DOjKOOqbOF7YixzZytUYHKnu8,8520
30
- qena_shared_lib-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- qena_shared_lib-0.1.3.dist-info/RECORD,,
29
+ qena_shared_lib-0.1.5.dist-info/METADATA,sha256=77Kw8La2gcdfVt11wk7iHHJwTKGSZs8XLIXCd_m8I8Q,8520
30
+ qena_shared_lib-0.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ qena_shared_lib-0.1.5.dist-info/RECORD,,