Skip to content

api: Implement PATCH /realm endpoint. #605

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clarammdantas
Copy link

This adds API binds for /realm endpoint.

'''
Example usage:

>>> client.update_realm({'digest_weekday': 0', 'signup_notifications_stream_id': -1})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The quoting here seems likely hand-written and wrong. E.g. the 0 with a quote on only one side of it.

Please be sure to test your examples!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, sorry! I write it by hand indeed, actually, I copy/paste the example of the /realm documentation on zulip.yaml. I'll do an actual request and copy the result here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this still isn't resolved.

@timabbott
Copy link
Member

Generally looks good, but posted a comment on the example :)

@zulipbot
Copy link
Member

Heads up @clarammdantas, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.

@timabbott
Copy link
Member

@clarammdantas can you rebase this one?

@clarammdantas
Copy link
Author

Oh, I completely forgot about this! Sorrry, I'm rebasing it and fiing that example.

@PIG208
Copy link
Member

PIG208 commented Jun 14, 2021

Looks like we can rebase it and do some extra testings to get this merged. LGTM overall.

@PIG208
Copy link
Member

PIG208 commented Jun 14, 2021

@clarammdantas do you have time to finish this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants