openziti / ziti-sdk-py

Ziti SDK for Python
Apache License 2.0
72 stars 2 forks source link

Monkeypatch bind port string is not supported #44

Closed gberl002 closed 1 year ago

gberl002 commented 1 year ago

At least for the flask example, the bind options port is given in the example as a string but it should be an int otherwise the address cannot be found.

@openziti.zitify(bindings={
    ('1.2.3.4', '18080'): bind_opts
})

Should be

@openziti.zitify(bindings={
    ('1.2.3.4', 18080): bind_opts
})

Or, add support for either string or numeric data types