Files
pydantic/changes/1581-therefromhere.md
T
John Carter ff20477521 Apply __modify_schema__ on enum schema rather than fields that use it (#1581)
* Apply __modify_schema__ on enum schema rather than fields that use it

Resolves #1576

* tweak test

* correct linting :-(

Co-authored-by: Samuel Colvin <s@muelcolvin.com>
2020-06-29 13:22:27 +01:00

96 B

Make __modify_schema__ on Enums apply to the enum schema rather than fields that use the enum.