Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions easyDataverse/dataverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def dataset_types(self) -> Dict[str, DatasetType]:
return {}

def _connect(self) -> None:
"""Connects to a Dataverse installation and adds all metadtablocks as classes.
"""Connects to a Dataverse installation and adds all metadatablocks as classes.

You can access each of the given metadatablocks and
fill these with your metadata by accessing via the
Expand All @@ -147,7 +147,7 @@ def _connect(self) -> None:
be accessed the same way as other fields (its just nested)
or in the case of "multiple" be added via dedicated add-methods.

dataset.citation.description(text="Description") -> Adds a description
dataset.citation.add_ds_description(value="Description") -> Adds a description

Args:
url (AnyHttpUrl): URL to the Dataverse installation
Expand Down