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 05bc2cb commit 3565455Copy full SHA for 3565455
airbyte_cdk/sources/declarative/retrievers/file_uploader.py
@@ -57,12 +57,12 @@ def upload(self, record: Record) -> None:
57
file_size_bytes = full_path.stat().st_size
58
59
logger.info("File uploaded successfully")
60
- logger.info(f"File path: {full_path} ")
+ logger.info(f"File url: {str(full_path)} ")
61
logger.info(f"File size: {file_size_bytes / 1024} KB")
62
- logger.info(f"File download target: {download_target}")
+ logger.info(f"File relative path: {str(file_relative_path)}")
63
64
record.file_reference = AirbyteRecordMessageFileReference(
65
- file_url=download_target,
+ file_url=str(full_path),
66
file_relative_path=str(file_relative_path),
67
file_size_bytes=file_size_bytes,
68
)
0 commit comments