tidy py sdk examples

This commit is contained in:
Kenneth Bingham 2025-01-28 17:57:36 -05:00
parent 701f897678
commit e16ae7f43e
No known key found for this signature in database
GPG Key ID: 31709281860130B6
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
[flake8]
max-line-length = 120
exclude = zrok_api, build
exclude =
./sdk/python/sdk/zrok/zrok_api/**,
./build/**

View File

@ -46,6 +46,6 @@ Next, we run the server which ends up calling the following:
@zrok.decor.zrok(opts=zrok_opts)
def runApp():
from waitress import serve
# the port is only used to integrate Zrok with frameworks that expect a "hostname:port" combo
# the port is only used to integrate zrok with frameworks that expect a "hostname:port" combo
serve(app, port=bindPort)
```

View File

@ -13,7 +13,7 @@ bindPort = 18081
@zrok.decor.zrok(opts=zrok_opts)
def runApp():
from waitress import serve
# the port is only used to integrate Zrok with frameworks that expect a "hostname:port" combo
# the port is only used to integrate zrok with frameworks that expect a "hostname:port" combo
serve(app, port=bindPort)