As discussed in uplink #228, this is a minimal example for reproducing the typing issue with pyright. You can reproduce by building and running the provided Dockerfile,
docker build . -t debug && docker run --rm -it debug
or by simply installing the dependencies with poetry and running
poetry run pyright --lib uplink_toy