Hello,
is it possible to set GC region at runtime, from a variable?
I've checked Python SDK documentation, but the only option I see is to choose it from ENUM:
region = PureCloudPlatformClientV2.PureCloudRegionHosts.us_east_1
Thanks,
Irina
Hello,
is it possible to set GC region at runtime, from a variable?
I've checked Python SDK documentation, but the only option I see is to choose it from ENUM:
region = PureCloudPlatformClientV2.PureCloudRegionHosts.us_east_1
Thanks,
Irina
Take note of the next line from that example (found here):
region = PureCloudPlatformClientV2.PureCloudRegionHosts.us_east_1
PureCloudPlatformClientV2.configuration.host = region.get_api_host()
PureCloudPlatformClientV2.PureCloudRegionHosts.us_east_1
is indeed an enum member, but PureCloudPlatformClientV2.configuration.host
is a string. You can set that property using any string your application can come up with from any source; it doesn't have to be from the region hosts helper.
Thank you, Tim!
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.