Remove unneeded debug logic.
This commit is contained in:
parent
2a73d0ac92
commit
ef6beb77b4
1 changed files with 0 additions and 10 deletions
|
|
@ -300,16 +300,6 @@ class CRUDService(Generic[T]):
|
||||||
if base_alias is not root_alias:
|
if base_alias is not root_alias:
|
||||||
continue
|
continue
|
||||||
prop = getattr(rel_attr, "property", None)
|
prop = getattr(rel_attr, "property", None)
|
||||||
if log.isEnabledFor(logging.DEBUG):
|
|
||||||
try:
|
|
||||||
sel = getattr(target_alias, "selectable", None)
|
|
||||||
sel_key = getattr(sel, "key", None) or getattr(sel, "name", None)
|
|
||||||
log.debug(
|
|
||||||
"FIRST-HOP plan: rel=%s collection=%s selectable=%s filter_keys=%s",
|
|
||||||
rel_attr.key, getattr(prop, "uselist", False), sel_key, getattr(plan, "filter_table_keys", set())
|
|
||||||
)
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
is_collection = bool(getattr(prop, "uselist", False))
|
is_collection = bool(getattr(prop, "uselist", False))
|
||||||
|
|
||||||
if not is_collection:
|
if not is_collection:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue