Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (20 sloc) 746 Bytes

create a nanoservice

and expose any function using @nanoserv.expose:


import nanoserv

def add(a, b, **kwargs):
    return a + b

call it from anywhere

Connect to username/math repl and call it's function add(8, 9)

from functorflow import ff

# Connect to repl at `username/math` 
math ='username/math')

# use it
print(math.add(8, 9))
You can’t perform that action at this time.