question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

azureml sdk V2 component pipeline "optional Input <variable_name> must be placed in nested argument: $[[]]."

See original GitHub issue
  • Package Name: azure-ai-ml
  • Package Version: 0.1.0b6
  • Operating System: ubuntu
  • Python Version: 3.8.12

Describe the bug A component I’m building has an optional argument, it seems like over night that all of our pipelines that were making use of optional arguments fail to launch from our launch scripts resulting in an error that reads "optional Input <variable_name> must be placed in nested argument: $[[]]." Removing the optional argument seems to allow the pipeline to launch as expected

I’m currently using mldesigner version 0.1.0b4, I have tried upgrading to 0.1.0b5 and that resulted in a different crash when launching the pipeline due to an import error from the azure-ai-ml package EDIT: To get mldesigner 0.1.0b5 to work I installed the latest commit on the azure-ai-ml 0.1.0b7 branch and that fixed the crash I originally had with mldesigner 0.1.0b5, but gives me the same optional argument crashed in the title of this issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
palmersscommented, Sep 16, 2022

awesome, @0mza987 , I just tested this and it works, tyvm for the rapid response, looking forward to 0.1.0b6

0reactions
luigiwcommented, Sep 16, 2022

Thx @cloga and @palmerss for the quick reply and turn around!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced entry script authoring - Azure - Microsoft Learn
Learn how to write Azure Machine Learning entry scripts for pre- and post-processing during deployment.
Read more >
Document 'optional' argument supported in AzureML ... - GitHub
I tried it out, then received an error "In command "xxx", optional input yyy must be placed in nested argument: []." when submitting...
Read more >
Default parameters in nested yaml pipeline Azure DevOps
So in this case, by default I expect that my variable fooTemplate will set the value of the variable foo inside my task_template1.yml...
Read more >
Understanding Azure DevOps Variables [Complete Guide]
Learn just about every concept variables in this article and apply this knowledge to your Azure DevOps Pipelines to automate all the things....
Read more >
Machine Learning on Azure - Part 3 — Blog - Vlad Rișcuția
We use the Python Azure Machine Learning SDK for this, so the first step ... We set this variable in part 2, after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found