def _translate(self, expr, named=False, context=None): translator = alch.AlchemyExprTranslator(expr, context=context, named=named) return translator.get_result()
def _translate(self, expr, named=False): context = alch.AlchemyDialect.make_context() translator = alch.AlchemyExprTranslator(expr, context=context, named=named) return translator.get_result()