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

Run ignore query #2322

Merged
merged 5 commits into from
Apr 3, 2024
Merged

Run ignore query #2322

merged 5 commits into from
Apr 3, 2024

Conversation

wild-endeavor
Copy link
Contributor

@wild-endeavor wild-endeavor commented Apr 3, 2024

Why are the changes needed?

When a query is detected, don't do anything, and just say that it'll be resolved. If running locally though, it must be specified.

What changes were proposed in this pull request?

Make it so that pyflyte just doesn't pass along queries.

How was this patch tested?

Tested locally, tested against union, and tested with local data

Setup process

Screenshots

Working
image

Help screen
image

Local error
image

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

Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

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

Project coverage is 81.88%. Comparing base (2cbdc99) to head (f850883).
Report is 7 commits behind head on master.

Files Patch % Lines
flytekit/core/artifact.py 15.62% 27 Missing ⚠️
flytekit/interaction/click_types.py 90.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2322      +/-   ##
==========================================
- Coverage   83.79%   81.88%   -1.91%     
==========================================
  Files         338      270      -68     
  Lines       25407    22457    -2950     
  Branches     3734     3542     -192     
==========================================
- Hits        21291    18390    -2901     
+ Misses       3485     3440      -45     
+ Partials      631      627       -4     

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

@wild-endeavor wild-endeavor marked this pull request as ready for review April 3, 2024 18:11
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 3, 2024
Signed-off-by: Yee Hing Tong <[email protected]>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 3, 2024
Signed-off-by: Yee Hing Tong <[email protected]>
@@ -274,7 +293,7 @@ def modify_literal_uris(lit: Literal):
SimpleType.STRING: click.STRING,
SimpleType.BOOLEAN: click.BOOL,
SimpleType.DURATION: DurationParamType(),
SimpleType.DATETIME: click.DateTime(),
SimpleType.DATETIME: DateTimeType(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch.

@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Apr 3, 2024
@wild-endeavor wild-endeavor merged commit 423a1eb into master Apr 3, 2024
47 of 49 checks passed
ChungYujoyce pushed a commit to ChungYujoyce/flytekit that referenced this pull request Apr 5, 2024
When a query is detected, don't do anything, and just say that it'll be resolved. If running locally though, it must be specified.

Signed-off-by: Yee Hing Tong <[email protected]>
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
When a query is detected, don't do anything, and just say that it'll be resolved. If running locally though, it must be specified.

Signed-off-by: Yee Hing Tong <[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:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants