You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice a potential inconsistency between the regex pattern and the error message in the wandb_project validator:
@field_validator("wandb_project")defvalidate_wandb_project(cls, value):
ifvalueisnotNone:
# Define a regex pattern to match valid charactersifnotre.match(r"^[\w.-/]+$", value):
raiseValueError(
"Wandb project name must only contain characters, dashes, underscores, and dots."
)
returnvalue
Questions for Clarification
The error message states that only "characters, dashes, underscores, and dots" are allowed
However, the regex pattern ^[\w.-/]+$ also allows forward slashes (/)
Should forward slashes be permitted in Wandb project names?
Next Steps
Confirmation needed on whether forward slashes should be part of valid Wandb project names
Based on the answer, we can update either:
The regex pattern to exclude slashes
Or the error message to include slashes as valid characters
Inconsistency in
wandb_project
Validation PatternDescription
I notice a potential inconsistency between the regex pattern and the error message in the
wandb_project
validator:Questions for Clarification
^[\w.-/]+$
also allows forward slashes (/
)Next Steps
@CuriousDolphin Could you clarify the intended behavior?
The text was updated successfully, but these errors were encountered: