forked from equinor/fmu-dataio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: Complete adding docstrings to Pydantic models
Also adds them to enums, and renames some classes to remove the redundant `Enum` in the name or align with other names (i.e. FMUSomething as opposed to FmuSomething). Removing descriptions from the `Field(description="...")` also removes these descriptions from the schema right now. However, with Pydantic 2.7 (when we are able to upgrade to it), moving these descriptions to docstrings will add them back into the schema description. So this loss of fidelity is temporary.
- Loading branch information
Showing
18 changed files
with
359 additions
and
430 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.