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

Add support for post_args on GraphAPI.put_object method (PR #108 update) #344

Closed
wants to merge 2 commits into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Feb 18, 2017

This should solve merge conflict on #108

Copy link
Member

@martey martey left a comment

Choose a reason for hiding this comment

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

This fixes the conflict for #108, but doesn't contain any of the more substantive changes (like updating the documentation or creating a test suite for put_object) that would make this mergeable.

@@ -143,29 +143,43 @@ def get_all_connections(self, id, connection_name, **args):
args = parse_qs(urlparse(next).query)
del args['access_token']

def put_object(self, parent_object, connection_name, **data):
def put_object(
self, parent_object, connection_name,post_args=None, **data):
Copy link
Member

Choose a reason for hiding this comment

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

There is a PEP8 issue on this line that is causing the linting test to fail.

feed = graph.get_connections("me", "feed")
post = feed["data"][0]
graph.put_object(post["id"], "comments", message="First!")

Copy link
Member

Choose a reason for hiding this comment

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

Why were these lines removed?

@martey
Copy link
Member

martey commented Nov 29, 2019

Closing this pull request, since the submitter never responded to my review and has deleted their Github account.

@martey martey closed this Nov 29, 2019
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.

1 participant