cmem-plugin-yaml 1.1.0
“Load and parse YAML documents.”
Parses JSON data with PythonPython pathlib opens binary output
SHA-25636ebf974d574b736bd639e6c6eae5d88b8be88988ecd6b77e67986afc4a8158e
MaleculeH₂(Db₂F)
Evidence
298:48… implemented yet: '{self.source_mode}'") from error
299 with Path.open(file_yaml, "wb") as writer:
300 get_input(writer)
301 return file_yaml
302
303 def _provide_output_json_entities(self, …
305:46… tf-8") as reader:
306 json_code = reader.read()
307 schema = EntitySchema(type_uri="urn:x-json:document", paths=[EntityPath(path="json-src …
335:55… ntities | None:
336 """Output as entities"""
337 data = json.loads(Path.open(file_json, encoding="utf-8").read())
338 return build_entities_from_data(data=data)
339
340 def _provide_output(self …
370:22… n(json_file, "w", encoding="utf-8") as json_writer:
371 json.dump(yaml_content, json_writer)
372 if logger:
373 logger.info(f"JSON written to {json_file}")
374 return json_file
No evidence locations were recorded for this file. Raw result