Integrity Python SDK

Declaration

Reference for eqty_sdk.Declaration.

View as Markdown

Functions:

  • add_attachment_cid – Appends the CID to the attachment cid list of the declaration.
  • add_control_cid – Appends the CID to the control cid list of the declaration.
  • add_extra – Adds or Overwrites the key/value in the extra field of the declaration.
  • to_dict – Convert to dictionary, omitting empty/None values.
  • to_json – Convert to JSON string.

eqty_sdk.Declaration.add_attachment_cid

python
add_attachment_cid(cid: str) -> Declaration

Appends the CID to the attachment cid list of the declaration.

eqty_sdk.Declaration.add_control_cid

python
add_control_cid(cid: str) -> Declaration

Appends the CID to the control cid list of the declaration.

eqty_sdk.Declaration.add_extra

python
add_extra(key: str, val: str) -> Declaration

Adds or Overwrites the key/value in the extra field of the declaration.

eqty_sdk.Declaration.to_dict

python
to_dict() -> Dict[str, Any]

Convert to dictionary, omitting empty/None values.

eqty_sdk.Declaration.to_json

python
to_json() -> str

Convert to JSON string.