Method
__init__
(
self,
module_gatherer: ModuleGatherer,
mode: AutocompleteModes = AutocompleteModes.SIMPLE,
)
Source from the content-addressed store, hash-verified
| 323 | |
| 324 | class ImportCompletion(BaseCompletionType): |
| 325 | def __init__( |
| 326 | self, |
| 327 | module_gatherer: ModuleGatherer, |
| 328 | mode: AutocompleteModes = AutocompleteModes.SIMPLE, |
| 329 | ): |
| 330 | super().__init__(False, mode) |
| 331 | self.module_gatherer = module_gatherer |
| 332 | |
| 333 | def matches( |
| 334 | self, cursor_offset: int, line: str, **kwargs: Any |
Tested by
no test coverage detected