Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aauker authored Apr 29, 2022
1 parent 5433547 commit 3baed77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions waystation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def get_dataset_view(dsid):

@app.route('/datasets/<string:dsid>/segments/<string:sid>', methods=['POST'])
def post_dataset_segment(dsid, sid):
logger.info(f"Recieved dataset request dsid={dsid}, sid={sid}")

minio = fs.S3FileSystem(scheme=s3_scheme, access_key=s3_access_key, secret_key=s3_secret_key, endpoint_override=s3_endpoint)

file_segment = request.files['segment_data']
Expand Down

0 comments on commit 3baed77

Please sign in to comment.