dont cache schema (#1836)

This commit is contained in:
Madison Dunitz
2020-09-15 11:20:00 -05:00
committed by GitHub
parent 9fac6849a3
commit 4f339e89b1
+2 -1
View File
@@ -233,7 +233,8 @@ class DatasetResource(Resource):
class SchemaAPI(DatasetResource):
@cache_control(public=True, max_age=ONE_WEEK)
# TODO @mdunitz separate dataset schema and user schema
@cache_control(no_store=True)
@rest_get_data_adaptor
def get(self, data_adaptor):
return common_rest.schema_get(data_adaptor)