FNNDSC / FNNDSC/openapi-clients
No method for getting file_resource
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In order to get `file_resource`, you need to make the HTTP request manually e.g.
```python
req = client.call_api('GET', file.file_resource,
header_params={'Authorization': config.get_basic_auth_token()})
req.read()
data = client.response_deserialize(
response_data=req,
response_types_map={'200': 'bytes'}
).data
assert type(data) is bytes
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Python client's existing methods and the client.call_api and response_deserialize entry points used in the example. Identify how file_resource is represented and verify that the new method handles the response as bytes; done means callers no longer need to make the HTTP request manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100