diff --git a/netsuitesdk/api/employees.py b/netsuitesdk/api/employees.py index 5e4f99a..d6d667e 100644 --- a/netsuitesdk/api/employees.py +++ b/netsuitesdk/api/employees.py @@ -12,7 +12,7 @@ class Employees(ApiBase): def __init__(self, ns_client): ApiBase.__init__(self, ns_client=ns_client, type_name='Employee') - def get_all_generator(self, is_inactive=False, last_modified_date_query={ + def get_all_generator(self, is_inactive=False, page_size=50, last_modified_date_query={ 'search_value', 'operator', }): @@ -37,7 +37,7 @@ def get_all_generator(self, is_inactive=False, last_modified_date_query={ client=self.ns_client, type_name='Employee', basic_search=basic_search, - pageSize=500 + pageSize=page_size ) return self._paginated_search_generator(paginated_search=paginated_search) diff --git a/setup.py b/setup.py index 0ab80a1..30b61c7 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='netsuitesdk', - version='2.20.0', + version='2.21.0', author='Siva Narayanan', author_email='siva@fyle.in', description='Python SDK for accessing the NetSuite SOAP webservice',