Skip to content

Commit f8179ec

Browse files
committed
file-mode-api: remove unused fields from file-based schema
1 parent 682598b commit f8179ec

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

airbyte_cdk/sources/file_based/file_record_data.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,5 @@ class FileRecordData(BaseModel):
1818
bytes: int
1919

2020
id: Optional[str] = None
21-
created_at: Optional[int] = None
22-
updated_at: Optional[int] = None
21+
updated_at: Optional[str] = None
2322
mime_type: Optional[str] = None
24-
description: Optional[str] = None

airbyte_cdk/sources/file_based/schema_helpers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
"file_name": {"type": "string"},
2727
"bytes": {"type": "integer"},
2828
"id": {"type": ["null", "string"]},
29-
"created_at": {"type": ["null", "integer"]},
30-
"updated_at": {"type": ["null", "integer"]},
29+
"updated_at": {"type": ["null", "string"]},
3130
"mime_type": {"type": ["null", "string"]},
32-
"description": {"type": ["null", "string"]},
3331
},
3432
}
3533

0 commit comments

Comments
 (0)