Skip to content

Bsync import dependencies#221

Open
bsync wants to merge 3 commits into
pgiri:masterfrom
bsync:bsync-import-dependencies
Open

Bsync import dependencies#221
bsync wants to merge 3 commits into
pgiri:masterfrom
bsync:bsync-import-dependencies

Conversation

@bsync
Copy link
Copy Markdown

@bsync bsync commented Jun 4, 2021

Small modification to directly support 'import <...>' type strings as JobCluster dependencies. They are always prefixed to the compute.code and serialized as is to the compute node(s).

bsync added 3 commits June 3, 2021 11:27
Modified example to show the potential need for a 'nodeinit_setup' which executes immediately after it is serialized to the node.  This feature means that classes like the class 'C' in the example can extend other python builtin classes like the 'cmd' class.
This allows strings of the form 'import <...>' to be added directly to the JobCluster 'depends' argument with the result that they are guaranteed to be inserted before all other depends items and prefixed to the compute.code that is serialized to the dispy nodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant