MCPcopy
hub / github.com/diffgram/diffgram / check_for_errors

Function check_for_errors

shared/export/export_generation.py:713–726  ·  view source on GitHub ↗
(
    export: Export,
    session)

Source from the content-addressed store, hash-verified

711
712
713def check_for_errors(
714 export: Export,
715 session):
716 # Could also have a "warnings" thing in future
717 # This is different from the "check_export_billing" section
718
719 if export.file_list_length == 0:
720 declare_export_failed(
721 export = export,
722 reason = "File List is Empty. Have tasks been completed? Potential Fix: To view all files: Un-select 'Complete Files Only'.",
723 session = session)
724 return False
725
726 return True
727
728
729def declare_export_failed(

Callers 1

annotation_export_coreFunction · 0.85

Calls 1

declare_export_failedFunction · 0.85

Tested by

no test coverage detected