ᑕᗩᑭTᗩIᑎᗰᗩᖇᐯᗴᒪ

Results 9 issues of ᑕᗩᑭTᗩIᑎᗰᗩᖇᐯᗴᒪ

fix uniondoc DocType

**Describe the bug** "Never" is not awaitablePylance[reportGeneralTypeIssues](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportGeneralTypeIssues) Could not bind method "find" because "type[Parent]" is not assignable to parameter "cls" Type "Parent" cannot be assigned to type "Document" "Parent" is...

bug

**Describe the bug** **So im trying update a document using set (for a boolean and i have this error pylance :** Unable to assign argument of type “dict[bool, bool]” to...

typing bug

**Describe the bug** so I did try the example from github and i have a pylance error **To Reproduce** (beanie example) other issue https://github.com/BeanieODM/beanie/issues/807 and https://github.com/BeanieODM/beanie/issues/864

typing bug

Fix correct return type for query update operation, fix type hint for sort, correct return type for document update and removed awaitable making it not able to be used in...

typing bug
action requested

class Sample(Document): num: int name: str version: int = 0 @before_event(Update) def increase_version(self): self.version += 1 doc = await Sample.find_one() await doc.inc({Sample.num: 1}) i looked in database num increase so...

Stale

This PR is to allow the use of aggregation method directly after Document or UnionDoc class like the document mention in https://beanie-odm.dev/tutorial/aggregation/ ```py # With a search: avg_price = await...