MCPcopy
hub / github.com/hackerkid/Mind-Expanding-Books / book_has_all_fields

Function book_has_all_fields

utils/update_json_files.py:22–27  ·  view source on GitHub ↗
(book)

Source from the content-addressed store, hash-verified

20
21
22def book_has_all_fields(book):
23 for required_field in required_fields:
24 if required_field not in existing_book:
25 print(f"Missing {required_field}")
26 return False
27 return True
28
29
30def clean_category(category_raw):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected