processcube-etw-library 2026.1.22.120215b0__tar.gz → 2026.1.22.131318b0__tar.gz

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.
Files changed (27) hide show
  1. {processcube_etw_library-2026.1.22.120215b0/src/processcube_etw_library.egg-info → processcube_etw_library-2026.1.22.131318b0}/PKG-INFO +1 -1
  2. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/create_external_task_client.py +0 -4
  3. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/settings.py +1 -10
  4. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0/src/processcube_etw_library.egg-info}/PKG-INFO +1 -1
  5. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/.github/workflows/build_and_publish.yml +0 -0
  6. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/.gitignore +0 -0
  7. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/.python-version +0 -0
  8. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/README.md +0 -0
  9. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/pyproject.toml +0 -0
  10. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/setup.cfg +0 -0
  11. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/__init__.py +0 -0
  12. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/etw_app.py +0 -0
  13. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/__init__.py +0 -0
  14. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/built_in.py +0 -0
  15. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/check.py +0 -0
  16. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/handlers.py +0 -0
  17. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/models.py +0 -0
  18. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/registry.py +0 -0
  19. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/health/routes.py +0 -0
  20. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/identity_provider.py +0 -0
  21. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/server_config.py +0 -0
  22. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library/typed_handler.py +0 -0
  23. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library.egg-info/SOURCES.txt +0 -0
  24. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library.egg-info/dependency_links.txt +0 -0
  25. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library.egg-info/requires.txt +0 -0
  26. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/src/processcube_etw_library.egg-info/top_level.txt +0 -0
  27. {processcube_etw_library-2026.1.22.120215b0 → processcube_etw_library-2026.1.22.131318b0}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: processcube-etw-library
3
- Version: 2026.1.22.120215b0
3
+ Version: 2026.1.22.131318b0
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,7 +1,3 @@
1
- # # Prevent nest_asyncio from patching asyncio.run() in processcube_client - it breaks uvicorn's loop_factory
2
- # import nest_asyncio
3
- # nest_asyncio.apply = lambda *args, **kwargs: None
4
-
5
1
  from processcube_client.external_task import ExternalTaskClient
6
2
 
7
3
  from .identity_provider import IdentityProvider
@@ -1,5 +1,4 @@
1
1
  import logging
2
- from os import getenv
3
2
  from typing import Optional, Type, TypeVar
4
3
 
5
4
  from pydantic import Field, model_validator
@@ -22,13 +21,8 @@ DEFAULTS = {
22
21
 
23
22
 
24
23
  def _determine_authority_url(engine_url: str) -> str:
25
- if authority_url := getenv("PROCESSCUBE_AUTHORITY_URL"):
26
- logger.info("Using authority URL from environment variable PROCESSCUBE_AUTHORITY_URL")
27
- return authority_url
28
-
29
24
  app_info_client = AppInfoClient(engine_url)
30
25
  authority_url = app_info_client.get_authority()
31
- logger.debug(f"Determined authority URL from AppInfoClient: {authority_url}")
32
26
  if type(authority_url) is not str:
33
27
  raise ValueError("Could not determine authority URL from AppInfoClient")
34
28
 
@@ -77,9 +71,7 @@ class ETWSettings(BaseSettings):
77
71
  @model_validator(mode="after")
78
72
  def resolve_authority_url(self) -> "ETWSettings":
79
73
  if not self.processcube_authority_url.strip():
80
- self.processcube_authority_url = _determine_authority_url(
81
- self.processcube_engine_url
82
- )
74
+ self.processcube_authority_url = _determine_authority_url(self.processcube_engine_url)
83
75
  logger.info(
84
76
  f"Authority URL resolved from AppInfoClient: {self.processcube_authority_url}"
85
77
  )
@@ -89,7 +81,6 @@ class ETWSettings(BaseSettings):
89
81
  _settings: Optional[ETWSettings] = None
90
82
 
91
83
 
92
-
93
84
  def load_settings(settings_class: Type[T] = ETWSettings) -> T:
94
85
  """
95
86
  Call this with a custom settings class to extend the base settings:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: processcube-etw-library
3
- Version: 2026.1.22.120215b0
3
+ Version: 2026.1.22.131318b0
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