-
Notifications
You must be signed in to change notification settings - Fork 352
Add region, extra_headers and extra_query_params #1505
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
Add region, extra_headers and extra_query_params #1505
Conversation
d1f7ade to
32797f3
Compare
32797f3 to
6756df1
Compare
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.
The updated method definitions have not been reflected in the sample provided in api.py, documentation, and examples. It has to be fixed.
f473f2f to
f018d84
Compare
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.
Make sure to update API.md and README.md for:
- Minio() → keyword-only arguments
- metadata → user_metadata
| region = self._get_region(bucket_name) | ||
| region = self._get_region( | ||
| bucket_name=bucket_name, | ||
| region=region, |
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.
Missing: extra_headers and extra_query_params
4a7e0ff to
a665857
Compare
be2de6b to
eb1ce77
Compare
|
@csumisha @sivanantham-gnanavel fixed docs |
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.
Overall, good job! I do have a few concerns here. First and foremost, this PR implies major version bump for anyone updating as such. Is that expected? Thank you! 😇
@rraulinio Yes. It is a breaking change and leads to major version upgrade i.e. v8.0.0. The version number will be set at the time of release. |
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
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
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.
README.md. README_zh_CN.md, docs/zh_CN/API.md still have the old functional call. Please fix those.
fdfb021
eb1ce77 to
fdfb021
Compare
Now all APIs accepts region, extra_headers and extra_query_params additional arguments for more control. Signed-off-by: Bala.FA <[email protected]>
fdfb021 to
613785f
Compare
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.
Can we fix here README_zh_CN.md - line no 42 and docs/zh_CN/API.md line no 11 and 23
@balamurugana as per our discussion, we will not be fixing these since these docs are not valid anymore. |
Uh oh!
There was an error while loading. Please reload this page.