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

Can't specify 'id' as a keyword argument in get_object() #197

Closed
dursk opened this issue Feb 26, 2015 · 2 comments
Closed

Can't specify 'id' as a keyword argument in get_object() #197

dursk opened this issue Feb 26, 2015 · 2 comments

Comments

@dursk
Copy link

dursk commented Feb 26, 2015

Since id is being used as a positional argument name in get_object(), we cannot pass id as a keyword argument, which, can be necessary for certain graph queries.

Doing something like the following:

graph.get_object('comments', id='https://example.com')

will result in:

TypeError: get_object() got multiple values for keyword argument 'id'
@dursk dursk changed the title Can't specify 'id' as an arg in get_object() Can't specify 'id' as a keyword argument in get_object() Feb 26, 2015
@dursk
Copy link
Author

dursk commented Feb 26, 2015

Pull Request: #198

@martey
Copy link
Member

martey commented Feb 26, 2015

Closing; will discuss this on the pull request.

@martey martey closed this as completed Feb 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants