Skip to content

Commit b5d4bb1

Browse files
committed
Merge branch 'main' into brian/allow_for_user_defined_cursor_fields
2 parents 3036dfc + 80b7668 commit b5d4bb1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

airbyte_cdk/sources/file_based/file_based_stream_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def upload(
207207
mime_type=file.mime_type,
208208
created_at=file.created_at,
209209
updated_at=file.updated_at,
210-
source_uri=file.uri,
210+
source_uri=file.source_uri,
211211
)
212212
file_reference = AirbyteRecordMessageFileReference(
213213
staging_file_url=local_file_path,

airbyte_cdk/sources/file_based/remote_file.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,10 @@ def file_uri_for_logging(self) -> str:
5555
Returns the URI for the file being logged.
5656
"""
5757
return self.uri
58+
59+
@property
60+
def source_uri(self) -> str:
61+
"""
62+
Returns the Source URI for the file being logged.
63+
"""
64+
return self.uri

0 commit comments

Comments
 (0)