summaryrefslogtreecommitdiff
path: root/magic.pyi
Commit message (Collapse)AuthorAgeFilesLines
* move typing stubs next to implementationAdam Hupp2021-01-151-86/+0
|
* Added support for magic_descriptor routinepsrok12020-12-071-0/+3
|
* 🐑 Create basic stub file for magic.pyJack Edge2020-08-101-0/+83
A stubfile was initially generated using `stubgen`, and then refined in order to increase the accuracy of the core API methods. Both `from_file` and `from_path`, both as independent functions and class instace methods, have been annotated appropriately (taking `Union[str, bytes]` and returning `Text`. Resolves #174.