azpaddypy 0.4.2__py3-none-any.whl → 0.4.4__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.
- azpaddypy/mgmt/local_env_manager.py +5 -2
- {azpaddypy-0.4.2.dist-info → azpaddypy-0.4.4.dist-info}/METADATA +1 -1
- {azpaddypy-0.4.2.dist-info → azpaddypy-0.4.4.dist-info}/RECORD +6 -6
- {azpaddypy-0.4.2.dist-info → azpaddypy-0.4.4.dist-info}/WHEEL +0 -0
- {azpaddypy-0.4.2.dist-info → azpaddypy-0.4.4.dist-info}/licenses/LICENSE +0 -0
- {azpaddypy-0.4.2.dist-info → azpaddypy-0.4.4.dist-info}/top_level.txt +0 -0
@@ -184,19 +184,22 @@ def create_local_env_manager(
|
|
184
184
|
override_settings: Whether settings from the dictionary should override.
|
185
185
|
"""
|
186
186
|
manager = LocalDevelopmentSettings(logger=logger)
|
187
|
-
|
187
|
+
|
188
188
|
# Try loading local.settings.json
|
189
189
|
json_path = pathlib.Path(file_path).parent / "local.settings.json"
|
190
190
|
if json_path.is_file():
|
191
191
|
manager.load_from_json(json_path, override=override_json)
|
192
|
+
manager.logger.info(f"Loaded settings from {json_path}")
|
192
193
|
|
193
194
|
# Try loading .env
|
194
195
|
dotenv_path = pathlib.Path(file_path)
|
195
196
|
if dotenv_path.is_file() and dotenv_path.name == ".env":
|
196
197
|
manager.load_from_dotenv(dotenv_path, override=override_dotenv)
|
197
|
-
|
198
|
+
manager.logger.info(f"Loaded settings from {dotenv_path}")
|
199
|
+
|
198
200
|
# Apply dictionary settings
|
199
201
|
if settings:
|
200
202
|
manager.apply_settings(settings, override=override_settings)
|
203
|
+
manager.logger.info(f"Applied {len(settings)} settings to environment.")
|
201
204
|
|
202
205
|
return manager
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: azpaddypy
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.4
|
4
4
|
Summary: Comprehensive Python logger for Azure, integrating OpenTelemetry for advanced, structured, and distributed tracing.
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
6
6
|
Classifier: Operating System :: OS Independent
|
@@ -1,12 +1,12 @@
|
|
1
1
|
azpaddypy/__init__.py,sha256=hrWNAh4OHZOvm3Pbhq5eUjO-pSRYn0h0W0J87tc-lNI,45
|
2
2
|
azpaddypy/mgmt/__init__.py,sha256=waW9EAnTFDh2530ieQX1Z0r0Z-ZKHRwabVDfapjfN58,441
|
3
3
|
azpaddypy/mgmt/identity.py,sha256=mA_krQslMsK_sDob-z-QA0B9khK_JUO2way7xwPopR8,12001
|
4
|
-
azpaddypy/mgmt/local_env_manager.py,sha256=
|
4
|
+
azpaddypy/mgmt/local_env_manager.py,sha256=6pN6cbn8ltz6RGDsGnsX-opB4NEqDB9SHDBVpt-w4j4,8180
|
5
5
|
azpaddypy/mgmt/logging.py,sha256=3ZLSKwpX7Tprthrkm3uN4ph2n2CxiGYUNri7jBJuXEY,36514
|
6
6
|
azpaddypy/resources/__init__.py,sha256=Bvt3VK4RqwoxYpoh6EbLXIR18RuFPKaLP6zLL-icyFk,314
|
7
7
|
azpaddypy/resources/keyvault.py,sha256=4J08vLqoLFd1_UUDBji2oG2fatZaPkgnRyT_Z6wHAOc,20312
|
8
|
-
azpaddypy-0.4.
|
9
|
-
azpaddypy-0.4.
|
10
|
-
azpaddypy-0.4.
|
11
|
-
azpaddypy-0.4.
|
12
|
-
azpaddypy-0.4.
|
8
|
+
azpaddypy-0.4.4.dist-info/licenses/LICENSE,sha256=hQ6t0g2QaewGCQICHqTckBFbMVakGmoyTAzDpmEYV4c,1089
|
9
|
+
azpaddypy-0.4.4.dist-info/METADATA,sha256=l4mXrqTCG3XVhYIRCN8mDZ1HEFCCmflre857Bd9ln4k,665
|
10
|
+
azpaddypy-0.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
+
azpaddypy-0.4.4.dist-info/top_level.txt,sha256=hsDuboDhT61320ML8X479ezSTwT3rrlDWz1_Z45B2cs,10
|
12
|
+
azpaddypy-0.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|