Skip to content

Mark objects with internal state #477

Description

@samwaseda

I was talking with Michael Crusoe today, and he told me that CWL recently introduced a way to mark inline editing for file systems, because they cannot always copy a full directory. In our case, it is crucial for Python or C++ objects, because copy is not always implemented and even if it were, the amount of data is so large that the user might not want to do it. So instead of insisting on making independent IO, I thought about including a flag. Maybe something like:

@meta(edits="input.structure")
def create_vacancy(structure):
    del structure[0]
    return structure

Once the workflow runs, maybe semantikon should make sure that this input structure is not stored in the knowledge graph. What do you think?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementCategory: New feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions