18 lines
825 B
Markdown
18 lines
825 B
Markdown
While `ormar` will work with any IDE there is a PyCharm `pydantic` plugin that enhances the user experience for this IDE.
|
|
|
|
Plugin is available on the JetBrains Plugins Repository for PyCharm: [plugin page][plugin page].
|
|
|
|
You can install the plugin for free from the plugin marketplace
|
|
(PyCharm's Preferences -> Plugin -> Marketplace -> search "pydantic").
|
|
|
|
!!!note
|
|
For plugin to work properly you need to provide valid type hints for model fields.
|
|
|
|
!!!info
|
|
Plugin supports type hints, argument inspection and more but mainly only for __init__ methods
|
|
|
|
More information can be found on the
|
|
[official plugin page](https://plugins.jetbrains.com/plugin/12861-pydantic)
|
|
and [github repository](https://github.com/koxudaxi/pydantic-pycharm-plugin).
|
|
|
|
[plugin page]: https://plugins.jetbrains.com/plugin/12861-pydantic |