-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vehicle): add request method to Vehicle (#106)
Add a new general purpose and BSE related method request(self, method: str, path: str, body: dict = {}, headers: dict = {}) -> types.Response to Vehicle that allows for making requests to the Smartcar API. Also adds new type Response to types.py. Test Plan: create a simple app with my Smartcar Developer account and make requests with this method once it's in prod. Asana: https://app.asana.com/0/1201332815308984/1201617268953139/f * feat(vehicle): add general purpose and BSE request method * fix: make Response type "meta" attribute namedtuple instead of dict * extra checks for batch request response
- Loading branch information
1 parent
3bf067d
commit abec89d
Showing
3 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters