Open sergii-bond opened 3 years ago
normally we do want any tenant-specified region to direct the sdk to the tenant contracted region. lets discuss the use case you have in mind
for my testing I wanted to redirect it to use staging endpoint. I end up using a workaround: after creating a cc (CogniacConnection), I just set cc.url_prefix to staging.
cc = cogniac.CogniacConnection(url_prefix=)
it is then not used, and overwritten by https://github.com/Cogniac/cogniac-sdk-py/blob/ea692495c2534d35374f43eaa1682eba0abe3706/cogniac/cogniac.py#L169