Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 447 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 447 Bytes

A Star Wars API wrapper with Python 3.7 data classes

main.py shows how to wrap one of the routes of the Star Wars API. The wrapper object StarWarsMovie uses the Python 3.7 @dataclass decorator to automatically generate boilerplate code.

See the python_36 branch to see a Python 3.6 version of the same code.