def METHOD_NAME(
    self,
    schema_name: str,
    catalog_name: t.Optional[str] = None,
) -> t.List[DataObject]:
    """
    Returns all the data objects that exist in the given schema and catalog.
    """
    catalog_name = f"[{catalog_name}]" if catalog_name else "master"
    query = f"""
        SELECT
            '{catalog_name}' AS catalog_name,
            TABLE_NAME AS name,
            TABLE_SCHEMA AS schema_name,
            'TABLE' AS type
        FROM {catalog_name}.INFORMATION_SCHEMA.TABLES
        WHERE TABLE_SCHEMA LIKE '%{schema_name}%'
        UNION ALL
        SELECT
            '{catalog_name}' AS catalog_name,
            TABLE_NAME AS name,
            TABLE_SCHEMA AS schema_name,
            'VIEW' AS type
        FROM {catalog_name}.INFORMATION_SCHEMA.VIEWS
        WHERE TABLE_SCHEMA LIKE '%{schema_name}%'
    """
    dataframe: pd.DataFrame = self.fetchdf(query)
    return [
        DataObject(
            catalog=row.catalog_name,  # type: ignore
            schema=row.schema_name,  # type: ignore
            name=row.name,  # type: ignore
            type=DataObjectType.from_str(row.type),  # type: ignore
        )
        for row in dataframe.itertuples()
    ]