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

Move lightweight call to init rather than every function signature #105

Closed
limx0 opened this issue Jul 9, 2017 · 2 comments
Closed

Move lightweight call to init rather than every function signature #105

limx0 opened this issue Jul 9, 2017 · 2 comments

Comments

@limx0
Copy link

limx0 commented Jul 9, 2017

Would it be possible to just pass a lightweight flag to the APIClient rather than to every function? I think it's more likely people would use it for all/none of their API calls rather than for specific API calls.

Thoughts?

@liampauling
Copy link
Member

You mean like this:

https://github.com/liampauling/betfairlightweight/blob/master/betfairlightweight/apiclient.py#L8

@limx0
Copy link
Author

limx0 commented Jul 9, 2017

Sorry - I got caught off-gaurd by the lightweight kwargs everywhere.

def list_competitions(self, filter=market_filter(), locale=None, session=None, lightweight=None)

Cheers

@limx0 limx0 closed this as completed Jul 9, 2017
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