Repo inside repo using pyright

When editing repo inside repo, a language server is attached to the child repo, and it cannot resolve imports from parent repo.
So how can I have a single pyright langauge server attached to the parent repo, instead of attaching a language server to every child repo?

You should start your Neovim instance to the “top” repo root directory and then start editing files.