This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# sql/roles.py
|
||||
# Copyright (C) 2005-2025 the SQLAlchemy authors and contributors
|
||||
# Copyright (C) 2005-2023 the SQLAlchemy authors and contributors
|
||||
# <see AUTHORS file>
|
||||
#
|
||||
# This module is part of SQLAlchemy and is released under
|
||||
@@ -227,7 +227,8 @@ class AnonymizedFromClauseRole(StrictFromClauseRole):
|
||||
|
||||
def _anonymous_fromclause(
|
||||
self, *, name: Optional[str] = None, flat: bool = False
|
||||
) -> FromClause: ...
|
||||
) -> FromClause:
|
||||
...
|
||||
|
||||
|
||||
class ReturnsRowsRole(SQLRole):
|
||||
@@ -245,7 +246,8 @@ class StatementRole(SQLRole):
|
||||
if TYPE_CHECKING:
|
||||
|
||||
@util.memoized_property
|
||||
def _propagate_attrs(self) -> _PropagateAttrsType: ...
|
||||
def _propagate_attrs(self) -> _PropagateAttrsType:
|
||||
...
|
||||
|
||||
else:
|
||||
_propagate_attrs = util.EMPTY_DICT
|
||||
|
||||
Reference in New Issue
Block a user