Skip to content

Commit a20c81e

Browse files
committed
feat(compare comply): ClassifyReturn model changes
1 parent ad624bb commit a20c81e

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

ibm_watson/compare_comply_v1.py

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,34 +1556,40 @@ class ClassifyReturn(object):
15561556
:attr str model_version: (optional) The version of the analysis model identified by
15571557
the value of the `model_id` key.
15581558
:attr list[Element] elements: (optional) Document elements identified by the service.
1559-
:attr list[Tables] tables: (optional) Definition of tables identified in the input
1560-
document.
1561-
:attr DocStructure document_structure: (optional) The structure of the input document.
1562-
:attr list[Parties] parties: (optional) Definitions of the parties identified in the
1563-
input document.
15641559
:attr list[EffectiveDates] effective_dates: (optional) The date or dates on which the
15651560
document becomes effective.
15661561
:attr list[ContractAmts] contract_amounts: (optional) The monetary amounts that
15671562
identify the total amount of the contract that needs to be paid from one party to
15681563
another.
15691564
:attr list[TerminationDates] termination_dates: (optional) The date or dates on which
15701565
the document is to be terminated.
1571-
:attr list[ContractType] contract_type: (optional) The document's contract type or
1566+
:attr list[ContractTypes] contract_types: (optional) The document's contract type or
15721567
types as declared in the document.
1568+
:attr list[ContractTerms] contract_terms: (optional) The duration or durations of the
1569+
contract.
1570+
:attr list[PaymentTerms] payment_terms: (optional) The document's payment duration or
1571+
durations.
1572+
:attr list[Tables] tables: (optional) Definition of tables identified in the input
1573+
document.
1574+
:attr DocStructure document_structure: (optional) The structure of the input document.
1575+
:attr list[Parties] parties: (optional) Definitions of the parties identified in the
1576+
input document.
15731577
"""
15741578

15751579
def __init__(self,
15761580
document=None,
15771581
model_id=None,
15781582
model_version=None,
15791583
elements=None,
1580-
tables=None,
1581-
document_structure=None,
1582-
parties=None,
15831584
effective_dates=None,
15841585
contract_amounts=None,
15851586
termination_dates=None,
1586-
contract_type=None):
1587+
contract_types=None,
1588+
contract_terms=None,
1589+
payment_terms=None,
1590+
tables=None,
1591+
document_structure=None,
1592+
parties=None):
15871593
"""
15881594
Initialize a ClassifyReturn object.
15891595

0 commit comments

Comments
 (0)