Skip to content

Commit a963d2d

Browse files
committed
Use proper MRO when using a mixin
1 parent 1522cd7 commit a963d2d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

scrapinghub/client/collections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
from ..hubstorage.collectionsrt import Collection as _Collection
77

8-
from .proxy import _Proxy, _DownloadableProxyMixin
8+
from .proxy import _Proxy
99
from .utils import update_kwargs
1010

1111

12-
class Collections(_Proxy, _DownloadableProxyMixin):
12+
class Collections(_Proxy):
1313
"""Access to project collections.
1414
1515
Not a public constructor: use :class:`~scrapinghub.client.projects.Project`

scrapinghub/client/items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .proxy import _ItemsResourceProxy, _DownloadableProxyMixin
44

55

6-
class Items(_ItemsResourceProxy, _DownloadableProxyMixin):
6+
class Items(_DownloadableProxyMixin, _ItemsResourceProxy):
77
"""Representation of collection of job items.
88
99
Not a public constructor: use :class:`~scrapinghub.client.jobs.Job`

scrapinghub/client/logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .utils import LogLevel
88

99

10-
class Logs(_ItemsResourceProxy, _DownloadableProxyMixin):
10+
class Logs(_DownloadableProxyMixin, _ItemsResourceProxy):
1111
"""Representation of collection of job logs.
1212
1313
Not a public constructor: use :class:`~scrapinghub.client.jobs.Job` instance

scrapinghub/client/requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .proxy import _ItemsResourceProxy, _DownloadableProxyMixin
44

55

6-
class Requests(_ItemsResourceProxy, _DownloadableProxyMixin):
6+
class Requests(_DownloadableProxyMixin, _ItemsResourceProxy):
77
"""Representation of collection of job requests.
88
99
Not a public constructor: use :class:`~scrapinghub.client.jobs.Job` instance

0 commit comments

Comments
 (0)