Describe the bug
When using pydantic plugin with hiberbee dark colorscheme I get inconsistent/incorrect coloring when using a pydantic class. It seems to me that this is only happening if class contains members with default arguments but unsure if this is expected behavior.
To Reproduce
Steps to reproduce the behavior:
from pydantic import BaseModel
class TestModel(BaseModel):
code: int
status: str
foo: int = 1
if __name__ == '__main__':
a = TestModel(code=1, status="Test")
print(a.json())
b = TestModel(code=1, status="Test", foo=2)
print(b.json())
Expected behavior
Coloring should be consistent with default behavior.
Screenshots
With both pydantic and hiberbee enabled:
Environments (please complete the following information):
Additional context
None
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