facebook / facebook/pyrefly

[FR] MongoEngine support

Open
#3,335 3 comments 0 reactions 0 assignees View on GitHub
needs-discussion typechecking
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

Context: https://github.com/facebook/pyrefly/discussions/3232

We have a user request for support for [MongoEngine](https://mongoengine-odm.readthedocs.io/). Typing-wise, this seems pretty similar to Django. More details [here](https://github.com/facebook/pyrefly/discussions/3232#discussioncomment-16834109), but essentially, it looks like models (classes) need some dataclass-like features like a generated `__init__` and synthesized fields (`id`, `pk`, `objects`).

### Sandbox Link

_No response_

### (Only applicable for extension issues) IDE Information

_No response_

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.