dmr.py - v1.0.0
Breaking Changes:
The DMR object has been refactored, and now only contains class methods to scrape data and validate license plates. This means that this code is invalid now:
vehicle = DMR(license_plate).get_by_plate()
It should now be:
vehicle = DMR.get_by_plate(license_plate)
Same thing with get_by_plate_async
.
Models added
New models have now been added and can be viewed in this folder. The base class returned from the scraper is Vehicle, that includes all the other classes and enums in it's attributes.
What's Changed
- Bump pydantic from 2.1.1 to 2.2.1 by @dependabot in #4
- Bump pydantic from 2.2.1 to 2.3.0 by @dependabot in #5
- Merge v1.0.0 update by @j4asper in #6
New Contributors
- @dependabot made their first contribution in #4
- @j4asper made their first contribution in #6
Full Changelog: 0.0.9...1.0.0