Skip to content

Commit

Permalink
git commit omit none values in doctest #71
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-RLI committed Jan 19, 2024
1 parent 6da0b9b commit 8992ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/oep_metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ new metadata format by using the respective dialect
.. doctest::

>>> dialect1_4 = OEP_V_1_4_Dialect()
>>> dialect1_4._compiler.OMIT_NONE_FIELDS = True
>>> dialect1_4.compile(parsed)
{'id': 'unique_id', 'metaMetadata': {'metadataVersion': 'OEP-1.4.0', 'metadataLicense': {'name': 'CC0-1.0', 'title': 'Creative Commons Zero v1.0 Universal', 'path': 'https://creativecommons.org/publicdomain/zero/1.0/'}}}

0 comments on commit 8992ff8

Please sign in to comment.