stubs_path()
Where stubs are read from: the project's stubs/ folder or Framework's.
"auto" gives the project folder when it exists.
Usage
stubs_path(which: Literal['auto', 'user', 'framework'] = 'auto') -> Path
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| which | Literal['auto', 'user', 'framework'] | 'auto' |
One of "auto", "user", or "framework". "user" gives the project's |
Value
The stubs folder.
Raises
ValueError: Whenwhichis not allowed.