schema_salad.codegen

Generate language specific loaders for a particular SALAD schema.

Attributes

FIELD_SORT_ORDER

Functions

codegen(lang, i, schema_metadata, loader[, target, ...])

Generate classes with loaders for the given Schema Salad description.

Module Contents

schema_salad.codegen.FIELD_SORT_ORDER = ['class', 'id', 'name']
schema_salad.codegen.codegen(lang, i, schema_metadata, loader, target=None, examples=None, package=None, copyright=None, spdx_copyright_text=None, spdx_license_identifier=None, parser_info=None)

Generate classes with loaders for the given Schema Salad description.

Parameters:
Return type:

None