MCPcopy
hub / github.com/diffgram/diffgram / declare_export_failed

Function declare_export_failed

shared/export/export_generation.py:729–735  ·  view source on GitHub ↗
(
    export: Export,
    reason: str,
    session)

Source from the content-addressed store, hash-verified

727
728
729def declare_export_failed(
730 export: Export,
731 reason: str,
732 session):
733 export.status = "failed"
734 export.status_text = reason
735 session.add(export)
736
737
738setattr(Export, "build_packet", build_packet)

Callers 2

annotation_export_coreFunction · 0.85
check_for_errorsFunction · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected