Overrides a subset of the ``TransactionConfig`` parameters for a single query. Args: durability (:class:`ServerDurability`, optional): Desired durability level for all operations in this transaction. kv_timeout: (timedelta, optional): **DEPREC
(self,
durability=None, # type: Optional[ServerDurability]
kv_timeout=None, # type: Optional[timedelta]
expiration_time=None, # type: Optional[timedelta]
scan_consistency=None, # type: Optional[QueryScanConsistency]
metadata_collection=None, # type: Optional[Collection]
timeout=None, # type: Optional[timedelta]
)
| 1803 | |
| 1804 | @overload |
| 1805 | def __init__(self, |
| 1806 | durability=None, # type: Optional[ServerDurability] |
| 1807 | kv_timeout=None, # type: Optional[timedelta] |
| 1808 | expiration_time=None, # type: Optional[timedelta] |
| 1809 | scan_consistency=None, # type: Optional[QueryScanConsistency] |
| 1810 | metadata_collection=None, # type: Optional[Collection] |
| 1811 | timeout=None, # type: Optional[timedelta] |
| 1812 | ): |
| 1813 | """ |
| 1814 | Overrides a subset of the ``TransactionConfig`` parameters for a single query. |
| 1815 | Args: |
| 1816 | durability (:class:`ServerDurability`, optional): Desired durability level for all operations |
| 1817 | in this transaction. |
| 1818 | kv_timeout: (timedelta, optional): **DEPRECATED** Currently a no-op. KV timeout to use for this transaction. |
| 1819 | expiration_time: (timedelta, optional): **DEPRECATED** Use timeout instead. Expiry for this transaction. |
| 1820 | scan_consistency: (:class:`QueryScanConsistency`, optional): Scan consistency for queries in |
| 1821 | this transaction. |
| 1822 | metadata_collection: (:class: `couchbase.collection.Collection, optional): This transaction will |
| 1823 | put all metadata in the specified bucket/scope/collection. |
| 1824 | timeout: (timedelta, optional): Expiry for this transaction. |
| 1825 | """ # noqa: E501 |
| 1826 | |
| 1827 | def __init__(self, |
| 1828 | **kwargs # type: Dict[str, Any] |
nothing calls this directly
no test coverage detected