-
Notifications
You must be signed in to change notification settings - Fork 33
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 BYOC tags list/update/replace commands [MILK-337] #390
Conversation
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 you please add tests for new methods in client.py
afeb11e
to
18913b6
Compare
18913b6
to
e6f246d
Compare
e6f246d
to
c646e54
Compare
…10 and older - ease debugging
c646e54
to
094c0c6
Compare
json_data: dict[str, Any] | None = None, | ||
headers: dict[str, str] | None = None, | ||
content: bytes | None = None, | ||
): | ||
self.status_code = status_code | ||
self.status_code = status_code.value if isinstance(status_code, HTTPStatus) else status_code |
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.
Fixing str(HTTPStatus.OK) == "HTTPStatus.OK"
instead of "200" on python3.10 and older
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
This change adds the missing
avn byoc tags update
command that is shown in Aiven's public documentation, but not in Aiven CLI reference.It reuses the same syntax as
service tags
commands.I have tested it in a locally deployed BYOC.
MILK-337