apache / apache/openwhisk-composer-python

Read from file not implemented

Open
#23 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.