-
Notifications
You must be signed in to change notification settings - Fork 98
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
File parameter doesn't propagate the file name #201
Comments
diegodelemos
pushed a commit
to diegodelemos/reana-server
that referenced
this issue
Oct 12, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 12, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-client
that referenced
this issue
Oct 12, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-client
that referenced
this issue
Oct 12, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-server
that referenced
this issue
Oct 19, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-client
that referenced
this issue
Oct 19, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-server
that referenced
this issue
Oct 19, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
diegodelemos
pushed a commit
to diegodelemos/reana-server
that referenced
this issue
Oct 19, 2017
* Adds a redundant field `file_name` since bravado client doesn't propagate the file name. Waiting for Yelp/bravado-core#201 to be implemented. Signed-off-by: Diego Rodriguez <[email protected]>
Facing the same problem. Any ETA on the fix? |
still having this issue, is there any work around for it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am wondering if you had in mind when you designed
add_file
that you are naming the file after the spec parameter name inbravado_core/param.py
.Given this parameter spec:
Here in
bravado_core/param.py
:So when you receive this file in the server (i.e. Flask) you end up with something like this:
However, what one would expect would be something like:
For doing so, something like the following would be needed:
👍 to @prat0318 comment in #53
But it would change some of the existing tests since you are using StringIO to generate files which doesn't implement fully file object interface (attributes such as
name
are missing)The question is, would it be feasible to do such a change? If so I would volunteer to make a PR and amend tests.
The text was updated successfully, but these errors were encountered: