mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
18 lines
233 B
Python
18 lines
233 B
Python
import pico
|
|
from pico import PicoApp
|
|
|
|
|
|
@pico.expose()
|
|
def hello(who):
|
|
s = "hello %s!" % who
|
|
return s
|
|
|
|
|
|
@pico.expose()
|
|
def goodbye(who):
|
|
s = "goodbye %s!" % who
|
|
return s
|
|
|
|
|
|
app = PicoApp()
|
|
app.register_module(__name__)
|