File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning].
88[ Keep a Changelog ] : https://keepachangelog.com/en/1.0.0/
99[ Semantic Versioning ] : https://semver.org/spec/v2.0.0.html
1010
11- ## [ 4.6.1] - unreleased
11+ ## [ 4.6.1] - 2025-05-19
12+ - Fixed Tasks API schema issue
1213- Unify requirements in a single place
1314- Support for Python 3.13.
1415
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Task(Resource):
1414
1515 class _Schema (Schema ):
1616
17- uuid = fields .String ()
17+ task_uuid = fields .String ()
1818 customer_uuid = fields .String ()
1919 assignee = fields .String ()
2020 task_details = fields .String ()
Original file line number Diff line number Diff line change 363363allOpportunities = {"entries" : [opportunityEntry ], "cursor" : "cursor==" , "has_more" : True }
364364
365365task = {
366- "uuid " : "00000000-0000-0000-0000-000000000000" ,
366+ "task_uuid " : "00000000-0000-0000-0000-000000000000" ,
367367 "customer_uuid" : "cus_00000000-0000-0000-0000-000000000000" ,
368368 "assignee" : "customer@example.com" ,
369369 "task_details" : "This is some task details text." ,
382382}
383383
384384taskEntry = {
385- "uuid " : "00000000-0000-0000-0000-000000000000" ,
385+ "task_uuid " : "00000000-0000-0000-0000-000000000000" ,
386386 "customer_uuid" : "cus_00000000-0000-0000-0000-000000000000" ,
387387 "assignee" : "customer@example.com" ,
388388 "task_details" : "This is some task details text." ,
Original file line number Diff line number Diff line change 55from pprint import pprint
66
77task = {
8- "uuid " : "00000000-0000-0000-0000-000000000000" ,
8+ "task_uuid " : "00000000-0000-0000-0000-000000000000" ,
99 "customer_uuid" : "cus_00000000-0000-0000-0000-000000000000" ,
1010 "assignee" : "customer@example.com" ,
1111 "task_details" : "This is some task details text." ,
@@ -80,7 +80,7 @@ def test_create(self, mock_requests):
8080 @requests_mock .mock ()
8181 def test_patch (self , mock_requests ):
8282 new_task = {
83- "uuid " : "00000000-0000-0000-0000-000000000000" ,
83+ "task_uuid " : "00000000-0000-0000-0000-000000000000" ,
8484 "customer_uuid" : "cus_00000000-0000-0000-0000-000000000000" ,
8585 "assignee" : "customer@example.com" ,
8686 "task_details" : "This is some task details text." ,
You can’t perform that action at this time.
0 commit comments