Skip to content

Commit

Permalink
file-based: remove abstract decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Jan 23, 2025
1 parent 7bfb8c3 commit 88af543
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions airbyte_cdk/sources/file_based/file_based_stream_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,12 @@ def _get_file_transfer_paths(self, file: RemoteFile, local_directory: str) -> Li
absolute_file_path = path.abspath(local_file_path)
return [file_relative_path, local_file_path, absolute_file_path]

@abstractmethod
def get_file_metadata(self, file: RemoteFile, logger: logging.Logger) -> Dict[str, Any]:
"""
This is required for connectors that will support syncing
metadata from files.
"""
...
return {}

def get_metadata_schema(self) -> Dict[str, Any]:
""" "
Expand Down

0 comments on commit 88af543

Please sign in to comment.