Skip to content

Commit

Permalink
Modified name validation in order to allow numbers and underscore as …
Browse files Browse the repository at this point in the history
…the first character too (#263)
  • Loading branch information
ricardogsilva authored Oct 7, 2024
1 parent 5a22f46 commit 58ca886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arpav_ppcv/schemas/coverages.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from . import observations

logger = logging.getLogger(__name__)
_NAME_PATTERN: Final[str] = r"^[a-z][a-z0-9_]+$"
_NAME_PATTERN: Final[str] = r"^[a-z0-9_]+$"


class ConfigurationParameterValue(sqlmodel.SQLModel, table=True):
Expand Down

0 comments on commit 58ca886

Please sign in to comment.