Skip to content

Commit

Permalink
file-based: add NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Feb 11, 2025
1 parent 4105c3c commit a6d1b62
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__} required to support 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__} required to support load_identity_groups()"
)

0 comments on commit a6d1b62

Please sign in to comment.