Skip to content

Commit c7de126

Browse files
author
Akhil Lawrence
committed
snowflake: role & warehouse is optional when logging with key pair
1 parent f0cb821 commit c7de126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

great_expectations/datasource/fluent/snowflake_datasource.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ class KeyPairConnectionDetails(FluentBaseModel):
408408
description="`database` that the Datasource is mapped to.",
409409
)
410410
schema_: str = pydantic.Field(..., alias="schema") # schema is a reserved attr in BaseModel
411-
warehouse: str
412-
role: str
411+
warehouse: str | None
412+
role: str | None
413413
private_key: Union[ConfigStr, str]
414414

415415
@classmethod

0 commit comments

Comments
 (0)