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 @@
# orm/dependency.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
@@ -7,7 +7,9 @@
# mypy: ignore-errors
"""Relationship dependencies."""
"""Relationship dependencies.
"""
from __future__ import annotations
@@ -165,11 +167,9 @@ class DependencyProcessor:
sum_ = state.manager[self.key].impl.get_all_pending(
state,
state.dict,
(
self._passive_delete_flag
if isdelete
else attributes.PASSIVE_NO_INITIALIZE
),
self._passive_delete_flag
if isdelete
else attributes.PASSIVE_NO_INITIALIZE,
)
if not sum_:
@@ -1052,7 +1052,7 @@ class ManyToManyDP(DependencyProcessor):
# so that prop_has_changes() returns True
for state in states:
if self._pks_changed(uowcommit, state):
uowcommit.get_attribute_history(
history = uowcommit.get_attribute_history(
state, self.key, attributes.PASSIVE_OFF
)