azureml-registry-tools 0.1.0a20__py3-none-any.whl → 0.1.0a23__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.
@@ -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
- base_url = f"https://{primary_region}.api.azureml.ms"
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 = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: azureml-registry-tools
3
- Version: 0.1.0a20
3
+ Version: 0.1.0a23
4
4
  Summary: AzureML Registry tools and CLI
5
5
  Author: Microsoft Corp
6
6
  License: https://aka.ms/azureml-sdk-license
@@ -5,15 +5,15 @@ azureml/registry/_cli/registry_syndication_cli.py,sha256=7LyyBDC5OnJu9OMBAl_L_SW
5
5
  azureml/registry/_cli/repo2registry_cli.py,sha256=4CDv4tYWLTjVgdXIcoKA9iu_gOv_Z_xn05wSANkdmdg,5378
6
6
  azureml/registry/_rest_client/__init__.py,sha256=Eh0vB8AVlwkZlHLO4DCGHyyfRYYgeTeVjiUAX_WujG0,219
7
7
  azureml/registry/_rest_client/arm_client.py,sha256=KVSj0V1bN-vCUV3fBbIdZDpWTLKYT6qdWIZtDjx2la4,4516
8
- azureml/registry/_rest_client/base_rest_client.py,sha256=JcmhckfR-ZdUtEh0EeQIKfe63Zjowa1fLzmVeWpeLno,8173
9
- azureml/registry/_rest_client/registry_management_client.py,sha256=3-PBwj91lkG1yrlB-s7jaYj0w5j177oSHZHvcoO8icQ,4984
8
+ azureml/registry/_rest_client/base_rest_client.py,sha256=WnjWhOQvigLIBPp2h1eU5IZ75aj0B2ZhCqa-z71bMiY,8280
9
+ azureml/registry/_rest_client/registry_management_client.py,sha256=NsqWRaDdOlPyICNWj74eLVuofVl04RIc6RgIgyrEROA,5113
10
10
  azureml/registry/_rest_client/registry_model_client.py,sha256=LqJGTuYQtBnHSeSbOl5KVbiO6vGBkKQ7HD5jc4fvV3k,14466
11
11
  azureml/registry/data/__init__.py,sha256=cW3X6HATz6XF-K_7uKdybTbJb9EZSecBN4J27NGdZmU,231
12
12
  azureml/registry/data/asset.yaml.template,sha256=WTgfuvKEBp-EVFSQ0JpU0h4z_ULJdULO9kHmB_9Fr1o,96
13
13
  azureml/registry/data/description.md.template,sha256=wQLk54U8hoXU1y9235R4irc6FGYPXGO-x9EHUorP15Q,84
14
14
  azureml/registry/data/evaluation.md.template,sha256=JaDecIfLV9vZDUrZzVRPzVHHnKD-BQGBgQ-cw1dHavU,277
15
15
  azureml/registry/data/model-variant.schema.json,sha256=AT4Dy6cCtp_SFUfSqYIqcER8AldpYm0QIEy1abY3QWE,1699
16
- azureml/registry/data/model.schema.json,sha256=ZezvItOdGhwPb8drJAxJ6XGKJiOeWQS2W7NWhjQhLu4,28031
16
+ azureml/registry/data/model.schema.json,sha256=j6orgqiVNpQYbvrphBZDLtWxslTXUy0VrTnC6Int200,29192
17
17
  azureml/registry/data/model.yaml.template,sha256=h5uqAN22FLaWrbPxIb8yVKH9cGDBrIwooXYYfsKhxDw,245
18
18
  azureml/registry/data/notes.md.template,sha256=zSRyOR__9NGL2j0tugY7HgFkwkAdcE2pJyyyGsz1SAk,248
19
19
  azureml/registry/data/validate_model_schema.py,sha256=OQp2E01kdxSphvUQYQvelSiD24-qUG6nTFuzW60wX2c,8322
@@ -27,12 +27,12 @@ azureml/registry/mgmt/model_management.py,sha256=STTr_uvdPKV2NaJ5UvS5aMi3yejVF6H
27
27
  azureml/registry/mgmt/syndication_manifest.py,sha256=8Sfd49QuCA5en5_mIOLE21kZVpnReUXowx_g0TVRgWg,9025
28
28
  azureml/registry/tools/__init__.py,sha256=IAuWWpGfZm__pAkBIxmpJz84QskpkxBr0yDk1TUSnkE,223
29
29
  azureml/registry/tools/config.py,sha256=tjPaoBsWtPXBL8Ww1hcJtsr2SuIjPKt79dR8iovcebg,3639
30
- azureml/registry/tools/create_or_update_assets.py,sha256=Q-_BV7KWn1huQn5JriKT_8xJNoQQ_HK5wCftrq9DepA,15988
30
+ azureml/registry/tools/create_or_update_assets.py,sha256=7LcuBzwU-HNE9ADG2igFXI696aKR028yTYxMuDtjVmA,16095
31
31
  azureml/registry/tools/registry_utils.py,sha256=zgYlCiOONtQJ4yZ9wg8tKVoE8dh6rrjB8hYBGhpV9-0,1403
32
32
  azureml/registry/tools/repo2registry_config.py,sha256=eXp_tU8Jyi30g8xGf7wbpLgKEPpieohBANKxMSLzq7s,4873
33
- azureml_registry_tools-0.1.0a20.dist-info/licenses/LICENSE.txt,sha256=n20rxwp7_NGrrShv9Qvcs90sjI1l3Pkt3m-5OPCWzgs,845
34
- azureml_registry_tools-0.1.0a20.dist-info/METADATA,sha256=uwEFH4N18_NWol3U6TiBM4JSoWimmf2sVgSKLdfZWUs,522
35
- azureml_registry_tools-0.1.0a20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
- azureml_registry_tools-0.1.0a20.dist-info/entry_points.txt,sha256=iRUkAeQidMnO6RQzpLqMUBTcyYtNzAfSin9WnSdVGLw,147
37
- azureml_registry_tools-0.1.0a20.dist-info/top_level.txt,sha256=ZOeEa0TAXo6i5wOjwBoqfIGEuxOcKuscGgNSpizqREY,8
38
- azureml_registry_tools-0.1.0a20.dist-info/RECORD,,
33
+ azureml_registry_tools-0.1.0a23.dist-info/licenses/LICENSE.txt,sha256=n20rxwp7_NGrrShv9Qvcs90sjI1l3Pkt3m-5OPCWzgs,845
34
+ azureml_registry_tools-0.1.0a23.dist-info/METADATA,sha256=HprALdWRfc7GdfU8IM8xflcYVGWfHauAksUtMqQd4Kk,522
35
+ azureml_registry_tools-0.1.0a23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
+ azureml_registry_tools-0.1.0a23.dist-info/entry_points.txt,sha256=iRUkAeQidMnO6RQzpLqMUBTcyYtNzAfSin9WnSdVGLw,147
37
+ azureml_registry_tools-0.1.0a23.dist-info/top_level.txt,sha256=ZOeEa0TAXo6i5wOjwBoqfIGEuxOcKuscGgNSpizqREY,8
38
+ azureml_registry_tools-0.1.0a23.dist-info/RECORD,,