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

Don't recreate existing files #11

Open
chaoran-chen opened this issue Nov 19, 2022 · 0 comments
Open

Don't recreate existing files #11

chaoran-chen opened this issue Nov 19, 2022 · 0 comments

Comments

@chaoran-chen
Copy link
Member

Current behavior:

The /save endpoint will generate and save new plots upon every call. If plots already exist for the same request/hash, the old files will be overwritten.

Desired behavior:

Before generating the plots, the /save endpoint should check the file system to see whether the plots already exist. If yes, it should just return the path.

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

1 participant