Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 9e903cf

Browse files
authored
Add support for UUIDs in the second half of an ID (#12)
1 parent d1bd7cf commit 9e903cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vaccine_feed_ingest_schema/location.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Lowercase alpha-numeric and underscores with one colon
3939
# e.g. az_arcgis:hsdg46sj
40-
LOCATION_ID_RE = re.compile(r"^[a-z0-9_]+\:[a-z0-9_]+$")
40+
LOCATION_ID_RE = re.compile(r"^[a-z0-9_]+\:[a-z0-9_-]+$")
4141

4242
# Source ids can have anything but a space or a colon. Those must be replaced with another character (like a dash).
4343
SOURCE_ID_RE = re.compile(r"^[^\s\:]+$")

0 commit comments

Comments
 (0)