fix: order_by
for compile_sql
now works as expected
#66
Annotations
4 errors
code-quality:
tests/integration/test_sl_client.py#L108
Argument of type "list[str]" cannot be assigned to parameter "order_by" of type "List[OrderByDimension | OrderByMetric] | None" in function "query"
Type "Literal['metric_time']" is not assignable to type "OrderByDimension | OrderByMetric"
"Literal['metric_time']" is not assignable to "OrderByDimension"
"Literal['metric_time']" is not assignable to "OrderByMetric" (reportArgumentType)
|
code-quality:
tests/integration/test_sl_client.py#L142
Argument of type "list[str]" cannot be assigned to parameter "order_by" of type "List[OrderByDimension | OrderByMetric] | None" in function "compile_sql"
Type "Literal['metric_time']" is not assignable to type "OrderByDimension | OrderByMetric"
"Literal['metric_time']" is not assignable to "OrderByDimension"
"Literal['metric_time']" is not assignable to "OrderByMetric" (reportArgumentType)
|
code-quality
2 errors
|
code-quality
Process completed with exit code 1.
|