processcube-etw-library 2026.1.29.103633__py3-none-any.whl → 2026.1.30.154257__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.
@@ -1,9 +1,4 @@
1
- # Prevent nest_asyncio from patching asyncio.run() in processcube_client - it breaks uvicorn's loop_factory
2
- # import nest_asyncio
3
-
4
- # nest_asyncio.apply = lambda *args, **kwargs: None
5
-
6
- from .health import ( # noqa: E402
1
+ from .health import (
7
2
  create_url_health_check,
8
3
  HealthCheck,
9
4
  HealthCheckModel,
@@ -11,8 +6,8 @@ from .health import ( # noqa: E402
11
6
  HealthConditionInfo,
12
7
  LivezResponse,
13
8
  )
14
- from .etw_app import new_external_task_worker_app # noqa: E402
15
- from .settings import load_settings, ETWSettings # noqa: E402
9
+ from .etw_app import new_external_task_worker_app
10
+ from .settings import load_settings, ETWSettings
16
11
 
17
12
  __all__ = [
18
13
  "create_url_health_check",
@@ -28,7 +28,7 @@ DEFAULTS: DefaultsDict = {
28
28
  "PROCESSCUBE_ETW_CLIENT_SECRET": "3ef62eb3-fe49-4c2c-ba6f-73e4d234321b",
29
29
  "PROCESSCUBE_ETW_CLIENT_SCOPES": "engine_etw",
30
30
  "PROCESSCUBE_MAX_GET_OAUTH_ACCESS_TOKEN_RETRIES": 10,
31
- "PROCESSCUBE_ETW_LONG_POLLING_TIMEOUT_IN_MS": 60_000,
31
+ "PROCESSCUBE_ETW_LONG_POLLING_TIMEOUT_IN_MS": 30_000,
32
32
  "ENVIRONMENT": "development",
33
33
  }
34
34
 
@@ -101,6 +101,14 @@ class ETWSettings(BaseSettings):
101
101
  logger.info(
102
102
  f"Authority URL resolved from AppInfoClient: {self.processcube_authority_url}"
103
103
  )
104
+
105
+ if self.processcube_etw_long_polling_timeout_in_ms >= 60_000:
106
+ logger.warning(
107
+ "PROCESSCUBE_ETW_LONG_POLLING_TIMEOUT_IN_MS is set to a high value "
108
+ "({} ms). Consider reducing it to avoid potential connection issues.".format(
109
+ self.processcube_etw_long_polling_timeout_in_ms
110
+ )
111
+ )
104
112
  return self
105
113
 
106
114
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: processcube-etw-library
3
- Version: 2026.1.29.103633
3
+ Version: 2026.1.30.154257
4
4
  Summary: A library to create ETW apps with the ProcessCube platform.
5
5
  Author-email: Jeremy Hill <jeremy.hill@profection.de>
6
6
  License: MIT
@@ -1,9 +1,9 @@
1
- processcube_etw_library/__init__.py,sha256=MFwzDQQKhUvQ_FyQgJBDVpp7w7vh5QQjBzfU5v3eqBw,726
1
+ processcube_etw_library/__init__.py,sha256=IkLMKuuD9cAcwjsSHDxawFtrspXNQ3Lmqthh6AHifRc,500
2
2
  processcube_etw_library/create_external_task_client.py,sha256=AlrgD-kN8uneLdlGtYz7pSw2iJWdrvQIsU_Ubbv9WFE,956
3
3
  processcube_etw_library/etw_app.py,sha256=zBYrf2GXMEZjLVksW5bCUwOfy8vMrf0oY9WJVOxjLs4,3642
4
4
  processcube_etw_library/identity_provider.py,sha256=MQQm2PPysSAVZFjUmAHkMCieMYhHGXD-RQ_YoOBNtV0,2783
5
5
  processcube_etw_library/server_config.py,sha256=qgKiNjgf2GzteZ1rAdSLH8GHt_i9rVpy32ttvKI4CGA,630
6
- processcube_etw_library/settings.py,sha256=XPU1Ul_UN7F1u1GGPuMuKLIys7ojMSUUbZdFpMo0OfY,4041
6
+ processcube_etw_library/settings.py,sha256=N91m2YN6CrV-rSxUJW2IYmCjBpJjZgJxAcFAH5NZCzQ,4419
7
7
  processcube_etw_library/typed_handler.py,sha256=ipfKK09D4zP8exz9PnMRBj2hSVJwJFS85v7x7h9IGrs,1670
8
8
  processcube_etw_library/health/__init__.py,sha256=-x-XcvovAF-4CIGFY_SaxBGz60tPg3VoPMavxvOWxQ4,588
9
9
  processcube_etw_library/health/built_in.py,sha256=Rlr_owamml_dgxQurffOAuaacStD1A2o-dEt_hsfx5A,1064
@@ -52,7 +52,7 @@ processcube_etw_library/processcube_client/process_instance/__init__.py,sha256=u
52
52
  processcube_etw_library/processcube_client/process_instance/process_instance_client.py,sha256=MgODFnkbJteRVokgXSRxI0F_RGqSAJBN7uTMhu0y5-c,1098
53
53
  processcube_etw_library/processcube_client/user_task/__init__.py,sha256=zqY9EtWDQR7_ens_ivuPqr0tm7Q7TkaZTG-TkitYMYM,45
54
54
  processcube_etw_library/processcube_client/user_task/user_task_client.py,sha256=R2_r8Wh794ZrmNWN8tjK3OkA-7EB6z88HCl28u018Xw,2217
55
- processcube_etw_library-2026.1.29.103633.dist-info/METADATA,sha256=qh1036Qp5SV8AvO9UQFmevD5EML1L74LzkYxXVGzwKs,6187
56
- processcube_etw_library-2026.1.29.103633.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
57
- processcube_etw_library-2026.1.29.103633.dist-info/top_level.txt,sha256=4PHR_mnrU9J-d4zMU4XHDSmB7BURAAryRmBgbuypSuI,24
58
- processcube_etw_library-2026.1.29.103633.dist-info/RECORD,,
55
+ processcube_etw_library-2026.1.30.154257.dist-info/METADATA,sha256=buoVy6zBj_PHyAmpcYfJz7hJyFdd1d-yJgQ_h3KFCVE,6187
56
+ processcube_etw_library-2026.1.30.154257.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
57
+ processcube_etw_library-2026.1.30.154257.dist-info/top_level.txt,sha256=4PHR_mnrU9J-d4zMU4XHDSmB7BURAAryRmBgbuypSuI,24
58
+ processcube_etw_library-2026.1.30.154257.dist-info/RECORD,,