Publication class¶
The Publication class is a helper class to store information about publications in the GWLandscape database.
They can be created, updated, deleted and obtained using the GWLandscape class.
- class gwlandscape_python.publication_type.Publication(client: gwlandscape_python.gwlandscape.GWLandscape, id: str, author: str, published: bool, title: str, year: int, journal: str, journal_doi: str, dataset_doi: str, description: str, public: bool, download_link: str, arxiv_id: str, creation_time: str, keywords: list)¶
Bases:
object- delete()¶
Remove this Publication from the GWLandscape database
- update(author=None, title=None, arxiv_id=None, published=None, year=None, journal=None, journal_doi=None, dataset_doi=None, description=None, public=None, download_link=None, keywords=None)¶
Update this Publication in the GWLandscape database
- Parameters
author (str, optional) – The author of the publication, by default None
title (str, optional) – The title of the publication, by default None
arxiv_id (str, optional) – The arxiv id of the publication, by default None
published (bool, optional) – If the publication was published in a journal/arXiv, by default None
year (int, optional) – The year of the publication, by default None
journal (str, optional) – The name of the journal, by default None
journal_doi (str, optional) – The DOI of the publication, by default None
dataset_doi (str, optional) – The DOI of the dataset, by default None
description (str, optional) – A description of the publication, by default None
public (bool, optional) – If the publication has been made public (visible to the public), by default None
download_link (str, optional) – A link to download the publication/dataset, by default None
keywords (list, optional) – A list of str or
Keywordobjects for the publication, by default None
- Returns
Updated Publication
- Return type