Skip to content

Commit

Permalink
feat: update wsdl version to 2024_1 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishabh17 authored Nov 12, 2024
1 parent 330bb6b commit 8f44980
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export NS_TOKEN_SECRET=xxxx
The following snippet shows how to use TBA to initialize the SDK.

Note: By default the SDK implementation is using the wsdl version '2019_1', if you wish to use other than the default wsdl version, you can pass an optional wsdl_version. The wsdl_version should be in following format: 'year_version' eg. '2023_1' or '2022_2' etc.
From version 3.0.0, the default wsdl_version will be 2024_1.

```python
import os
Expand Down
2 changes: 1 addition & 1 deletion netsuitesdk/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
class NetSuiteConnection:
def __init__(self, account, consumer_key, consumer_secret, token_key, token_secret,
caching=True, caching_timeout=2592000, caching_path=None,
search_body_fields_only=True, page_size: int = 100, wsdl_version: str = None):
search_body_fields_only=True, page_size: int = 100, wsdl_version: str = '2024_1'):

ns_client = NetSuiteClient(account=account, caching=caching, caching_timeout=caching_timeout,
caching_path=caching_path, search_body_fields_only=search_body_fields_only,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='netsuitesdk',
version='2.23.1',
version='3.0.0',
author='Siva Narayanan',
author_email='[email protected]',
description='Python SDK for accessing the NetSuite SOAP webservice',
Expand Down

0 comments on commit 8f44980

Please sign in to comment.