Skip to content
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

Adding fetch_upload method to client #678

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ponni-M
Copy link

@Ponni-M Ponni-M commented Apr 18, 2021

@timabbott
Copy link
Sponsor Member

@Ponni-M can you restructure the commits to first refactor the /api/ prefix stuff, with a commit message explaining why that's correct, and then one adding the new endpoint?

Check out the Zulip commit message guidelines for more details: https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages

effective_url = API_VERSTRING + effective_url
accesswithAPI = True
return self.do_api_query(marshalled_request, effective_url, method=method,
longpolling=longpolling, files=files, timeout=timeout, accesswithAPI = accesswithAPI)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think accesswithAPI = accessVersionedAPI makes more sense, we don't need a separate variable accesswithAPI.

@LoopThrough-i-j
Copy link
Contributor

LoopThrough-i-j commented May 25, 2021

@Ponni-M thanks for working on this, added a comment.
Everything else LGTM.

@zulipbot
Copy link
Member

Heads up @Ponni-M, 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/main branch and resolve your pull request's merge conflicts accordingly.

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.

None yet

4 participants