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

Use default_public as default api key #744

Closed
Jesus89 opened this issue Jun 6, 2019 · 1 comment · Fixed by #752
Closed

Use default_public as default api key #744

Jesus89 opened this issue Jun 6, 2019 · 1 comment · Fixed by #752
Assignees

Comments

@Jesus89
Copy link
Member

Jesus89 commented Jun 6, 2019

set_default_context(
    base_url='https://cartovl.carto.com/',
    api_key='default_public'
)

c = Context(
    base_url='https://cartovl.carto.com/',
    api_key='default_public'
)

Should be equivalent to:

set_default_context('https://cartovl.carto.com/')

c = Context('https://cartovl.carto.com/')

What do you think about this proposal @andy-esch

@andy-esch
Copy link
Contributor

Love it! :)

@Jesus89 Jesus89 added this to the Release v0.11 milestone Jun 7, 2019
@Jesus89 Jesus89 self-assigned this Jun 10, 2019
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 a pull request may close this issue.

2 participants