Skip to content

Commit b410187

Browse files
author
maxi297
committed
fix mypy
1 parent de09ae8 commit b410187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/retrievers/file_uploader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(
2424
def upload(self, record: Record) -> None:
2525
# TODO validate record shape - is the transformation applied at this point?
2626
mocked_response = SafeResponse()
27-
mocked_response.content = json.dumps(record.data)
27+
mocked_response.content = json.dumps(record.data).encode()
2828
download_target = list(self._download_target_extractor.extract_records(mocked_response))[0]
2929
if not isinstance(download_target, str):
3030
raise ValueError(

0 commit comments

Comments
 (0)