You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2025. It is now read-only.
Currently, CompilationResult is an untyped namedtuple, which means that it's unclear what is the type of its query attribute. For non-SQL backends, it appears to be str, but for SQL it seems to be some SQLAlchemy-specific type and it's not clear which of its superclasses/protocols we should claim as the return type.
This is also a concern for the insert_arguments_into_query function, whose return type is the same type as CompilationResult.query and currently set to the correct-but-extremely-imprecise Any.
Currently,
CompilationResultis an untypednamedtuple, which means that it's unclear what is the type of itsqueryattribute. For non-SQL backends, it appears to bestr, but for SQL it seems to be someSQLAlchemy-specific type and it's not clear which of its superclasses/protocols we should claim as the return type.This is also a concern for the
insert_arguments_into_queryfunction, whose return type is the same type asCompilationResult.queryand currently set to the correct-but-extremely-impreciseAny.