Provenance¶
Extract provenance information from the repository.
Represent an execution of a Plan.
- class renku.domain_model.provenance.activity.Activity(*args, **kwargs)[source]¶
Bases:
renku.infrastructure.persistent.Persistent
Represent an activity in the repository.
- compare_to(other)[source]¶
Compare execution date with another activity; return a positive value if self is executed after the other.
- delete(when=datetime.datetime(2023, 3, 31, 14, 7, 6, 565830, tzinfo=datetime.timezone(datetime.timedelta(0), 'UTC')))[source]¶
Mark the activity as deleted.
- property deleted¶
Return if the activity was deleted.
- classmethod from_plan(plan, repository, project_gateway, started_at_time, ended_at_time, annotations=None, id=None)[source]¶
Convert a
Plan
to aActivity
.
- class renku.domain_model.provenance.activity.ActivityCollection(*args, **kwargs)[source]¶
Bases:
renku.infrastructure.persistent.Persistent
Represent a list of activities.
- class renku.domain_model.provenance.activity.Association(*, agent, id, plan)[source]¶
Bases:
object
Assign responsibility to an agent for an activity.
- class renku.domain_model.provenance.activity.Generation(*, entity, id)[source]¶
Bases:
renku.infrastructure.immutable.Immutable
Represent an act of generating a path.
- class renku.domain_model.provenance.activity.HiddenUsage(*, entity, id)[source]¶
Bases:
renku.domain_model.provenance.activity.Usage
Represent a dependent path corresponding to a
HiddenInput
.
- class renku.domain_model.provenance.activity.Usage(*, entity, id)[source]¶
Bases:
renku.infrastructure.immutable.Immutable
Represent a dependent path.
- class renku.domain_model.provenance.activity.WorkflowFileActivityCollection(*args, **kwargs)[source]¶
Bases:
renku.domain_model.provenance.activity.ActivityCollection
Represent activities of a workflow file execution.
Represent provenance agents.
- class renku.domain_model.provenance.agent.Agent(*, id, name, **kwargs)[source]¶
Bases:
renku.infrastructure.immutable.Slots
Represent executed software.
- property full_identity¶
Return the identity of this Agent.
- class renku.domain_model.provenance.agent.Person(*, affiliation=None, alternate_name=None, email=None, id=None, name)[source]¶
Bases:
renku.domain_model.provenance.agent.Agent
Represent a person.
- property full_identity¶
Return name, email, and affiliation.
- property short_name¶
Gives full name in short form.
- class renku.domain_model.provenance.agent.SoftwareAgent(*, id, name, **kwargs)[source]¶
Bases:
renku.domain_model.provenance.agent.Agent
Represent executed software.
Represent an annotation for a workflow.
- class renku.domain_model.provenance.annotation.Annotation(*, id, body=None, source=None)[source]¶
Bases:
object
Represents a custom annotation for a research object.
Classes for tracking parameter values in provenance.