Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Continue For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr
N/A django.db transaction orchestra.models Certification orchestra.models WorkerCertification orchestra.models Workflow N/A logging N/A logger N/A N/A logging getLogger __name__ migrate_certifications N/A N/A source_workflow_slug destination_workflow_slug certification_slugs N/A N/A N/A source_worker_certifications N/A N/A N/A WorkerCertification objects filter certification__workflow__slug source_workflow_slug N/A source_workflow N/A N/A N/A Workflow objects get slug source_workflow_slug N/A source_certifications N/A source_workflow certifications N/A certification_slugs N/A N/A source_certifications N/A N/A source_certifications filter slug__in certification_slugs N/A not_found_certifications N/A N/A set certification_slugs N/A set N/A list N/A N/A source_certifications values_list slug flat True N/A not_found_certifications N/A N/A N/A N/A logger exception N/A N/A Certifications {} don't exist for the source workflow format not_found_certifications N/A source_certification N/A N/A source_certifications all N/A N/A certification_slug N/A source_certification slug N/A N/A N/A logger warning N/A N/A Migrating {} certifications from {} to {}... format certification_slug source_workflow_slug destination_workflow_slug N/A N/A N/A destination_certification N/A N/A N/A Certification objects get workflow__slug destination_workflow_slug slug certification_slug N/A N/A N/A N/A Certification DoesNotExist N/A N/A N/A N/A logger exception N/A N/A Certification {} doesn't exist for the destination workflow format certification_slug destination_workflow_slug N/A N/A worker_certification N/A N/A N/A N/A source_worker_certifications filter certification source_certification order_by role N/A N/A N/A N/A N/A WorkerCertification objects get_or_create certification destination_certification worker N/A worker_certification worker task_class N/A worker_certification task_class role N/A worker_certification role N/A N/A transaction atomic