Skip to content

How load defualt value when environ variable is not set #3669

@GyuminJack

Description

@GyuminJack

Expected Behavior

${REDIS_CONNECTION_STRING:"0.0.0.0:6379"}
-> when "REDIS_CONNECTION_STRING" is not set, i expect return value is "0.0.0.0:6379"
but not properly working

Current Behavior

only returns "${REDIS_CONNECTION_STRING:"0.0.0.0:6379"}"

  • maybe that function developed via (0433459)

  • could you tell me the code how can get default value with parsing?

Steps to reproduce

type that string is feature_store.yaml

Specifications

  • Version: python3.9, feast 0.31.1
  • Platform:
  • Subsystem:

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions