Skip to content

Commit

Permalink
test file return format conv
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Jan 13, 2023
1 parent 9029637 commit 8c0de7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/oasisapi/files/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def validate(self, attrs):
if self.parquet_storage and attrs['file'].content_type == 'text/csv':
try:
attrs['file'].seek(0)
import ipdb; ipdb.set_trace()
temp_df = ods_tools.read_csv(io.BytesIO(attrs['file'].read()))

# Create new UploadedFile object
Expand Down

0 comments on commit 8c0de7e

Please sign in to comment.