Expected Behavior
Allow - in repo name such as "app-"
Current Behavior
Steps to reproduce
feast.repo_config.FeastConfigError: 1 validation error for RepoConfig
Value error, Project name: app-xxx, should only have alphanumerical values and underscores but not start with an underscore. [type=value_error, input_value='app-xxx', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/value_error
Specifications
- Version:
- Platform:
- Subsystem:
Possible Solution
def is_valid_name(name: str) -> bool:
"""A name should be alphanumeric values, underscores, and hyphens but not start with an underscore"""
return not name.startswith("_") and re.compile(r"[^\w-]+").search(name) is None
Expected Behavior
Allow - in repo name such as "app-"
Current Behavior
Steps to reproduce
feast.repo_config.FeastConfigError: 1 validation error for RepoConfig
Value error, Project name: app-xxx, should only have alphanumerical values and underscores but not start with an underscore. [type=value_error, input_value='app-xxx', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/value_error
Specifications
Possible Solution