snowflake.core.table.UniqueKey

class snowflake.core.table.UniqueKey(name: str | None = None, column_names: List[str] | None = None)

Bases: ConstraintModel

Methods

__init__(name: str | None = None, column_names: List[str] | None = None)
classmethod from_dict(obj: dict) UniqueKeyModel

Create an instance of UniqueKey from a dict

to_dict()

Returns the dictionary representation of the model using alias