Skip to content

Commit d2e7b1f

Browse files
committed
Remove old API
1 parent 5b6dc12 commit d2e7b1f

41 files changed

Lines changed: 26 additions & 6598 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/commercetools/base_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from commercetools.constants import HEADER_CORRELATION_ID
1212
from commercetools.exceptions import CommercetoolsError
1313
from commercetools.helpers import _concurrent_retry
14-
from commercetools.services import ServicesMixin
1514
from commercetools.utils import BaseTokenSaver, DefaultTokenSaver, fix_token_url
1615
from commercetools.version import __version__
1716

@@ -233,7 +232,7 @@ def _get_user_agent(self):
233232
)
234233

235234

236-
class Client(BaseClient, ServicesMixin):
235+
class Client(BaseClient):
237236
def __init__(self, *args, **kwargs):
238237
super().__init__(*args, **kwargs)
239238
self._base_url = f"{self._config['url']}/{self._config['project_key']}/"

src/commercetools/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
from .constants import HEADER_CORRELATION_ID
1212
from .exceptions import CommercetoolsError
1313
from .protocols import Model
14-
from .services import ServicesMixin
1514

1615

17-
class Client(BaseClient, ServicesMixin):
16+
class Client(BaseClient):
1817
def __init__(self, *args, **kwargs):
1918
warnings.warn(
2019
"This client interface will be removed in the near future, "

src/commercetools/services/__init__.py

Lines changed: 0 additions & 296 deletions
This file was deleted.

src/commercetools/services/abstract.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)