Skip to content

Do not use legacy_ertscript_workflow in CsvExport2 #754

Description

@berland

This:

@plugin(name="semeio")
def legacy_ertscript_workflow(config):
workflow = config.add_workflow(CsvExport2Job, "CSV_EXPORT2")
workflow.parser = csv_export_parser
workflow.description = DESCRIPTION
workflow.examples = EXAMPLES
workflow.category = "export"

triggers a warning in Ert:

  /data/projects/ert/src/ert/plugins/__init__.py:37: DeprecationWarning: Use of legacy_ertscript_workflow is deprecated. Please see documentation for how to use ertscript_workflow instead
    res = func(*args, **kwargs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions