Skip to content

parsing: improve error message for unsupported types for local variables #9503

Open
@skshetry

Description

@skshetry
stages:
  download-video-data:
    foreach:
      - 2023-05-09
    do:
      desc: |-
        Downloading video data from ${item}
      outs:
        - out.txt
      cmd:
        - echo ${item} >> out.txt

If you run dvc repro raises: ERROR: unexpected error - Unsupported value of type 'date' in '<local>:item'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: templatingRelated to the templating featurebugDid we break something?p3-nice-to-haveIt should be done this or next sprint

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions