ᑕᗩᑭTᗩIᑎᗰᗩᖇᐯᗴᒪ
ᑕᗩᑭTᗩIᑎᗰᗩᖇᐯᗴᒪ
the function itself do the correct things, its just the pylance errors (i tried my best to explain it im still new on doing github issues)
```python class DocPlayer(Document): money: int await DocPlayer.find_all().sort(-DocPlayer.money).to_list() ``` Cannot assign argument of type "int" to parameter "args" of type "str | Tuple[str, SortDirection] | List[Tuple[str, SortDirection]] | None” in “sort”...
Ah shit
@roman-right i think im gonna do it with only type hint improving for the union doc issue its within the union_doc folder i was thinking inheriting from document one but...
Bad timing i had to go and shouldnt have push now i think its ok
Should be good now i can start again if you want cause with all commits its messy @roman-right
> Hey @CAPITAINMARVEL , Could you please take a look at the tests? > > Regarding the amount of commits - everything is ok. I use squash merging strategy -...
fixed ? @roman-right
Should be good error now @roman-right
yeah i cant remove that error its like an hacky way but Union Doc find work same as document find so thats why i change doc type with Union [uniondoc...