"""
from typing import cast, Any, Mapping, Sequence, Union, Dict, Optional, Set, \
Awaitable, Callable, TypeVar
"""
from typing import cast, Any, Mapping, Sequence, Union, Dict, Optional, Set, \
Awaitable, Callable, TypeVar
self.t = tables # pylint: disable=invalid-name
self._property_cache = properties
self._classtables: Optional[Set[str]] = None
self.t = tables # pylint: disable=invalid-name
self._property_cache = properties
self._classtables: Optional[Set[str]] = None
+ self.query_timeout: Optional[int] = None
+
+
+ def set_query_timeout(self, timeout: Optional[int]) -> None:
+ """ Set the timeout after which a query over this connection
+ is cancelled.
+ """
+ self.query_timeout = timeout
""" Execute a 'scalar()' query on the connection.
"""
log().sql(self.connection, sql, params)
""" Execute a 'scalar()' query on the connection.
"""
log().sql(self.connection, sql, params)
""" Execute a 'execute()' query on the connection.
"""
log().sql(self.connection, sql, params)
""" Execute a 'execute()' query on the connection.
"""
log().sql(self.connection, sql, params)