Skip to content

Commit

Permalink
docs: update transform_keyfile_json method
Browse files Browse the repository at this point in the history
  • Loading branch information
jbandoro committed Aug 16, 2023
1 parent fa9041f commit 05fb91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmos/profiles/bigquery/service_account_keyfile_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def profile(self) -> dict[str, Any | None]:

def transform_keyfile_json(self, keyfile_json: str | dict[str, str]) -> dict[str, str]:
"""
Transforms the keyfile_json param to a dict if it is a string, and
sets environment variables for the service account credentials.
Transforms the keyfile_json param to a dict if it is a string, and sets environment
variables for the service account json secret fields.

Check warning on line 57 in cosmos/profiles/bigquery/service_account_keyfile_dict.py

View check run for this annotation

Codecov / codecov/patch

cosmos/profiles/bigquery/service_account_keyfile_dict.py#L56-L57

Added lines #L56 - L57 were not covered by tests
"""
if isinstance(keyfile_json, dict):
keyfile_json_dict = keyfile_json
Expand Down

0 comments on commit 05fb91f

Please sign in to comment.