Reference
Nodes
Resources
Python Server

Python Server Resource

The Python Server Resource is a lightweight runtime for running custom, server-side Python 3.9 (opens in a new tab) code. Dynaboard manages the deployment and secure sandboxing of your code.

Properties

Common Code

PropcommonCode
Typestring
Defaultundefined

This code will be added to the top of all this resource's functions. Use it to share common functions or libraries.

Keyspace

Propkeyspace
Typestring
Defaultdefault

An optional keyspace for scoping K/V store values

Actions

Call Server Function

Calls a server-side Python 3.9 function called run. Access can be scoped to a specific keyspace of key/value storage.

ParameterTypeDefault
codestringdef run(kv, func, event): return 'Hello, World!'