Skip to content

Commit 01af8ff

Browse files
fix unit tests
1 parent 6cb4153 commit 01af8ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airbyte_cdk/sources/file_based/config/file_based_stream_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def validate_input_schema(cls, v: Optional[str]) -> Optional[str]:
9090
return None
9191

9292
@root_validator
93-
def validate_discovery_related_fields(cls, values):
93+
def validate_discovery_related_fields(cls, values: dict) -> dict:
9494
"""
9595
Please update this validation when new related to schema discovery field is added.
9696
Validates schema discovery options compatability.

unit_tests/sources/file_based/scenarios/csv_scenarios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@
488488
"use_first_found_file_for_schema_discovery": {
489489
"default": False,
490490
"description": "When enabled, the source will use the first found file for schema discovery. Helps to avoid long discovery step",
491-
"title": "Use first found file for schema discovery",
491+
"title": "Use First Found File For Schema Discover",
492492
"type": "boolean",
493493
},
494494
},

0 commit comments

Comments
 (0)