Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support invocation to build an application for the edge #2447

Closed
markheger opened this issue May 12, 2020 · 1 comment · Fixed by #2455
Closed

Support invocation to build an application for the edge #2447

markheger opened this issue May 12, 2020 · 1 comment · Fixed by #2455

Comments

@markheger
Copy link
Member

For the Python developer, we add two new submission contexts:
EDGE, and EDGE_BUNDLE.

  • EDGE_BUNDLE is intended for debugging purpose.
  • EDGE is supposed to create the image.
@markheger
Copy link
Member Author

from streamsx.topology.topology import Topology
from streamsx.topology.context import submit, ContextTypes
            
topo = Topology()
...
submission_result = submit(ContextTypes.EDGE, topo.graph, cfg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant