django_to_galaxy.models.History
- class django_to_galaxy.models.History(*args, **kwargs)
Table for Galaxy history.
- __init__(*args, **kwargs)
Methods
__init__
(*args, **kwargs)check
(**kwargs)clean
()Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields.
clean_fields
([exclude])Clean all fields and raise a ValidationError containing a dict of all validation errors if any occur.
date_error_message
(lookup_type, field_name, ...)delete
(**kwargs)Overloaded method to also delete history on Galaxy side.
from_db
(db, field_names, values)full_clean
([exclude, validate_unique, ...])Call clean_fields(), clean(), validate_unique(), and validate_constraints() on the model.
get_constraints
()get_deferred_fields
()Return a set containing names of deferred fields for this instance.
get_next_by_create_time
(*[, field, is_next])get_previous_by_create_time
(*[, field, is_next])is_valid
()@TODO method to check if galaxy_id is still pointing to a valid element.
prepare_database_save
(field)refresh_from_db
([using, fields])Reload field values from the database.
save
([force_insert, force_update, using, ...])Save the current instance.
save_base
([raw, force_insert, force_update, ...])Handle the parts of saving which should be done only once per save, yet need to be done in raw saves, too.
serializable_value
(field_name)Return the value of the field name for this instance.
synchronize
()Synchronize data from Galaxy instance.
unique_error_message
(model_class, unique_check)upload_file
(file_path)Upload file to history.
validate_constraints
([exclude])validate_unique
([exclude])Check unique constraints on the model and raise ValidationError if any failed.
Attributes
annotation
Annotation on the galaxy side.
create_time
Time the invocation was created.
galaxy_history
Galaxy object using bioblend.
galaxy_id
Invocation id used on the galaxy side.
galaxy_owner
Galaxy user that owns the workflow.
galaxy_owner_id
galaxy_state
State on the galaxy side.
histories
Accessor to the related objects manager on the reverse side of a many-to-one relation.
id
A wrapper for a deferred-loading field.
name
Name used on the galaxy side.
objects
pk
published
Whether it is published or not on the galaxy side.
simplify_datasets
Simplified version of datasets from history.