Yury Selivanov
Yury Selivanov
Can you repro in a new venv?
Can you also try `pip install gel==4.0.0b1` (not from GH), but first `pip uninstall gel`
# This is not required for the hackathon day 1.
might be somewhat relevant https://github.com/geldata/gel-js/issues/1290
For now: ```python def query_with_params(p1: int, p2: str): return models.User.select().filter(lambda u: ... + p1, lambda u: u.friends... + p2) ```
Maybe, just maybe, we can make something like this work, but this is, again, extreme low priority: ```python class Args(gel.qb.QueryArgs): age: int name_suffix: str user.User.with_args(Args).select(foo=lambda u, args: u.name + args.name_suffix)...
@elvis and @msullivan will discuss this and update this issue
@vpetrovykh we need to test this -- I've implemented this but I think we need more tests -- try breaking it.
we probably need another schema-level annotation @msullivan @elprans
Note that this limitation applies only to models adjusted in Python; data that comes from the DB would just have two different objects for the same ID (we don't have...