Skip to content

Support custom export for ODCS #814

@gautierc-thelio

Description

@gautierc-thelio

Hello,

We would like to generate custom exports directly from ODCS.

Currently, --format custom flag calls custom_export.py that only deals with DCS.
#783 introduced html export using an odcs-specific default template.

To export using a custom template with DCS, user need to provide the following :

datacontract export --format custom --template my_template.jinja datacontract.yaml

Actual behavior :
Use {{ data_contract }} in your custom templates, but it exposes DCS fields only.

Expected behaviour :
{{ data_contract }} exposes all the fields relative to ODCS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions