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

Fixes boundary conditions for literal convertor #2596

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Conversation

kumare3
Copy link
Contributor

@kumare3 kumare3 commented Jul 22, 2024

Why are the changes needed?

Cases in which no inputs are specified this fails if the converter is invoked. This adds boundary conditions. this only gets invoked if someone invokes it directly or in the agent case.

What changes were proposed in this pull request?

Check if no inputs are specified return immediately

How was this patch tested?

locally

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

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

Project coverage is 50.35%. Comparing base (11585d1) to head (9a55e6c).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
flytekit/core/type_engine.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2596      +/-   ##
==========================================
+ Coverage   49.85%   50.35%   +0.49%     
==========================================
  Files         196      199       +3     
  Lines       20128    20436     +308     
  Branches     2929     2604     -325     
==========================================
+ Hits        10035    10290     +255     
- Misses       9562     9618      +56     
+ Partials      531      528       -3     

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

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
@eapolinario eapolinario enabled auto-merge (squash) October 10, 2024 00:51
@eapolinario eapolinario merged commit 6049948 into master Oct 10, 2024
105 of 106 checks passed
otarabai pushed a commit to otarabai/flytekit that referenced this pull request Oct 15, 2024
* Fixes boundary conditions for literal convertor

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>

* Better fix

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>

---------

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Ketan Umare <kumare3@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
kumare3 added a commit that referenced this pull request Nov 8, 2024
* Fixes boundary conditions for literal convertor

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>

* Better fix

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>

---------

Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Ketan Umare <kumare3@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants