Skip to content

Commit 4322662

Browse files
committed
Make resource_api_list a property
1 parent 917de2f commit 4322662

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyuploadcare/resources/base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class BaseApiList:
1313
# ordering fields names which must be handled as datetime
1414
datetime_ordering_fields = ()
1515

16-
resource_api: ListCountMixin
1716
constructor_name: str
1817
resource_id_field: str
1918

@@ -32,6 +31,10 @@ def __init__(
3231
self._count: Optional[int] = None
3332
self._client: "Uploadcare" = client
3433

34+
@property
35+
def resource_api(self) -> ListCountMixin:
36+
raise NotImplementedError
37+
3538
@property
3639
def starting_point(self):
3740
return self._starting_point

0 commit comments

Comments
 (0)