Hi @GrahamDumpleton, Maintainer of [`smart_open`](https://github.com/piskvorky/smart_open) here 👋 I opened an issue with pylance: https://github.com/microsoft/pyright/issues/11295 And they responded this is an issue with wrapt stubs. Any thoughts?