MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __getattr__

Function __getattr__

lib/sqlalchemy/orm/evaluator.py:368–378  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

366
367
368def __getattr__(name: str) -> Type[_EvaluatorCompiler]:
369 if name == "EvaluatorCompiler":
370 warn_deprecated(
371 "Direct use of 'EvaluatorCompiler' is not supported, and this "
372 "name will be removed in a future release. "
373 "'_EvaluatorCompiler' is for internal use only",
374 "2.0",
375 )
376 return _EvaluatorCompiler
377 else:
378 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

Callers

nothing calls this directly

Calls 1

warn_deprecatedFunction · 0.85

Tested by

no test coverage detected