Skip to content

Read from file not implemented #23

@singhsegv

Description

@singhsegv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions