Skip to content

Add literal eval to setting environment variable expansion #249

@andyneff

Description

@andyneff

Currently, the environment variable substitution only works for returning strings. It might be useful to add a literal eval

try:
  val = ast.literal_eval(val)
  if val is string
     val = ExpandedString(val)
except:
     val = ExpandedString(val)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions