apache / apache/openwhisk-composer-python

Read from file not implemented

Aperta
#23 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
9
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.