facebook / facebook/pyrefly

is it possible to support filter_by check in sqlalchemy

Open
#1,072 3 comments 0 reactions 1 assignee Claimed by @asukaminato0721 View on GitHub
sqlalchemy
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

background:

In SQLAlchemy, two styles:

1

```py
select(Table).where(Table.col == other)
```

2

```py
select(Table).filter_by(col = other)
```

But in 2, col is Any, so no check here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.