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

Update README.rst #116

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

Update README.rst #116

wants to merge 1 commit into from

Conversation

brettandersonddw
Copy link

An ApiClient instance is done by calling the api_client() function within the datadotworld module:
import datadotworld as dw
client = dw.api_client()

currently the README treats api_client as though it's a property. when we run
import datadotworld as dw
client = dw.api_client
client.get_user_data()
we receive the response:
AttributeError: 'function' object has no attribute 'get_user_data'

An ApiClient instance is done by calling the api_client() function within the datadotworld module:
import datadotworld as dw
client = dw.api_client()

currently the README treats api_client as though it's a property.  when we run
import datadotworld as dw
client = dw.api_client
client.get_user_data()
we receive the response:
AttributeError: 'function' object has no attribute 'get_user_data'
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

Successfully merging this pull request may close these issues.

2 participants