Describe the bug
I often collect shared pydantic Field definitions in classes for grouping purposes.
Now it seems there is no completion for instances of pydantic.Field
To Reproduce
import pydantic
class M:
field_1 = pydantic.Field(description="abc")
desc = field_1. # try to complete to `.description` here
def test_():
assert M.field_1.description == "abc"
assert M.desc == "abc"
Expected behavior
I expect the available fields of Field
to be shown for completion.
Screenshots
Environments (please complete the following information):
Additional context
Add any other context about the problem here.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too