dropbox / dropbox/pyannotate

Infer argument and return types of callable values

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

It may be possible to infer the argument and return types of callable values in some cases. Here's an idea:

* Record the identity of a callable object given as an argument to a function.
* Record the identity of the called function when recording their argument/return types.
* Match the two identities from above to infer the type of a callable object.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.