Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solution-runtime (python)

Generic Python runtime for codefly solutions. Twin of solution-runtime-go: registration (host + gateway, heartbeat), CORS, Module Federation asset serving, the capability handshake, the manifest, and a bearer-forwarding gateway client.

from solution_runtime import Gateway, Solution

def handler(gw: Gateway) -> dict:
    resp = gw.unary("/pkg.Service/Method", Request(), Response)
    return {...}

Solution(id="my-solution", title="My Solution").handle("/thing", handler).serve()

The gateway URL, the caller's bearer, and the wire protocol are hidden.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages