Open skasberger opened 3 years ago
As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python
Add safety mechanism, so that by default for production instances some API functions are not available.
The idea is, that you have to explicitly pass an attribute to force the functionality, so that you don't do unwanted changes to a production Instance.
Prepare
PRODUCTION="false"
to avoid this. If not set, or true, it blocks some functionsforce
to defined functions. by defaultFalse
publish_dataset()
??destroy_dataset()
??delete_dataset()
??publish_dataverse()
??delete_dataverse()
??delete_datafile()
??Actions
Review
Follow-Ups