apache / apache/openwhisk-composer-python

Read from file not implemented

Đang mở
#23 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
9
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.