添加注册登录功能
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
# the MIT License: https://www.opensource.org/licenses/mit-license.php
|
||||
|
||||
|
||||
"""Base constructs for connection pools.
|
||||
|
||||
"""
|
||||
"""Base constructs for connection pools."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -468,6 +466,7 @@ class Pool(log.Identified, event.EventTarget):
|
||||
raise NotImplementedError()
|
||||
|
||||
def status(self) -> str:
|
||||
"""Returns a brief description of the state of this pool."""
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
@@ -1074,10 +1073,12 @@ class PoolProxiedConnection(ManagesConnection):
|
||||
|
||||
def commit(self) -> None: ...
|
||||
|
||||
def cursor(self) -> DBAPICursor: ...
|
||||
def cursor(self, *args: Any, **kwargs: Any) -> DBAPICursor: ...
|
||||
|
||||
def rollback(self) -> None: ...
|
||||
|
||||
def __getattr__(self, key: str) -> Any: ...
|
||||
|
||||
@property
|
||||
def is_valid(self) -> bool:
|
||||
"""Return True if this :class:`.PoolProxiedConnection` still refers
|
||||
|
||||
Reference in New Issue
Block a user