@@ -42,19 +42,23 @@ def publicly_available_notice(fetched_notice_data, normalised_metadata_dict) ->
4242 notice = Notice (ted_id = ted_id )
4343 notice .set_xml_manifestation (xml_manifestation )
4444 notice .set_original_metadata (original_metadata )
45- notice ._rdf_manifestation = RDFManifestation (object_data = "RDF manifestation content" ,
45+ notice ._status = NoticeStatus .INDEXED
46+ notice .set_normalised_metadata (NormalisedMetadata (** normalised_metadata_dict ))
47+ notice ._status = NoticeStatus .ELIGIBLE_FOR_TRANSFORMATION
48+ notice .set_preprocessed_xml_manifestation (xml_manifestation )
49+ notice ._status = NoticeStatus .DISTILLED
50+ notice .set_rdf_manifestation (RDFManifestation (object_data = "RDF manifestation content" ,
4651 shacl_validations = [shacl_validation ],
4752 sparql_validations = [sparql_validation ],
4853 xpath_coverage_validation = xpath_coverage_validation
49- )
50- notice ._distilled_rdf_manifestation = RDFManifestation (object_data = "RDF manifestation content" ,
54+ ))
55+ notice .set_distilled_rdf_manifestation ( RDFManifestation (object_data = "RDF manifestation content" ,
5156 shacl_validations = [shacl_validation ],
5257 sparql_validations = [sparql_validation ],
5358 xpath_coverage_validation = xpath_coverage_validation
54- )
55- notice ._mets_manifestation = METSManifestation (object_data = "METS manifestation content" )
56- notice ._normalised_metadata = NormalisedMetadata (** normalised_metadata_dict )
57- notice ._preprocessed_xml_manifestation = xml_manifestation
59+ ))
60+ notice ._status = NoticeStatus .ELIGIBLE_FOR_PACKAGING
61+ notice .set_mets_manifestation (METSManifestation (object_data = "METS manifestation content" ))
5862 notice ._status = NoticeStatus .PUBLICLY_AVAILABLE
5963 return notice
6064
0 commit comments