genesis-flow 1.0.4__py3-none-any.whl → 1.0.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.
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/METADATA +1 -1
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/RECORD +7 -7
- mlflow/azure/stores.py +23 -16
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/WHEEL +0 -0
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/entry_points.txt +0 -0
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/licenses/LICENSE.txt +0 -0
- {genesis_flow-1.0.4.dist-info → genesis_flow-1.0.5.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: genesis-flow
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.5
|
4
4
|
Summary: Genesis-Flow: MLflow v3.1.4 compatible fork for Genesis platform
|
5
5
|
Maintainer-email: Databricks <mlflow-oss-maintainers@googlegroups.com>
|
6
6
|
License: Copyright 2018 Databricks, Inc. All rights reserved.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
genesis_flow-1.0.
|
1
|
+
genesis_flow-1.0.5.dist-info/licenses/LICENSE.txt,sha256=Y5U1Xebzka__NZlqMPtBsYm0mRpMtUmTrONatpoL-ig,11382
|
2
2
|
mlflow/__init__.py,sha256=-_r__N5Afed81pLVtr2wKbHQIA0aj9u9n_7kWGxLWi4,11194
|
3
3
|
mlflow/__main__.py,sha256=_PcdoxKehR_a2MI6GqBfzYzRCXZhVyDCSdbxDWVlWd4,39
|
4
4
|
mlflow/cli.py,sha256=f1ObrWZ03HgRiRoVEE1Gffe-dGcSY7CxJyEFgb5VUMM,26137
|
@@ -26,7 +26,7 @@ mlflow/azure/client.py,sha256=dUaMFj04OLrlyvYSRTHXF4CaLHCGUdSzhjM5u8ucv8g,11509
|
|
26
26
|
mlflow/azure/config.py,sha256=0DwiEYN3TefmdaGO9KogNNflX_-0wOeHwKt2hMxKEdU,4491
|
27
27
|
mlflow/azure/connection_factory.py,sha256=1hcwPmc5xpP_MS1t3CIlzYfJ_mzEn2GBxnz5TJ1sHOY,12391
|
28
28
|
mlflow/azure/exceptions.py,sha256=3jQo_kimK4g94LmSCtzfRQqEOl6bDBtwAQ6utXbgw8k,494
|
29
|
-
mlflow/azure/stores.py,sha256=
|
29
|
+
mlflow/azure/stores.py,sha256=MnZaPU2eOAerzGfcwSoyuMCkd9ad1cOmsb6fclgxF4Q,12890
|
30
30
|
mlflow/azure/utils.py,sha256=uU4OWU9ffz3KhLf0IgGqabZTTiAskLrNGVH5bIcwKUU,5563
|
31
31
|
mlflow/bedrock/__init__.py,sha256=LNOczTpqmgbdek-anWMNisPGDcnn-VbWQm5VVxQ7FdA,1846
|
32
32
|
mlflow/bedrock/_autolog.py,sha256=7c2mj9pK1aj-IKCySl74g6gGxze2Bldo8bHSIZAQj5M,7800
|
@@ -641,8 +641,8 @@ mlflow/utils/autologging_utils/metrics_queue.py,sha256=bwpMX7Go6xFxrpYROi6rDBdVt
|
|
641
641
|
mlflow/utils/autologging_utils/safety.py,sha256=IwbTbusyE87Hc4qkhhvMikoaZqX9kpr972FWS2B8goc,51465
|
642
642
|
mlflow/utils/autologging_utils/versioning.py,sha256=2hSN4KXFWEJCcopDdLG6BiPeqSoqjETeNMuUBsCCwlI,3762
|
643
643
|
mlflow/utils/import_hooks/__init__.py,sha256=werje98Woelkbwrhtlb8wmRdt3RtiL--LqGru7Xh3YU,13589
|
644
|
-
genesis_flow-1.0.
|
645
|
-
genesis_flow-1.0.
|
646
|
-
genesis_flow-1.0.
|
647
|
-
genesis_flow-1.0.
|
648
|
-
genesis_flow-1.0.
|
644
|
+
genesis_flow-1.0.5.dist-info/METADATA,sha256=c2PrO48hnz6iVieC5srClmgBx4MN_61P3W_NvJvFsQE,33401
|
645
|
+
genesis_flow-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
646
|
+
genesis_flow-1.0.5.dist-info/entry_points.txt,sha256=fwlE6mYWea9uCNIsmXdT5qMIOZ8rYbTvO6XcZR8fBbE,495
|
647
|
+
genesis_flow-1.0.5.dist-info/top_level.txt,sha256=wm8UqYyUHI21EvrTDHb3eYICy0dOVDLBhAL-jp5zbuI,7
|
648
|
+
genesis_flow-1.0.5.dist-info/RECORD,,
|
mlflow/azure/stores.py
CHANGED
@@ -8,7 +8,7 @@ from typing import Optional, Any, Dict
|
|
8
8
|
|
9
9
|
from sqlalchemy import Engine
|
10
10
|
|
11
|
-
from mlflow.azure.config import AzureAuthConfig
|
11
|
+
from mlflow.azure.config import AzureAuthConfig, AuthMethod
|
12
12
|
from mlflow.azure.connection_factory import ConnectionFactory
|
13
13
|
from mlflow.azure.exceptions import ConnectionError, ConfigurationError
|
14
14
|
|
@@ -162,25 +162,32 @@ def create_store(store_uri: str, artifact_uri: Optional[str] = None):
|
|
162
162
|
# Check if Azure authentication should be used
|
163
163
|
config = AzureAuthConfig()
|
164
164
|
|
165
|
-
#
|
166
|
-
|
165
|
+
# IMPORTANT: Do NOT auto-detect Azure PostgreSQL based on hostname
|
166
|
+
# Only use Azure auth if explicitly enabled through configuration
|
167
|
+
# The MLFLOW_AZURE_AUTH_ENABLED flag should be the single source of truth
|
168
|
+
|
169
|
+
# Check if URI explicitly requests Azure auth (via scheme or parameter)
|
170
|
+
explicit_azure_request = (
|
167
171
|
store_uri.startswith("azure-postgres://") or
|
168
|
-
".postgres.database.azure.com" in store_uri or
|
169
172
|
"auth_method=managed_identity" in store_uri
|
170
173
|
)
|
171
174
|
|
172
|
-
#
|
173
|
-
if
|
174
|
-
#
|
175
|
-
|
176
|
-
config.auth_enabled
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
175
|
+
# If auth is not enabled via config and not explicitly requested in URI, skip Azure auth
|
176
|
+
if not config.auth_enabled and not explicit_azure_request:
|
177
|
+
# Log for debugging
|
178
|
+
logger.debug(
|
179
|
+
"Azure auth not enabled: config.auth_enabled=%s, explicit_request=%s",
|
180
|
+
config.auth_enabled,
|
181
|
+
explicit_azure_request
|
182
|
+
)
|
183
|
+
return None
|
184
|
+
|
185
|
+
# If we reach here, Azure auth is either enabled or explicitly requested
|
186
|
+
# Make sure config reflects this
|
187
|
+
if explicit_azure_request and not config.auth_enabled:
|
188
|
+
config.auth_enabled = True
|
189
|
+
if not config.auth_method or config.auth_method == AuthMethod.SQL_AUTH:
|
190
|
+
config.auth_method = AuthMethod.MANAGED_IDENTITY
|
184
191
|
|
185
192
|
if config.should_use_azure_auth:
|
186
193
|
logger.info("Creating Azure-enabled tracking store via plugin: auth_method=%s", config.auth_method.value)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|