ZettaIO / cachet-client

A python 3.6+ client for the Cachet API : https://cachet-client.readthedocs.io/
MIT License
14 stars 8 forks source link

Add incidents/Incident to __init__.py #21

Closed zipy124 closed 4 years ago

zipy124 commented 4 years ago

This allows IDE's such as PyCharm to use cachetclient.v1.Incidents.incident as the type for incident objects. Without this line you will get the error, "cannot find reference 'Incidents' in 'init.py'".

einarf commented 4 years ago

Thanks. There are a couple of other missing as well.

einarf commented 4 years ago

Released a quick new version, 3.1.1, with the missing resource imports. It's ready on PyPI.