Skip to content

Commit a50905b

Browse files
committed
file-mode-api: add source_uri to schema
1 parent 8623551 commit a50905b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

airbyte_cdk/sources/file_based/file_record_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class FileRecordData(BaseModel):
1616
folder: str
1717
filename: str
1818
bytes: int
19-
19+
source_uri: str
2020
id: Optional[str] = None
2121
updated_at: Optional[str] = None
2222
mime_type: Optional[str] = None

airbyte_cdk/sources/file_based/schema_helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
"properties": {
2525
"folder": {"type": "string"},
2626
"file_name": {"type": "string"},
27+
"source_uri": {"type": "string"},
2728
"bytes": {"type": "integer"},
2829
"id": {"type": ["null", "string"]},
2930
"updated_at": {"type": ["null", "string"]},
30-
"mime_type": {"type": ["null", "string"]},
31+
"mime_type": {"type": ["null", "string"]}
3132
},
3233
}
3334

0 commit comments

Comments
 (0)