twilio-python icon indicating copy to clipboard operation
twilio-python copied to clipboard

[feature]: Generating type hints for API

Open sbdchd opened this issue 3 years ago • 5 comments

Issue Summary

Currently the library doesn't have inline type hints or type stubs so we can't type check library usage

Since this library supports python 2.7 the inline type hints would need to follow the comment syntax

Another option is to package separate type stubs (.pyi files) alongside the existing code

Steps to Reproduce

Run your type checker of choice and see warnings about missing types / type stubs

sbdchd avatar Jul 15 '21 15:07 sbdchd

Hello @sbdchd,

Thank you for the suggestion!

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

With best regards,

Elmer

thinkingserious avatar Jul 15 '21 23:07 thinkingserious

A little over a year. How long would it take an intern to do this and someone else to review it? Or maybe hire a contractor to do it for you? I know we are tossing $1000 a day at you for services....

boatcoder avatar Sep 13 '22 15:09 boatcoder

Work is in progress on the v8 RC branch.

childish-sambino avatar Mar 23 '23 17:03 childish-sambino

Are there any updates on the progress here. v8 RC has been released as well as v8.1 and v8.2, but still no typing. Is this something that is still in progress?

sdelano avatar May 09 '23 21:05 sdelano

Jan 2024, more than 2.5 years after the issue is opened and still nothing v8.12.0 is what's installed and still NOTHING! We currently spend more than $2K every 3 days for your verify service. Maybe it's time to move to someone that cares enough to help out the developers....

boatcoder avatar Feb 13 '24 22:02 boatcoder