Skip to content

Commit

Permalink
version bump, fixing windows bug with datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Nov 20, 2019
1 parent c7ea700 commit f3bcfb8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hubspot3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class FetchStatus:

def __init__(
self,
collected_at: datetime = datetime.fromtimestamp(0),
collected_at: datetime = datetime.now(),
current_usage: int = 0,
fetch_status: str = FetchStatus.NONE,
resets_at: datetime = datetime.fromtimestamp(0),
resets_at: datetime = datetime.now(),
usage_limit: int = 0,
) -> None:
"""usage limits constructor"""
Expand Down
2 changes: 1 addition & 1 deletion hubspot3/globals.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
globals file for hubspot3
"""
__version__ = "3.2.37"
__version__ = "3.2.38"


BASE_URL = "https://api.hubapi.com"
Expand Down
2 changes: 1 addition & 1 deletion hubspot3/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def emit(self, record):
pass


def get_log(name):
def get_log(name: str):
logger = logging.getLogger(name)
logger.addHandler(NullHandler())
return logger
Expand Down

0 comments on commit f3bcfb8

Please sign in to comment.