Skip to content

Commit

Permalink
wip: adding from_yaml to CogniteClient
Browse files Browse the repository at this point in the history
  • Loading branch information
nodegard committed Jul 23, 2024
1 parent 5500135 commit ab02470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cognite/client/_cognite_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ def from_yaml(cls, file_path: str | Path) -> CogniteClient:

env_dict = dict(os.environ) # FIXME: is load_dotenv() needed?

# TODO: get all missing env vars and raise error if any (without using 3.11 Template attributes)
# if not sub_template.is_valid(): # type: ignore[attr-defined]
# raise ValueError("Invalid template")

Expand Down

0 comments on commit ab02470

Please sign in to comment.