Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Aug 23, 2024
1 parent b5123bb commit adf2819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions materializationengine/blueprints/materialize/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def post(self, datastack_name: str):
return 200


response_model = api.model(
response_model = mat_bp.model(
"Response", {"message": fields.String(description="Response message")}
)

Expand All @@ -412,8 +412,8 @@ class DumpTableToBucketAsCSV(Resource):
@reset_auth
@auth_requires_admin
@mat_bp.doc("Take table or view and dump it to a bucket as csv", security="apikey")
@api.response(200, "Success", response_model)
@api.response(500, "Internal Server Error", response_model)
@mat_bp.response(200, "Success", response_model)
@mat_bp.response(500, "Internal Server Error", response_model)
def post(self, datastack_name: str, version: int, table_name: str):
"""Dump table to bucket as csv
Expand Down

0 comments on commit adf2819

Please sign in to comment.