Cape Function Format
Cape functions are defined within a python file named
The entry point to your function must be declared in a function called
# goes in project/app.py
def cape_handler(arg: bytes) -> bytes:
The final project structure for a function called
isprime should look like:
$ ls isprime
Full code examples for sample functions can be found on Github.
We are actively soliciting feedback from our beta. Please use this form to provide feedback.