You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
statementDate is not a required field. When I run this example file (4a-simple-pep-declaration.json) through CoVE, I get the following error:
Traceback (most recent call last):
File "/home/kadie/code/lib-cove-bods/.ve/bin/libcovebods", line 11, in <module>
load_entry_point('libcovebods', 'console_scripts', 'libcovebods')()
File "/home/kadie/code/lib-cove-bods/libcovebods/cli/__main__.py", line 19, in main
file_type='json'
File "/home/kadie/code/lib-cove-bods/libcovebods/api.py", line 38, in bods_json_output
common_checks_bods(context, output_dir, json_data, schema_bods, lib_cove_bods_config=lib_cove_bods_config)
File "/home/kadie/code/lib-cove-bods/libcovebods/common_checks.py", line 18, in common_checks_bods
'statistics': get_statistics(json_data),
File "/home/kadie/code/lib-cove-bods/libcovebods/lib/common_checks.py", line 79, in get_statistics
year = int(statement['statementDate'].split('-')[0])
KeyError: 'statementDate'
The text was updated successfully, but these errors were encountered:
statementDate is not a required field. When I run this example file (4a-simple-pep-declaration.json) through CoVE, I get the following error:
The text was updated successfully, but these errors were encountered: