il2_rest/client.py
def documents_transaction_commit(self, transaction_id) :
        """
        Store set of uploaded documents.

        *Note:* Rementer to save the locator after commiting.

        Args:
            transaction_id (:obj:`str`): Id of the ongoing transaction.
        
        Returns:
            :obj:`str`: Documents storage locator.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> resp = chain.documents_begin_transaction(comment='Using parameters')
            >>> transaction_id = resp.transactionId
            >>> chain.documents_transaction_add_item(transaction_id, "item1.txt", "text/plain", "./test.txt"
            >>> chain.documents_transaction_add_item(transaction_id, "item2.txt", "text/plain", "./test2.txt", "This file has a comment."
            >>> locator = chain.documents_transaction_commit(transaction_id)
        """
        resp = self.__rest._post(f"/documents/transaction/{transaction_id}/commit", None)
        return resp

        Store set of uploaded documents.

        *Note:* Rementer to save the locator after commiting.

        Args:
            transaction_id (:obj:`str`): Id of the ongoing transaction.
        
        Returns:
            :obj:`str`: Documents storage locator.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> resp = chain.documents_begin_transaction(comment='Using parameters')
            >>> transaction_id = resp.transactionId
            >>> chain.documents_transaction_add_item(transaction_id, "item1.txt", "text/plain", "./test.txt"
            >>> chain.documents_transaction_add_item(transaction_id, "item2.txt", "text/plain", "./test2.txt", "This file has a comment."
            >>> locator = chain.documents_transaction_commit(transaction_id)
        
Store set of uploaded documents.
Note:* Rementer to save the locator after commiting.
Store set of uploaded documents . Note : * Rementer to save the locator after commiting .
def documents_transaction_commit(self, transaction_id) :
        resp = self.__rest._post(f"/documents/transaction/{transaction_id}/commit", None)
        return resp
def documents_transaction_commit ( self , transaction_id ) : resp = self . __rest . _post ( f"/documents/transaction/{transaction_id}/commit" , None ) return resp
Store set of uploaded documents.
Store set of uploaded documents .
"""
        Store set of uploaded documents.

        *Note:* Rementer to save the locator after commiting.

        Args:
            transaction_id (:obj:`str`): Id of the ongoing transaction.
        
        Returns:
            :obj:`str`: Documents storage locator.

        Example:
            >>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
            >>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
            >>> resp = chain.documents_begin_transaction(comment='Using parameters')
            >>> transaction_id = resp.transactionId
            >>> chain.documents_transaction_add_item(transaction_id, "item1.txt", "text/plain", "./test.txt"
            >>> chain.documents_transaction_add_item(transaction_id, "item2.txt", "text/plain", "./test2.txt", "This file has a comment."
            >>> locator = chain.documents_transaction_commit(transaction_id)
        """
:obj:`str`: Documents storage locator.
: obj : ` str ` : Documents storage locator .
self
transaction_id
transaction_id (
`str`): Id of the ongoing transaction.
` str ` ) : Id of the ongoing transaction .
examples
>>> node = RestNode(cert_file='documenter.pfx', cert_pass='password')
>>> chain = node.chain_by_id('A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK-iDKE')
>>> resp = chain.documents_begin_transaction(comment='Using parameters')
>>> transaction_id = resp.transactionId
>>> chain.documents_transaction_add_item(transaction_id, "item1.txt", "text/plain", "./test.txt"
>>> chain.documents_transaction_add_item(transaction_id, "item2.txt", "text/plain", "./test2.txt", "This file has a comment."
>>> locator = chain.documents_transaction_commit(transaction_id)
>>> node = RestNode ( cert_file = ' documenter . pfx ' cert_pass = ' password ' ) >>> chain = node . chain_by_id ( ' A1wCG9hHhuVNb8hyOALHokYsWyTumHU0vRxtcK - iDKE ' ) >>> resp = chain . documents_begin_transaction ( comment = ' Using parameters ' ) >>> transaction_id = resp . transactionId >>> chain . documents_transaction_add_item ( transaction_id " item1 . txt " " text / plain " " . / test . txt " >>> chain . documents_transaction_add_item ( transaction_id " item2 . txt " " text / plain " " . / test2 . txt " " This file has a comment . " >>> locator = chain . documents_transaction_commit ( transaction_id )