Skip to content

V4 chart_studio: Delete existing file before creating rather than update #1625

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

Merged
merged 2 commits into from
Jun 18, 2019

Conversation

jonmmease
Copy link
Contributor

Hopefully addresses #1622.

It looks like the update endpoint (https://api.plot.ly/v2/files#update) only updates the metadata of a file, not the content. So with this PR we manually delete existing files/grids with the same name and then use create to upload.

cc @michaelbabyn

@jonmmease jonmmease merged commit a06bd15 into v4_integration Jun 18, 2019
@jonmmease jonmmease deleted the v4_chart_studio_overwrite branch June 18, 2019 12:59
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.

1 participant