Closed johnclary closed 5 years ago
@johnclary I'm not sure if you meant to submit this as a pull request, but I won't be able to accept this since it deletes the other parts of the library we are currently using in production.
I'm happy to discuss refactoring the ProviderClient
or api
module more to help your use-cases. You may also want to check out the work/ideas presented by @ezheidtmann in #46, which is similarly trying to improve the ProviderClient
.
@thekaveman i understand.
I don't expect this to be merged, but hopefully it contributes to the conversation around #35
Will look for activity on related issues and help where I can.
Definitely helps the conversation, thanks!
And apologies, I was too hasty in reading through your initial description and the code changes that I missed the line about this being more an exploration of an idea.
This PR refactors
api
as a standalone package. It deviates from the original client in that it:auth.py
andprovider.py
dependencies in favor ofurl
,auth_type
,token
, andheaders
args.OAuth
I don't expect this to be merged, but hopefully it contributes to the conversation around https://github.com/CityofSantaMonica/mds-provider/issues/35