Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6 api client creation #214

Merged
merged 1 commit into from
Dec 11, 2018
Merged

Conversation

okraskaj
Copy link
Member

@okraskaj okraskaj commented Dec 3, 2018

* Introduces single variable local proxy instead of decorator- before we
depended on the with_api_client decorator, and the click context- now it's only
one LocalProxy.
* Removes Client class because it was using inheritance (from BaseAPIClient)
and it wasn't a correct relation. Without it it was just a collection of static
methods so we decided to leave them as separate functions.
* Removes mock_base_api_client fixture because it was returning a Client class
instance, when the class is no longer present. Something similar is
necessery because now we have a repeating code in lots of places-see the
issue: reanahub#219 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants