snowflake.core.table.Constraint

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

Bases: object

Methods

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

Create an instance of Constraint from a dict

to_dict()

Returns the dictionary representation of the model using alias