Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
1234567891011121314151617181920212223# import httpxfrom gen.python import OpenCode
# def log_request(request):# print(request.method, request.url, request.headers, request.content)
# client = httpx.Client(event_hooks={"request": [log_request]})
def run(): client = OpenCode() client.tui.publish( body={ "properties": { "message": "Hello from Hey API OpenAPI Python Playground!", "variant": "success", }, "type": "tui.toast.show", }, directory="main", )
run()