79479074

Date: 2025-03-02 12:22:14
Score: 0.5
Natty:
Report link

This is now possible with jsonschema-default>=1.8.0

import jsonschema_default

obj = {}
default_obj = jsonschema_default.fill_from(schema="<schema>", target=obj)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: samwise