You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
PyCharm points out that other is no field on inner.
Compare with actual.other where the unresolved reference is triggering a warning.
Screenshots
Environments (please complete the following information):
IDE: PyCharm 2024.1.1
OS: macOS 14.4.1
Pydantic Version 2.7.0
Plugin version 0.4.13
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
chbndrhnns
changed the title
Does not mark unresolved references for beyond the root model
Does not mark unresolved references for optional inner models
Apr 22, 2024
Describe the bug
Missing warning for unresolved reference.
To Reproduce
Expected behavior
PyCharm points out that
other
is no field oninner
.Compare with
actual.other
where the unresolved reference is triggering a warning.Screenshots
![Screenshot 2024-04-22 at 13 38 57](https://private-user-images.githubusercontent.com/7534547/324445341-84e7c0e8-d4da-436f-81b4-d8e2f618beda.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDA1MjYsIm5iZiI6MTczOTQ0MDIyNiwicGF0aCI6Ii83NTM0NTQ3LzMyNDQ0NTM0MS04NGU3YzBlOC1kNGRhLTQzNmYtODFiNC1kOGUyZjYxOGJlZGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDk1MDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGZlNDQxOGE3NDUxOGYyM2Y0YTRiMjNmNmZmY2VhYWQ3NDBkMTVhM2UxN2Q2NGNjZTEwYzIzYjZmYWFhY2VhZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.oeMB-idRXMZjA5ZjTHppvGA0zeaVVVPz9IQixB8wcNs)
Environments (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: