Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

'VehicleGuidModel' object has no attribute 'model_dump_json' #373

Open
AndreaCovelli opened this issue Oct 27, 2024 · 1 comment · May be fixed by #392
Open

'VehicleGuidModel' object has no attribute 'model_dump_json' #373

AndreaCovelli opened this issue Oct 27, 2024 · 1 comment · May be fixed by #392
Labels

Comments

@AndreaCovelli
Copy link

When running simple_client_example.py and decommenting the line
pp.pprint(car._dump_all()) # pylint: disable=W0212

the python script returns an error saying:

AttributeError: 'VehicleGuidModel' object has no attribute 'model_dump_json'

Investigating the code, I found that the attribute isn't specified inside the code, maybe because it should be retrieved by the api for my specific car model. For info, the car is a toyota yaris cross. Thanks for reading.

@CM000n
Copy link
Collaborator

CM000n commented Jan 27, 2025

Thx for reporting.
It's Possibly a remnant that should actually be removed. Commented out places in the code are naturally not really maintained 😉
I'll take a look at it when I get the chance.

@CM000n CM000n linked a pull request Jan 28, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants