Usage

Main code for interacting with APICURON.

class Achievement(**data)[source]

An achievement.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

DESCRIPTION_URL = 'https://apicuron.bio.unipd.it/api/update_description'

The endpoint for updating the description

class Description(**data)[source]

The description.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

update_remote()[source]

Update this description on the APICURON site.

Return type

Response

RESUBMISSION_URL = 'https://apicuron.org/api/resubmit_activity'

An endpoint for total resubmission

class Report(**data)[source]

A report on a single curation event.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

activity_term: str

Corresponds to the :Term.activity_term in an entry in Description.terms_def list

class Submission(**data)[source]

A full submission.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

update_remote()[source]

Update this resource on the APICURON site.

Return type

Response

class Term(**data)[source]

A term.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

resubmit_curations(payload)[source]

Submit curations data.

Return type

Response

submit_description(payload)[source]

Submit resource data.

Return type

Response