apache / apache/openwhisk-composer-python

Read from file not implemented

Abierto
#23 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
9
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am trying to use this with a basic example where my composition.py file and the function program files are located in the same directory.

This is what my hello.py looks like:
```
def main(args):
print("Hello")
print(args)
return {"key": "hello"}
```

And this is how my composition.py looks like:
```
import composer

def main():
return composer.action("HELLO", {
"filename": hello.py",
"limits": {
"memory": "128",
}
})
```

I am getting the "read from file not implemented" error.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.