slackapi / python-slack-sdk

Slack Developer Kit for Python
https://slack.dev/python-slack-sdk/
MIT License
3.84k stars 839 forks source link

Export types for the objects returned from making requests #1543

Open intercepted16 opened 2 weeks ago

intercepted16 commented 2 weeks ago

The export of types of the objects returned when making requests would be incredibly useful. This would significantly enhance the developer experience by:

I guess you could implement this manually, though it would be amazing if the Slack API did this for you.

Category (place an x in each of the [ ])

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

seratch commented 2 weeks ago

Hi @intercepted16, thanks for the suggestion!

Indeed, enhancing the response data types would be greatly helpful for developers. However, the Slack API does not provide open API specs or something similar, so manually crafting response types could be challenging (considering our team capacity and priorities).

I'll keep this issue open for receiving feedback from others; however, we won't be able to take action in the foreseeable future. It'd be appreciated if you could understand this.