Skip to content

PipelineInference creates invalid JSON #507

Closed
@justinormont

Description

@justinormont

Currently, PipelineInference creates an EntryPoint JSON graph beginning with:

{'Nodes' : [{
  "Name": "TextAnalytics.TextTransform",
  "Inputs": {
    "Column": {
      "Name": "text_tf",
      "Source": [
        "text"
      ]
    },
    
}}]}

The initial 'Nodes' should have double-quotes like "Nodes". JSON spec requires double quotes on keys.

As is, this fails a JSON.parse(), which makes the created JSON difficult to work with in NodeJS.

Source of the issue:

return new PipelineResultRow($"{{'Nodes' : [{graphDef.Graph.ToJsonString()}]}}",

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersup-for-grabsA good issue to fix if you are trying to contribute to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions