Skip to content

Declare the chart output contract once for the Python visualization operators #9203

Closed

Description

@aglinxinyuan

Task Summary

The 48 Python visualization descriptors under common/workflow-operator/.../operator/visualization/ each declare the same output contract by hand:

  • a getOutputSchemas override that returns one html-content STRING column on the single output port;
  • producesDataFrame = false, so the exported script does not print the chart as a leaf DataFrame.

Move both into one trait that the 48 descriptors extend. Behavior stays the same: the same schemas, the same generated Python, and the same operator metadata. VisualizationOutputSchemaSpec already checks the schema of every registered chart and stays as the guard.

Task Type

  • Refactor / Cleanup

Activity

  1. aglinxinyuan commented on Oct 28, 2026

    @aglinxinyuan
    ContributorAuthor

    /take

  2. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @aglinxinyuan!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  3. added a commit that references this issue on Oct 29, 2026
    53a8b2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions