Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E ewokscore
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • workflow
  • ewoks
  • ewokscore
  • Issues
  • #42
Closed
Open
Issue created Oct 17, 2022 by Valentin Valls@valentin.vallsMaintainer

Remove <MISSING_DATA> from input_values

Hi,

A Task provides optional input values.

But if you get the self.input_values you can find such thing.

{..., 'sleep_time': <MISSING_DATA>}

This means if you use this dict to retrieve this input value, you retrieve a string <MISSING_DATA> (or an object stringified as <MISSING_DATA>)

assert "sleep_time" not in self.input_values              # this will fail
assert self.input_values.get("sleep_time", None) is None  # this will fail

It's maybe easier to just not expose such keys from the input_values dict?

Assignee
Assign to
Time tracking