def METHOD_NAME(project: "Project") -> List["Dataset"]:
    """List all datasets in a project.
    Args:
        project: The current project
    Returns:
        List["Dataset"]: A list of all datasets in the supplied project.
    """
    if not project.repository or not has_graph_files():
        return []
    dataset_gateway = DatasetGateway()
    return [Dataset._from_dataset(d) for d in dataset_gateway.get_all_active_datasets()]