Skip to content

Commit 96365d5

Browse files
Remove staticmethod from BUCKET_CLASS, BUCKET_STRUCTURE_CLASS
1 parent 5e35a71 commit 96365d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

b2sdk/bucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,8 @@ class BucketFactory:
10271027
"""
10281028
This is a factory for creating bucket objects from different kind of objects.
10291029
"""
1030-
BUCKET_CLASS = staticmethod(Bucket)
1031-
BUCKET_STRUCTURE_CLASS = staticmethod(BucketStructure)
1030+
BUCKET_CLASS = Bucket
1031+
BUCKET_STRUCTURE_CLASS = BucketStructure
10321032

10331033
@classmethod
10341034
def from_api_response(cls, api, response):

0 commit comments

Comments
 (0)