main commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-16 16:30:25 +09:00
parent 91c7e04474
commit 537e7b363f
1146 changed files with 45926 additions and 77196 deletions

View File

@@ -1,5 +1,5 @@
# exc.py
# Copyright (C) 2005-2025 the SQLAlchemy authors and contributors
# sqlalchemy/exc.py
# Copyright (C) 2005-2023 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
@@ -432,16 +432,14 @@ class DontWrapMixin:
from sqlalchemy.exc import DontWrapMixin
class MyCustomException(Exception, DontWrapMixin):
pass
class MySpecialType(TypeDecorator):
impl = String
def process_bind_param(self, value, dialect):
if value == "invalid":
if value == 'invalid':
raise MyCustomException("invalid!")
"""
@@ -573,7 +571,8 @@ class DBAPIError(StatementError):
connection_invalidated: bool = False,
dialect: Optional[Dialect] = None,
ismulti: Optional[bool] = None,
) -> StatementError: ...
) -> StatementError:
...
@overload
@classmethod
@@ -587,7 +586,8 @@ class DBAPIError(StatementError):
connection_invalidated: bool = False,
dialect: Optional[Dialect] = None,
ismulti: Optional[bool] = None,
) -> DontWrapMixin: ...
) -> DontWrapMixin:
...
@overload
@classmethod
@@ -601,7 +601,8 @@ class DBAPIError(StatementError):
connection_invalidated: bool = False,
dialect: Optional[Dialect] = None,
ismulti: Optional[bool] = None,
) -> BaseException: ...
) -> BaseException:
...
@classmethod
def instance(