askrobots / dbbasic-object-primitive
Public
Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.
01_hello.py · 195 bytes · 11 lines
| 1 | """ |
| 2 | 01_hello.py - The simplest object |
| 3 | """ |
| 4 | |
| 5 | |
| 6 | def GET(request): |
| 7 | """Return a greeting""" |
| 8 | return { |
| 9 | 'status': 'ok', |
| 10 | 'message': 'Hello from the Object Primitive System!', |
| 11 | } |