dicogis.publishing.report module

Outcome of a publication, whatever the catalog.

class dicogis.publishing.report.PublishReport(published=0, ignored=0, failed=0, up_to_date=0, errors=<factory>, added_fields=<factory>, canceled=False)

Bases: object

Outcome of a publication run.

published

files sent to the catalog

ignored

files left out: not from DicoGIS, or already published

failed

files whose publication failed

up_to_date

files with nothing to add to their record in the catalog

errors

error messages

added_fields

names of the fields added to a record of the catalog, by file

canceled

the run was interrupted, the counters tell what was done until then

__init__(published=0, ignored=0, failed=0, up_to_date=0, errors=<factory>, added_fields=<factory>, canceled=False)
added_fields: dict[str, list[str]]
canceled: bool = False
errors: list[str]
failed: int = 0
ignored: int = 0
published: int = 0
property total: int

Total number of files examined.

up_to_date: int = 0