betodealmeida / shillelagh

Making it easy to query APIs via SQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_cost can return a float rather than an int

cancan101 opened this issue · comments

def get_cost( # pylint: disable=unused-argument, no-self-use
self,
filtered_columns: List[Tuple[str, Operator]],
order: List[Tuple[str, RequestedOrder]],
) -> int:

see the underlying apsw code: https://github.com/rogerbinns/apsw/blob/6913d52acbbb80b5a697d21817de744370ca72d2/src/vtable.c#L798-L804