Skip to content

Commit

Permalink
PAGE API: add __hash__ to generated code
Browse files Browse the repository at this point in the history
... so instances of generateDS-generated class can be used as keys in dict etc.
  • Loading branch information
kba committed Feb 19, 2020
1 parent b063737 commit c8ae6af
Show file tree
Hide file tree
Showing 3 changed files with 652 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ generate-page: repo/assets
generateDS \
-f \
--root-element='PcGts' \
--user-methods='ocrd_models/ocrd_page_user_methods.py' \
-o ocrd_models/ocrd_models/ocrd_page_generateds.py \
repo/assets/data/schema/data/$(PAGE_VERSION).xsd

Expand Down
Loading

0 comments on commit c8ae6af

Please sign in to comment.