auth0 / auth0-python

Auth0 SDK for Python
https://auth0-python.readthedocs.io
MIT License
509 stars 165 forks source link

Connections.all() should accept name #496

Closed esantora closed 1 year ago

esantora commented 1 year ago

Checklist

Describe the problem you'd like to have solved

I would like this library to have closer parity with the Auth0 Management API, especially when it comes to available parameters. The Connections.all() method should accept a name argument to retrieve a Connection by name.

Describe the ideal solution

The Connections.all() method should accept a name argument to retrieve a Connection by name.

Alternatives and current workarounds

Retrieve all connections and iterate through results to see if a Connection name matches.

Additional context

No response

adamjmcgrath commented 1 year ago

Thanks for raising this @esantora

Yep - will schedule some work to include this, in the meantime you can use connections.all({ "extra_params": { "name": "my-name" } })