snowflake.snowpark.catalog.Catalog.get_view¶
- Catalog.get_view(view_name: str, *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, SchemaModel]] = None) View[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.41.0/src/snowflake/snowpark/catalog.py#L365-L384)¶
Get the view by name in given database and schema. If database or schema are not provided, get the view in the current database and schema.
- Parameters:
view_name – name of the view.
database – database name or
Databaseobject. Defaults to None.schema – schema name or
Schemaobject. Defaults to None.