Allow default values on asset-type pipeline component inputs in load_component#47021
Closed
Copilot wants to merge 1 commit into
Closed
Allow default values on asset-type pipeline component inputs in load_component#47021Copilot wants to merge 1 commit into
default values on asset-type pipeline component inputs in load_component#47021Copilot wants to merge 1 commit into
Conversation
Copilot
AI
changed the title
[WIP] Recreate PR #47020: Allow default values on asset-type inputs in pipeline
Allow May 20, 2026
default values on asset-type pipeline component inputs in load_component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
load_componentrejected pipeline component YAMLs that definedefaultfor asset-type inputs (uri_file,uri_folder,mltable,mlflow_model,custom_model), despite support in the public CLI v2 schema/backend. This PR aligns SDK deserialization/validation behavior with that schema.Input combination validation
IOConstants.INPUT_TYPE_COMBINATIONto allowdefaultfor asset input types:uri_file,uri_folder,mltable,mlflow_model,custom_modelYAML schema deserialization
defaultfields to asset input schemas so YAMLdefault:is materialized instead of rejected/dropped:DataInputSchemaModelInputSchemaMLTableInputSchemaInputdefault semantics for asset typesInput._update_defaultfor non-primitive asset inputs:strdefault (e.g.,azureml:/URL/path)InputdefaultCoverage for pipeline component behavior
Changelog
sdk/ml/azure-ai-ml/CHANGELOG.md.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
centralus-2.in.applicationinsights.azure.com/home/REDACTED/bin/azsdk /home/REDACTED/bin/azsdk ingest-telemetry --client-type copilot-cli --event-type skill_invocation --session-id a6f1498e-00c2-474f-9319-05595f7709d8 --skill-name find-package-skill(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.