Skip to content

Commit

Permalink
file-based: add notImplemented error
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Feb 5, 2025
1 parent 4e5bb90 commit 1271e3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions airbyte_cdk/sources/file_based/file_based_stream_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,16 @@ def get_file_acl_permissions(self, file: RemoteFile, logger: logging.Logger) ->
This is required for connectors that will support syncing
ACL Permissions from files.
"""
...
raise NotImplementedError(
f"{self.__class__.__name__} must implement get_file_acl_permissions()"
)

@abstractmethod
def load_identity_groups(self, logger: logging.Logger) -> Iterable[Dict[str, Any]]:
"""
This is required for connectors that will support syncing
identities.
"""
...
raise NotImplementedError(
f"{self.__class__.__name__} must implement load_identity_groups()"
)

0 comments on commit 1271e3a

Please sign in to comment.