reserved
This section is a work in progress.
The Kybra type reserved
corresponds to the Candid type reserved and will become the Python Null Object at runtime.
Python:
from kybra import ic, query, reserved
@query
def get_reserved() -> reserved:
return "anything"
@query
def print_reserved(reserved: reserved) -> reserved:
ic.print(type(reserved))
return reserved
Candid:
service: {
"get_reserved": () -> (reserved) query;
"print_reserved": (reserved) -> (reserved) query;
}