EasyPost / easypost-python

EasyPost Shipping API Client Library for Python
https://easypost.com/docs/api
MIT License
111 stars 57 forks source link

easypost client #273

Closed Justintime50 closed 1 year ago

Justintime50 commented 1 year ago

Description

Adds the new EasyPostClient object allowing for thread-safety. The repo is in a hybrid stage where the old way of doing things still exists but we're able to introduce the new approach as well. In follow-up PRs, I'll add the remaining services/models, eventually remove the old code for each, then cleanup the requester and all related code for actually making requests. This allows the current test suite to remain for now while letting us switch over to the new approach.

Testing

Pull Request Type

Please select the option(s) that are relevant to this PR.

wildsparx commented 1 year ago

The underscore solution sounds fine to me. It's a convention that you can expect the caller to respect.