snyk-labs / pysnyk

A Python client for the Snyk API.
https://snyk.docs.apiary.io/
MIT License
85 stars 116 forks source link

Add override for REST API URL #211

Closed ghost closed 8 months ago

ghost commented 8 months ago

This PR adds support to override the REST API URL variable. Implementation is identical to the existing URL override.

This option is not optimal, a general override host is probably a more general solution, however the proposed solution will not result a breaking change.

Added tests to validate changes

ghost commented 8 months ago

Closed as duplicate of https://github.com/snyk-labs/pysnyk/pull/206