Config.set()#

relationalai
#Config.set(name: str, value: Any) -> None

Set a configuration parameter value.

Parameters#

NameTypeDescription
namestrThe name of the configuration parameter to set.
valueAnyThe value to set the configuration parameter to.

Returns#

None

Example#

Use .set() to set the value of a configuration parameter:

#import relationalai as rai

cfg = rai.Config()
cfg.set("account", "<SNOWFLAKE_ACCOUNT>")
cfg.set("warehouse", "<SNOWFLAKE_WAREHOUSE>")
cfg.set("user", "<SNOWFLAKE_USER>")
cfg.set("password", "<SNOWFLAKE_PASSWORD>")

See Valid Profile Keys for a list of configuration parameters.

See Also#