-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: remove warning jina version missing from manifest #1619
Conversation
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
@@ -31,7 +31,7 @@ | |||
|
|||
_allowed = {'name', 'description', 'author', 'url', | |||
'documentation', 'version', 'vendor', 'license', 'avatar', | |||
'jina_version', 'platform', 'update', 'keywords'} | |||
'platform', 'update', 'keywords'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not there will it be allowed to be added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, we did accept to remove this right? I just want to remove the warning because it seems missleading
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Then maybe _allowed
is the wrong name for this variable. It should be _expected
or something like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do not need all of them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then it's not about being allowed
, it's about being required
, perhaps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not know what's the best logic or if there are required fields @deepankarm ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a list of required
& a list of _allowed
. ValueError
is raised if something is missing from required
& a warning is given if something is missing from _allowed
.
https://github.com/jina-ai/jina/blob/master/jina/docker/hubio.py#L590
Codecov Report
@@ Coverage Diff @@
## master #1619 +/- ##
==========================================
+ Coverage 84.14% 85.01% +0.87%
==========================================
Files 127 127
Lines 6642 6701 +59
==========================================
+ Hits 5589 5697 +108
+ Misses 1053 1004 -49
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
No description provided.