openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.65k stars 104 forks source link

enable zrok env with Py SDK #509

Open qrkourier opened 10 months ago

qrkourier commented 10 months ago

Add a declarative function to enable the env unless already enabled that returns the enabled root context.

This is the Py SDK counterpart to the Go SDK feature: https://github.com/openziti/zrok/issues/510

qrkourier commented 9 months ago

First, I'll trace how existing functions leverage the generated OpenAPI client library. That'll instruct me in using the generated classes for calling the account "enable" operation in the controller API.

michaelquigley commented 9 months ago

I would actually recommend implementing (and getting this handled with a successful PR) in golang before doing it in Python. #510