Skip to content
Snippets Groups Projects

Configure Renovate

Merged Tine Wittler requested to merge renovate/configure into main
Files
3
+ 11
0
from django.forms import Form
from django_forms_as_jsonschema.schema import Schema
class JSONSchemaFormMixin:
def as_jsonschema(self: Form) -> str:
schema = Schema()
for name, field in self.fields.items():
schema.add_field(name, field)
return schema.schema
Loading