Libcove

Latest version: v0.32.1

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

0.6.0

Added

- cache_all_requests config option, off by default
- New function libcove.tools.get_request(). Pass it a config and it will use cache_all_requests option to decide whether to cache or not. (Also has force_cache option)
- load_codelist function now takes a config option, and will cache requests if set (Uses new get_request function)
- load_core_codelists function now takes a config option, and will cache requests if set.
- SchemaJsonMixin will check a config varible in the class as well as cache_schema variable (Uses new get_request function)

Changed

- Put more data into the error JSON returned, when grouping validation errors. This will allow different CoVEs to write their own validation messages. [14](https://github.com/OpenDataServices/lib-cove/pull/14)

0.5.0

Added

- Return specific validation errors for `oneOf`, by using `statementType` to pick the correct sub-schema. Only works for BODS. [cove-bods16](https://github.com/openownership/cove-bods/issues/16)

0.4.0

Changed

- Require jsonschema version before 2.7
- Put validator type into the context https://github.com/OpenDataServices/cove/issues/1117

Fixed
- filter_conversion_warnings in converters.py - fix deprecation of logger.warn to logger.warning.

0.3.1

Fixed

- get_file_type fix - when passed a Django file object to a JSON file without the .json extension, will detect as 'json'

0.3.0

Added

- convert_spreadsheet passes xml_comment to flatten_tool

0.2.1

Fixed

- Fix broken key names that caused problems for IATI

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.