Skip to content

Commit 87e407e

Browse files
committed
file-based: fix wrong typos
1 parent 8b6212a commit 87e407e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

airbyte_cdk/sources/file_based/file_based_stream_permissions_reader.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def config(self, value: AbstractFileBasedSpec) -> None:
3131
Note: FileBasedSource only requires the keys defined in the abstract config, whereas concrete implementations of StreamReader
3232
will require keys that (for example) allow it to authenticate with the 3rd party.
3333
34-
Therefore, concrete implementations of AbstractFileBasedStreamReader's config setter should assert that `value` is of the correct
34+
Therefore, concrete implementations of AbstractFileBasedStreamPermissionsReader's's config setter should assert that `value` is of the correct
3535
config type for that type of StreamReader.
3636
"""
3737
...
@@ -61,7 +61,7 @@ def load_identity_groups(self, logger: logging.Logger) -> Iterable[Dict[str, Any
6161
This function should return the Identities in a determined "space" or "domain" where the file metadata (ACLs) are fetched and ACLs items (Identities) exists.
6262
6363
e.g.
64-
def load_identity_groups(self, logger: logging.Logger) -> Dict[str, Any]:
64+
def load_identity_groups(self, logger: logging.Logger) -> Iterable[Dict[str, Any]]:
6565
api_conn = some_api.conn(credentials=SOME_CREDENTIALS)
6666
users_api = api_conn.users()
6767
groups_api = api_conn.groups()
@@ -87,7 +87,7 @@ def file_permissions_schema(self) -> Dict[str, Any]:
8787
8888
e.g.
8989
def file_permissions_schema(self) -> Dict[str, Any]:
90-
# you can also follow the patter we have for python connectors and have a json file and read from there e.g. schemas/identities.json
90+
# you can also follow the pattern we have for python connectors and have a json file and read from there e.g. schemas/identities.json
9191
return {
9292
"type": "object",
9393
"properties": {
@@ -113,7 +113,7 @@ def identities_schema(self) -> Dict[str, Any]:
113113
114114
e.g.
115115
def identities_schema(self) -> Dict[str, Any]:
116-
# you can also follow the patter we have for python connectors and have a json file and read from there e.g. schemas/identities.json
116+
# you can also follow the pattern we have for python connectors and have a json file and read from there e.g. schemas/identities.json
117117
return {
118118
"type": "object",
119119
"properties": {

0 commit comments

Comments
 (0)