Skip to content

Commit f144f98

Browse files
committed
file-api: add created_at to schema
1 parent e9474c7 commit f144f98

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

airbyte_cdk/sources/file_based/file_record_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ class FileRecordData(BaseModel):
1818
bytes: int
1919
source_uri: str
2020
id: Optional[str] = None
21+
created_at: Optional[str] = None
2122
updated_at: Optional[str] = None
2223
mime_type: Optional[str] = None

airbyte_cdk/sources/file_based/schema_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"source_uri": {"type": "string"},
2828
"bytes": {"type": "integer"},
2929
"id": {"type": ["null", "string"]},
30+
"created_at": {"type": ["null", "string"]},
3031
"updated_at": {"type": ["null", "string"]},
3132
"mime_type": {"type": ["null", "string"]},
3233
},

0 commit comments

Comments
 (0)