Skip to content

Conversation

@yaelgen
Copy link
Member

@yaelgen yaelgen commented Jan 4, 2026

📝 Description

Deprecate the experiment parameter in submit_pipeline as part of the gradual deprecation plan.

This PR emits a warning when experiment is explicitly passed, while keeping backward compatibility and existing behavior intact. The parameter remains functional in versions 1.11–1.12 and will be removed in 1.13.


🛠️ Changes Made

  • Added a FutureWarning when the experiment parameter is passed to submit_pipeline
  • Marked the experiment parameter as deprecated in the function docstring
  • No behavioral or API changes beyond the warning

✅ Checklist

  • I updated the documentation (if applicable)
  • I have tested the changes in this PR
  • I confirmed whether my changes are covered by system tests
    • If yes, I ran all relevant system tests and ensured they passed before submitting this PR
    • I updated existing system tests and/or added new ones if needed to cover my changes
  • If I introduced a deprecation:
    • I followed the Deprecation Guidelines
    • I updated the relevant Jira ticket for documentation

🧪 Testing

  • Manually verified that calling submit_pipeline with the experiment parameter emits a FutureWarning
  • Verified that pipeline submission behavior remains unchanged

🔗 References


🚨 Breaking Changes?

  • Yes (explain below)
  • No

yaelgen added 27 commits August 16, 2023 14:24
# Conflicts:
#	server/api/utils/builder.py
#	tests/api/utils/test_builder.py
@yaelgen yaelgen changed the title Ml 11454 [Pipelines] Add deprecation warning for experiment in submit_pipeline csharp Copy code Jan 4, 2026
@yaelgen yaelgen changed the title [Pipelines] Add deprecation warning for experiment in submit_pipeline csharp Copy code [Pipelines] Add deprecation warning for experiment in submit_pipeline Jan 4, 2026
@yaelgen yaelgen changed the title [Pipelines] Add deprecation warning for experiment in submit_pipeline [Pipelines] Deprecate experiment parameter in submit_pipeline Jan 4, 2026
@liranbg liranbg merged commit 56bb421 into mlrun:development Jan 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants