-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Render valid value restrictions in tables based on object defin…
…itions in schema (#921) * Add function. * Flatten anyOfs of enums. * Render valid values in metadata tables. * Add valid values to column tables. * Drop coverage of certain types. Dropped types include anyOfs, pattern strings, format strings, and arrays. * Fix. * Actually fix? * Reincorporate changes. * Run black. * Remove "allowed values" from field descriptions. Those values will automatically be rendered from the associated enums. Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org>
- Loading branch information
1 parent
c0cacdc
commit 51e9f1b
Showing
5 changed files
with
110 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters