-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancement 💡New feature or requestNew feature or requestreleasedIncluded in a releaseIncluded in a release
Description
Is your feature request related to a problem?
Currently import information are directly taken from the api_analyzer to the stubs generator, but for the stubs we need to check all type hints in the Python code whether the types are new types imported from other files or not. For those new types imports have to be generated and other imports from the api_analyzer do not have to be taken over to the stubs.
Desired solution
Mypy should be able to specify source paths for type hints, therefore for the first step, those information have to be found and added to the api_analyzer. The second step would be to generate imports for with the stubs generator.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement 💡New feature or requestNew feature or requestreleasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done