azureml-registry-tools 0.1.0a20__tar.gz → 0.1.0a23__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.
- {azureml_registry_tools-0.1.0a20/azureml_registry_tools.egg-info → azureml_registry_tools-0.1.0a23}/PKG-INFO +1 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_rest_client/base_rest_client.py +1 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_rest_client/registry_management_client.py +4 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/model.schema.json +17 -6
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/create_or_update_assets.py +1 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23/azureml_registry_tools.egg-info}/PKG-INFO +1 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/setup.py +1 -1
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/LICENSE.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/MANIFEST.in +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_cli/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_cli/registry_syndication_cli.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_cli/repo2registry_cli.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_rest_client/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_rest_client/arm_client.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/_rest_client/registry_model_client.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/asset.yaml.template +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/description.md.template +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/evaluation.md.template +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/model-variant.schema.json +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/model.yaml.template +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/notes.md.template +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/validate_model_schema.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/data/validate_model_variant_schema.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/asset_management.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/create_asset_template.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/create_manifest.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/create_model_spec.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/model_management.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/mgmt/syndication_manifest.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/config.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/registry_utils.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/repo2registry_config.py +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml_registry_tools.egg-info/SOURCES.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml_registry_tools.egg-info/dependency_links.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml_registry_tools.egg-info/entry_points.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml_registry_tools.egg-info/requires.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml_registry_tools.egg-info/top_level.txt +0 -0
- {azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/setup.cfg +0 -0
|
@@ -178,7 +178,7 @@ class BaseAzureRestClient(BaseRestClient):
|
|
|
178
178
|
super().__init__(base_url, api_key=api_key, max_retries=max_retries, backoff_factor=backoff_factor)
|
|
179
179
|
# Only after super().__init__ is self.session available
|
|
180
180
|
if api_key is None:
|
|
181
|
-
self._credential = DefaultAzureCredential()
|
|
181
|
+
self._credential = DefaultAzureCredential() # CodeQL [SM05139] DefaultAzureCredential should only be used for local development and testing purposes.
|
|
182
182
|
self._refresh_api_key_if_needed()
|
|
183
183
|
# Ensure self.api_key is set for future use
|
|
184
184
|
api_key = self.api_key
|
|
@@ -24,7 +24,10 @@ class RegistryManagementClient(BaseAzureRestClient):
|
|
|
24
24
|
if primary_region is None:
|
|
25
25
|
# Resolve the primary region if not provided
|
|
26
26
|
primary_region = self.resolve_registry_primary_region(registry_name)
|
|
27
|
-
|
|
27
|
+
if primary_region.lower() == "centraluseuap":
|
|
28
|
+
base_url = "https://int.api.azureml-test.ms"
|
|
29
|
+
else:
|
|
30
|
+
base_url = f"https://{primary_region}.api.azureml.ms"
|
|
28
31
|
super().__init__(base_url, api_key=api_key, max_retries=max_retries, backoff_factor=backoff_factor)
|
|
29
32
|
self.registry_name = registry_name
|
|
30
33
|
|
|
@@ -176,7 +176,17 @@
|
|
|
176
176
|
"azureOffers": {
|
|
177
177
|
"description": "Supported azure offer types as a comma-separated string",
|
|
178
178
|
"type": "string",
|
|
179
|
-
"pattern": "^(standard-paygo|RestrictedAccess|PTU|batch-paygo|VM)(?:\\s*,\\s*(standard-paygo|RestrictedAccess|PTU|batch-paygo|VM))*$"
|
|
179
|
+
"pattern": "^(standard-paygo|RestrictedAccess|PTU|batch-paygo|VM|VM-withSurcharge)(?:\\s*,\\s*(standard-paygo|RestrictedAccess|PTU|batch-paygo|VM|VM-withSurcharge))*$"
|
|
180
|
+
},
|
|
181
|
+
"maap-surcharge": {
|
|
182
|
+
"description": "MaaP Surcharge",
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": ["true", "false"]
|
|
185
|
+
},
|
|
186
|
+
"maap-surcharge-type": {
|
|
187
|
+
"description": "MaaP Surcharge Type",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"pattern": "^(model)(?:\\s*,\\s*(model))*$"
|
|
180
190
|
},
|
|
181
191
|
"benchmark": {
|
|
182
192
|
"description": "Benchmark type",
|
|
@@ -265,7 +275,7 @@
|
|
|
265
275
|
"keywords": {
|
|
266
276
|
"description": "List of key words as a comma-separated string. Max 3 keywords",
|
|
267
277
|
"type": "string",
|
|
268
|
-
"pattern": "^(Agents|Audio|Coding|Conversation|Instruction|Large context|Low latency|Multilingual|Multimodal|Multipurpose|RAG|Reasoning|Summarization|Translation|Understanding|Vision|Atomistic generation)(?:\\s*,\\s*(Agents|Audio|Coding|Conversation|Instruction|Large context|Low latency|Multilingual|Multimodal|Multipurpose|RAG|Reasoning|Summarization|Translation|Understanding|Vision|Atomistic generation)){0,2}$"
|
|
278
|
+
"pattern": "^(Agents|Audio|Coding|Conversation|Instruction|Large context|Low latency|Multilingual|Multimodal|Multipurpose|RAG|Reasoning|Summarization|Translation|Understanding|Vision|Atomistic generation|Chat|Hybrid Reasoning|Vision Language Model)(?:\\s*,\\s*(Agents|Audio|Coding|Conversation|Instruction|Large context|Low latency|Multilingual|Multimodal|Multipurpose|RAG|Reasoning|Summarization|Translation|Understanding|Vision|Atomistic generation|Chat|Hybrid Reasoning|Vision Language Model)){0,2}$"
|
|
269
279
|
},
|
|
270
280
|
"languages": {
|
|
271
281
|
"description": "Comma-separated list of supported languages (ISO 639-1 language codes)",
|
|
@@ -354,7 +364,7 @@
|
|
|
354
364
|
"outputModalities": {
|
|
355
365
|
"description": "Output modalities supported (e.g., text) as a comma-separated string",
|
|
356
366
|
"type": "string",
|
|
357
|
-
"pattern": "^(audio|csv|embeddings|image|json|pdf|text|video)(?:\\s*,\\s*(audio|csv|embeddings|image|json|pdf|text|video))*$"
|
|
367
|
+
"pattern": "^(audio|csv|embeddings|image|json|pdf|text|video|3D-image)(?:\\s*,\\s*(audio|csv|embeddings|image|json|pdf|text|video|3D-image))*$"
|
|
358
368
|
},
|
|
359
369
|
"playgroundRateLimitTier": {
|
|
360
370
|
"description": "Rate limit tier for playground",
|
|
@@ -375,7 +385,7 @@
|
|
|
375
385
|
"task": {
|
|
376
386
|
"description": "Tasks supported by the model as a comma-separated string",
|
|
377
387
|
"type": "string",
|
|
378
|
-
"pattern": "^(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|retrosynthesis-prediction|summarization|text-analysis|text-analytics|text-classification|text-generation|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design)(?:\\s*,\\s*(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|summarization|text-analysis|text-analytics|text-classification|text-generation|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design))*$"
|
|
388
|
+
"pattern": "^(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|retrosynthesis-prediction|summarization|text-analysis|text-analytics|text-classification|text-generation|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|explanation-and-chain-of-thought-reasoning|video-analytics-and-spatial-temporal-awareness)(?:\\s*,\\s*(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|summarization|text-analysis|text-analytics|text-classification|text-generation|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|explanation-and-chain-of-thought-reasoning|video-analytics-and-spatial-temporal-awareness))*$"
|
|
379
389
|
},
|
|
380
390
|
"textContextWindow": {
|
|
381
391
|
"description": "Context window size",
|
|
@@ -558,7 +568,8 @@
|
|
|
558
568
|
"speech-translation",
|
|
559
569
|
"video-analysis",
|
|
560
570
|
"video-generation",
|
|
561
|
-
"materials-design"
|
|
571
|
+
"materials-design",
|
|
572
|
+
"atomistic-modelling"
|
|
562
573
|
]
|
|
563
574
|
},
|
|
564
575
|
"finetuningTasksListDefinition": {
|
|
@@ -619,7 +630,7 @@
|
|
|
619
630
|
"featureFlagsListDefinition": {
|
|
620
631
|
"type": "string",
|
|
621
632
|
"description": "A comma-separated list of valid feature flags with no duplicates",
|
|
622
|
-
"pattern": "^(OpenAI\\.EAGatingTier|OpenAI\\.EnterpriseTier|OpenAI\\.1PGatingTier|OpenAI\\.OneVetGatingTier|OpenAI\\.1000CUGatingTier|OpenAI\\.computer-use-preview|OpenAI\\.Preview\\.202409|OpenAITest|AIServices\\.grok-4-code)(?:\\s*,\\s*(OpenAI\\.EAGatingTier|OpenAI\\.EnterpriseTier|OpenAI\\.1PGatingTier|OpenAI\\.OneVetGatingTier|OpenAI\\.1000CUGatingTier|OpenAI\\.computer-use-preview|OpenAI\\.Preview\\.202409|OpenAITest|AIServices\\.grok-4-code))*$"
|
|
633
|
+
"pattern": "^(OpenAI\\.EAGatingTier|OpenAI\\.EnterpriseTier|OpenAI\\.1PGatingTier|OpenAI\\.OneVetGatingTier|OpenAI\\.1000CUGatingTier|OpenAI\\.computer-use-preview|OpenAI\\.Preview\\.202409|OpenAITest|AIServices\\.grok-4-code|AIServices\\.grok-4)(?:\\s*,\\s*(OpenAI\\.EAGatingTier|OpenAI\\.EnterpriseTier|OpenAI\\.1PGatingTier|OpenAI\\.OneVetGatingTier|OpenAI\\.1000CUGatingTier|OpenAI\\.computer-use-preview|OpenAI\\.Preview\\.202409|OpenAITest|AIServices\\.grok-4-code|AIServices\\.grok-4))*$"
|
|
623
634
|
}
|
|
624
635
|
}
|
|
625
636
|
}
|
|
@@ -275,7 +275,7 @@ def create_or_update_assets(input_dir: Path,
|
|
|
275
275
|
subscription_id=repo2registry_config.subscription_id,
|
|
276
276
|
resource_group_name=repo2registry_config.resource_group,
|
|
277
277
|
registry_name=repo2registry_config.registry_name,
|
|
278
|
-
credential=DefaultAzureCredential(),
|
|
278
|
+
credential=DefaultAzureCredential(), # CodeQL [SM05139] DefaultAzureCredential should only be used for local development and testing purposes.
|
|
279
279
|
)
|
|
280
280
|
|
|
281
281
|
results_dict = {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azureml_registry_tools-0.1.0a20 → azureml_registry_tools-0.1.0a23}/azureml/registry/tools/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|