We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de09ae8 commit b410187Copy full SHA for b410187
airbyte_cdk/sources/declarative/retrievers/file_uploader.py
@@ -24,7 +24,7 @@ def __init__(
24
def upload(self, record: Record) -> None:
25
# TODO validate record shape - is the transformation applied at this point?
26
mocked_response = SafeResponse()
27
- mocked_response.content = json.dumps(record.data)
+ mocked_response.content = json.dumps(record.data).encode()
28
download_target = list(self._download_target_extractor.extract_records(mocked_response))[0]
29
if not isinstance(download_target, str):
30
raise ValueError(
0 commit comments