Skip to content

JSON schema: does not support foreach stage #6076

@ClementWalter

Description

@ClementWalter

Bug Report

Description

When using the JSON schema provided by dvc on https://www.schemastore.org/json/ the inspection raises error with foreach stage "Schema validation: Missing required property 'cmd'" while dvc do manage to handle the file (no error in it).

Reproduce

I am using PyCharm:

  • add the dvc json schema with the built-in tool
  • create a dvc.yaml file with a foreach stage

Expected

The schema should handle foreach stages.

Environment information

PyCharm 2020.2.3 (Professional Edition)

Additional Information (if any):

A "foreach" search on the schema does not lead to any results so I guess it is simply not implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequesting a new featurep3-nice-to-haveIt should be done this or next sprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions