SemanticInfo structure

Definition of structures, which are used to hold informations about catalogization process.

class aleph.datastructures.semanticinfo.SemanticInfo[zdroj]

This structure is used to represent informations about export progress in Aleph.

It contains informations about state of the record, so it can be tracked from edeposit project.

See toSemanticInfo() for details of parsing of those attributes.

hasAcquisitionFields

bool – Was the record aproved by acquisition?

acquisitionFields

list – Acquisition fields if it the record was signed.

ISBNAgencyFields

list – Was the record approved by ISBN agency? Contains list of signs if it the record was signed.

descriptiveCatFields

list – Did the record get thru name description (jmenný popis). Contains list of signs if it the record was signed.

descriptiveCatReviewFields

list – Did the record get thru name revision (jmenná revize). Contains list of signs if it the record was signed.

subjectCatFields

list – Did the record get thru subject description (věcný popis). Contains list of signs if it the record was signed.

subjectCatReviewFields

list – Did the record get thru subject revision (věcná revize). Contains list of signs if the record was signed.

isClosed

bool – Was the record closed? This sometimes happen when bad ISBN is given by creator of the record, but different is in the book.

isSummaryRecord

bool – Is the content of FMT == “SE”?

contentOfFMT

str, default “” – Content of FMT subrecord.

parsedSummaryRecordSysNumber

str – Same as summaryRecordSysNumber but without natural language details.

summaryRecordSysNumber

str – Identificator of the new record if .isClosed is True. Format of the string is not specified and can be different for each record.

static from_xml(xml)[zdroj]

Pick informations from MARCXMLRecord object and use it to build SemanticInfo structure.

Parametry:xml (str/MARCXMLRecord) – MarcXML which will be converted to SemanticInfo. In case of str, <record> tag is required.
Vrací:SemanticInfo.
Typ návratové hodnoty:
 structure