Skip to content

Commit

Permalink
fix: fixed missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjb committed Nov 9, 2020
1 parent 171c19e commit 3573ae6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion h51/resources.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

from datetime import datetime
import json
import time

from . import pagination

Expand Down Expand Up @@ -150,7 +151,7 @@ def persist(self):
self._document.update(r)

@classmethod
def all(self, client, secure=None, type=None, q=None, rate_buffer=0):
def all(cls, client, secure=None, type=None, q=None, rate_buffer=0):
"""
Get all assets.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.5',
version='0.0.6',
description=\
'The H51 Python library provides a pythonic interface to the H51 API.',
long_description=long_description,
Expand Down

0 comments on commit 3573ae6

Please sign in to comment.