averbis / averbis-python-api

Conveniently access the REST API of Averbis products using Python
Apache License 2.0
12 stars 4 forks source link

Simple method to check if a project exists #49

Closed reckart closed 3 years ago

reckart commented 3 years ago

Is your feature request related to a problem? Please describe. Sometimes (e.g. in tests) I need to check if a project exists or not so I don't try creating it again. Currently, I have to retrieve the list of projects and perform the check on it. That is a lot of code for such a simple operation.

Describe the solution you'd like A simple exists_project() method provided directly by the client would be nice.

Describe alternatives you've considered Well, doing it by hand.