Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default_project in register_launch_plan #2215

Merged

Conversation

ChungYujoyce
Copy link
Contributor

Tracking issue

Closes flyteorg/flyte#4889

Why are the changes needed?

Use default_project and default_domain when users don't setup project and domain in register_launch_plan

What changes were proposed in this pull request?

Add self.default_project and self.default_domain in SerializationSettings initialization.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 26, 2024
@ChungYujoyce ChungYujoyce changed the title Add default_project in register_launch_plan Add default_project in register_launch_plan Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 85.99%. Comparing base (3be927c) to head (e19fa0b).
Report is 12 commits behind head on master.

Files Patch % Lines
flytekit/remote/remote.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2215      +/-   ##
==========================================
+ Coverage   85.84%   85.99%   +0.14%     
==========================================
  Files         314      320       +6     
  Lines       24021    24246     +225     
  Branches     3639     3666      +27     
==========================================
+ Hits        20621    20850     +229     
+ Misses       2759     2745      -14     
- Partials      641      651      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pingsutw
pingsutw previously approved these changes Feb 29, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Feb 29, 2024
@eapolinario eapolinario merged commit f1b5eba into flyteorg:master Mar 4, 2024
90 of 92 checks passed
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
* Add default_project in register_launch_plan

Signed-off-by: ChungYujoyce <[email protected]>

* lint

Signed-off-by: Kevin Su <[email protected]>

---------

Signed-off-by: ChungYujoyce <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Co-authored-by: Kevin Su <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants