mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
While we did previously support submodule completions via our `all_members` API, that only works when submodules are attributes of their parent module. For example, `os.path`. But that didn't work when the submodule was not an attribute of its parent. For example, `http.client`. To make the latter work, we read the directory of the parent module to discover its submodules.