From 8823ea1ad1e44a230a5d8d93c007221074bb66a6 Mon Sep 17 00:00:00 2001 From: Mark Ciecior Date: Tue, 30 Jul 2024 11:28:46 -0500 Subject: [PATCH] bump to 0.7, add ensure_ascii kwarg --- connectpyse/CHANGES.md | 6 +++++- connectpyse/README.md | 7 ++++++- setup.py | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/connectpyse/CHANGES.md b/connectpyse/CHANGES.md index 792bef9..0f73792 100644 --- a/connectpyse/CHANGES.md +++ b/connectpyse/CHANGES.md @@ -55,4 +55,8 @@ 0.6.0.4 --- -- Added support for Configuration Types \ No newline at end of file +- Added support for Configuration Types + +0.7 +--- +- [0xliam](https://github.com/0xliam) added an optional ```ensure_ascii``` keyword argument \ No newline at end of file diff --git a/connectpyse/README.md b/connectpyse/README.md index 6b8c012..10516f4 100644 --- a/connectpyse/README.md +++ b/connectpyse/README.md @@ -111,4 +111,9 @@ their appropriate sections. Import the API class(es) you want to leverage and th >>> from connectpyse.service import tickets_api >>> api = tickets_api.TicketsAPI(url=URL, auth=AUTH) >>> mychanges = {"summary": "update multiple keys", "budgetHours": .50} - >>> ticket = api.update_ticket_multiple_keys(ticketId, mychanges) \ No newline at end of file + >>> ticket = api.update_ticket_multiple_keys(ticketId, mychanges) + +### Tell the json module to use ensure_ascii=True: + + >>> from connectpyse.sales import opportunity_api + >>> o = opportunity_api.OpportunityAPI(url=URL, auth=AUTH, ensure_ascii=True) \ No newline at end of file diff --git a/setup.py b/setup.py index aa55842..405b6c9 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ long_description = f.read() setup(name='connectpyse', - version='0.6.0.7', + version='0.7', description='A ConnectWise API tool for the rest of us.', long_description=long_description, long_description_content_type="text/markdown",