Skip to content

Commit

Permalink
version bump for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Mar 2, 2020
1 parent 00f160a commit 6c10c85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions hubspot3/contacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from hubspot3.crm_associations import CRMAssociationsClient
from hubspot3.base import BaseClient
from hubspot3.utils import prettify, get_log
from typing import Dict
from typing import Dict, List


CONTACTS_API_VERSION = "1"
Expand Down Expand Up @@ -145,7 +145,7 @@ def get_all(
limit: int = -1,
list_id: str = "all",
**options
) -> list:
) -> List[Dict]:
"""
get all contacts in hubspot, fetching additional properties if passed in
Can't get phone number from a get-all, so we just grab IDs and
Expand Down Expand Up @@ -184,7 +184,7 @@ def _get_recent(
vid_offset: int = 0,
time_offset: int = 0,
**options
):
) -> List[Dict]:
"""
return a list of either recently created or recently modified/created contacts
"""
Expand Down Expand Up @@ -219,7 +219,7 @@ def _get_recent(

return output[:limit]

def get_recently_created(self, limit: int = 100):
def get_recently_created(self, limit: int = 100) -> List[Dict]:
"""
get recently created contacts
:see: https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts
Expand All @@ -233,7 +233,7 @@ def get_in_list(
vid_offset: int = 0,
time_offset: int = 0,
**options
):
) -> List[Dict]:
"""
return contacts in a list
"""
Expand Down Expand Up @@ -263,7 +263,7 @@ def get_in_list(

return output[:limit]

def get_recently_modified(self, limit: int = 100):
def get_recently_modified(self, limit: int = 100) -> List[Dict]:
"""
get recently modified and created contacts
:see: https://developers.hubspot.com/docs/methods/contacts/get_recently_updated_contacts
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.44"
__version__ = "3.2.45"


BASE_URL = "https://api.hubapi.com"
Expand Down

0 comments on commit 6c10c85

Please sign in to comment.