cwyodmodules 0.3.55__py3-none-any.whl → 0.3.56__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.
- cwyodmodules/mgmt_config.py +1 -22
- {cwyodmodules-0.3.55.dist-info → cwyodmodules-0.3.56.dist-info}/METADATA +1 -1
- {cwyodmodules-0.3.55.dist-info → cwyodmodules-0.3.56.dist-info}/RECORD +6 -6
- {cwyodmodules-0.3.55.dist-info → cwyodmodules-0.3.56.dist-info}/WHEEL +0 -0
- {cwyodmodules-0.3.55.dist-info → cwyodmodules-0.3.56.dist-info}/licenses/LICENSE +0 -0
- {cwyodmodules-0.3.55.dist-info → cwyodmodules-0.3.56.dist-info}/top_level.txt +0 -0
cwyodmodules/mgmt_config.py
CHANGED
@@ -17,7 +17,6 @@ from typing import Optional, Dict, Any
|
|
17
17
|
from azpaddypy.mgmt.logging import create_app_logger, create_function_logger
|
18
18
|
from azpaddypy.mgmt.identity import create_azure_identity
|
19
19
|
from azpaddypy.resources.keyvault import create_azure_keyvault
|
20
|
-
from azpaddypy.mgmt.local_env_manager import create_local_env_manager
|
21
20
|
|
22
21
|
# Alias for import in other packages
|
23
22
|
|
@@ -39,16 +38,6 @@ LOGGER_ENABLE_CONSOLE = os.getenv("LOGGER_ENABLE_CONSOLE", "true").lower() == "t
|
|
39
38
|
# Application Insights connection string (optional, will use environment variable if not set)
|
40
39
|
LOGGER_CONNECTION_STRING = os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING")
|
41
40
|
|
42
|
-
# Local development settings
|
43
|
-
LOCAL_SETTINGS = {
|
44
|
-
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
|
45
|
-
"AzureWebJobsDashboard": "UseDevelopmentStorage=true",
|
46
|
-
"input_queue_connection__queueServiceUri": "UseDevelopmentStorage=true",
|
47
|
-
"AzureWebJobsStorage__accountName": "UseDevelopmentStorage=true",
|
48
|
-
"AzureWebJobsStorage__blobServiceUri": "UseDevelopmentStorage=true",
|
49
|
-
"AZURE_CLIENT_ID": "aa73da4a-2888-4cb7-896e-5d51125f11f0"
|
50
|
-
}
|
51
|
-
|
52
41
|
# Configure which Azure SDK components to instrument
|
53
42
|
LOGGER_INSTRUMENTATION_OPTIONS = {
|
54
43
|
"azure_sdk": {"enabled": True},
|
@@ -105,16 +94,6 @@ logger = create_function_logger(
|
|
105
94
|
)
|
106
95
|
logger.info("Function logger initialized")
|
107
96
|
|
108
|
-
# Create local development settings instance
|
109
|
-
local_env_manager = create_local_env_manager(
|
110
|
-
file_path=".env",
|
111
|
-
settings=LOCAL_SETTINGS,
|
112
|
-
logger=logger,
|
113
|
-
override_json=True,
|
114
|
-
override_dotenv=True,
|
115
|
-
override_settings=True,
|
116
|
-
)
|
117
|
-
|
118
97
|
# Create identity instance with shared logger
|
119
98
|
identity = create_azure_identity(
|
120
99
|
service_name=SERVICE_NAME,
|
@@ -206,4 +185,4 @@ logger.info(
|
|
206
185
|
# =============================================================================
|
207
186
|
|
208
187
|
# Export logger, identity, and keyvault for use in applications
|
209
|
-
__all__ = ["logger", "
|
188
|
+
__all__ = ["logger", "identity", "keyvault", "head_keyvault"]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
cwyodmodules/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
2
|
-
cwyodmodules/mgmt_config.py,sha256=
|
2
|
+
cwyodmodules/mgmt_config.py,sha256=9mj_QmIbbHtVBpMskFowgy6-OyEKgp18hePKsMxaA0g,7599
|
3
3
|
cwyodmodules/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
cwyodmodules/api/chat_history.py,sha256=bVXFmhTHIfEiHv_nBrfizO-cQRHhKgrdcZ07OD1b0Tw,20683
|
5
5
|
cwyodmodules/batch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -109,8 +109,8 @@ cwyodmodules/graphrag/query/generate.py,sha256=BZiB6iw7PkIovw-CyYFogMHnDxK0Qu_4u
|
|
109
109
|
cwyodmodules/graphrag/query/graph_search.py,sha256=95h3ecSWx4864XgKABtG0fh3Nk8HkqJVzoCrO8daJ-Y,7724
|
110
110
|
cwyodmodules/graphrag/query/types.py,sha256=1Iq1dp4I4a56_cuFjOZ0NTgd0A2_MpVFznp_czgt6cI,617
|
111
111
|
cwyodmodules/graphrag/query/vector_search.py,sha256=9Gwu9LPjtoAYUU8WKqCvbCHAIg3dpk71reoYd1scLnQ,1807
|
112
|
-
cwyodmodules-0.3.
|
113
|
-
cwyodmodules-0.3.
|
114
|
-
cwyodmodules-0.3.
|
115
|
-
cwyodmodules-0.3.
|
116
|
-
cwyodmodules-0.3.
|
112
|
+
cwyodmodules-0.3.56.dist-info/licenses/LICENSE,sha256=UqBDTipijsSW2ZSOXyTZnMsXmLoEHTgNEM0tL4g-Sso,1150
|
113
|
+
cwyodmodules-0.3.56.dist-info/METADATA,sha256=c5HAmerIAGb6-TjqKQXFXM8_zTshdnuM-MdcpMmqQno,2002
|
114
|
+
cwyodmodules-0.3.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
115
|
+
cwyodmodules-0.3.56.dist-info/top_level.txt,sha256=99RENLbkdRX-qpJvsxZ5AfmTL5s6shSaKOWYpz1vwzg,13
|
116
|
+
cwyodmodules-0.3.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|