Skip to content

Commit

Permalink
Modified the last_updated_at arg to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishabh17 committed Mar 5, 2024
1 parent 14e9691 commit fc597f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qbosdk/apis/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_all_generator(self):
"""
return self._query_get_all_generator('Account', Accounts.GET_ACCOUNTS)

def get_inactive(self, last_updated_time):
def get_inactive(self, last_updated_time: None):
"""
Retrieves a list of inactive accounts from the QuickBooks Online API.
Expand Down
2 changes: 1 addition & 1 deletion qbosdk/apis/customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def count(self):
"""
return self._query(Customers.COUNT_CUSTOMERS)['totalCount']

def get_inactive(self, last_updated_time):
def get_inactive(self, last_updated_time: None):
"""
Retrieves a list of inactive customers from the QuickBooks Online API.
Expand Down
2 changes: 1 addition & 1 deletion qbosdk/apis/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_all_generator(self):
"""
return self._query_get_all_generator('Item', Items.GET_ITEMS)

def get_inactive(self, last_updated_time):
def get_inactive(self, last_updated_time: None):
"""
Retrieves a list of inactive items from the QuickBooks Online API.
Expand Down
2 changes: 1 addition & 1 deletion qbosdk/apis/vendors.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def search_vendor_by_display_name(self, display_name=None):

return response['Vendor'][0] if 'Vendor' in response else None

def get_inactive(self, last_updated_time):
def get_inactive(self, last_updated_time: None):
"""
Retrieves a list of inactive vendors from the QuickBooks Online API.
Expand Down

0 comments on commit fc597f1

Please sign in to comment.