The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Make Path._SEGMENT_PATTERN compatible with fastjsonschema

main
Gergely Polonkai 3 months ago
parent 129bce02e2
commit 22d33a5d41
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
  1. 2
      earthsnake/path.py

@ -11,7 +11,7 @@ PATH_CHARACTER = ALPHA_LOWER + ALPHA_UPPER + DIGIT + PATH_PUNCTUATION
class Path:
"""A document path"""
_SEGMENT_PATTERN = f'/[{PATH_CHARACTER}]+'
_SEGMENT_PATTERN = f'/[{PATH_CHARACTER}]+'.replace('$', '\\$')
_PATTERN = f'^({_SEGMENT_PATTERN})+$'
def __init__(self, path: str) -> None:

Loading…
Cancel
Save