Structsยง
- Elements
Used ๐InAnnotations - Lists all the elements used in annotations
- Imports ๐
- Datastructure to deduplicate, validate and generate imports
Functionsยง
- add_
module_ ๐stub_ files - argument_
stub ๐ - attribute_
stubs ๐ - class_
stubs ๐ - function_
stubs ๐ - module_
stub_ files - Generates the type stubs of a given module.
It returns a map between the file name and the file content.
The root module stubs will be in the
__init__.pyifile and the submodules directory in files with a relevant name. - module_
stubs ๐ - Generates the module stubs to a String, not including submodules
- variable_
length_ ๐argument_ stub