project.ontology.update.completed
Python model
ProjectOntologyUpdateCompletedEvent — from kili_events import ProjectOntologyUpdateCompletedEvent
Description
This event is raised when an update of existing assets to an ontology version has walked all its assets. It carries the results; each updated asset also raised asset.ontology.updated.
Properties
event
- Required
- The name of the event.
- Constant value: "project.ontology.update.completed"
project_id
- Required
- Type:
string - Id of the project the assets belong to.
user_id
- Required
- Type:
string - Id of the user who started the update.
organization_id
- Required
- Type:
string - Id of the organization in which the project was created.
payload
- Required
- Type:
object -
update_id- Required
- Type:
string - Id of the update, as in project.ontology.update.started.
to_version- Required
- Type:
integer - The ontology version the assets were updated to.
- Range: ≥ 1
Properties
-
updated_count- Required
- Type:
integer - Assets that got a new label on the version.
- Range: ≥ 0
-
cleaned_up_count- Required
- Type:
integer - Among them, those whose new label lost content the version no longer has.
- Range: ≥ 0
-
removed_annotations_count- Required
- Type:
integer - Annotations and answers those new labels lost.
- Range: ≥ 0
-
skipped_draft_count- Required
- Type:
integer - Assets skipped because a draft is in progress.
- Range: ≥ 0
-
skipped_consensus_count- Required
- Type:
integer - Assets skipped because their latest labels are consensus labels.
- Range: ≥ 0
-
skipped_required_job_count- Required
- Type:
integer - Assets skipped because the new label would leave a required job empty.
- Range: ≥ 0
-
failed_count- Required
- Type:
integer - Assets the update could not process.
- Range: ≥ 0
event
- Required
- The name of the event.
- Constant value: "project.ontology.update.completed"
projectId
- Required
- Type:
string - Id of the project the assets belong to.
userId
- Required
- Type:
string - Id of the user who started the update.
organizationId
- Required
- Type:
string - Id of the organization in which the project was created.
payload
- Required
- Type:
object -
updateId- Required
- Type:
string - Id of the update, as in project.ontology.update.started.
toVersion- Required
- Type:
integer - The ontology version the assets were updated to.
- Range: ≥ 1
Properties
-
updatedCount- Required
- Type:
integer - Assets that got a new label on the version.
- Range: ≥ 0
-
cleanedUpCount- Required
- Type:
integer - Among them, those whose new label lost content the version no longer has.
- Range: ≥ 0
-
removedAnnotationsCount- Required
- Type:
integer - Annotations and answers those new labels lost.
- Range: ≥ 0
-
skippedDraftCount- Required
- Type:
integer - Assets skipped because a draft is in progress.
- Range: ≥ 0
-
skippedConsensusCount- Required
- Type:
integer - Assets skipped because their latest labels are consensus labels.
- Range: ≥ 0
-
skippedRequiredJobCount- Required
- Type:
integer - Assets skipped because the new label would leave a required job empty.
- Range: ≥ 0
-
failedCount- Required
- Type:
integer - Assets the update could not process.
- Range: ≥ 0