File tree Expand file tree Collapse file tree 3 files changed +1
-31
lines changed
aries_cloudcontroller/model Expand file tree Collapse file tree 3 files changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -40,21 +40,6 @@ def did_pattern(cls, value):
4040 raise ValueError (f"Value of did does not match regex pattern ('{ pattern } ')" )
4141 return value
4242
43- @validator ("verkey" )
44- def verkey_pattern (cls , value ):
45- # Property is optional
46- if value is None :
47- return
48-
49- pattern = (
50- r"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$"
51- )
52- if not re .match (pattern , value ):
53- raise ValueError (
54- f"Value of verkey does not match regex pattern ('{ pattern } ')"
55- )
56- return value
57-
5843 class Config :
5944 allow_population_by_field_name = True
6045
Original file line number Diff line number Diff line change @@ -21,21 +21,6 @@ class GetDIDVerkeyResponse(BaseModel):
2121
2222 verkey : Optional [str ] = None
2323
24- @validator ("verkey" )
25- def verkey_pattern (cls , value ):
26- # Property is optional
27- if value is None :
28- return
29-
30- pattern = (
31- r"^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$"
32- )
33- if not re .match (pattern , value ):
34- raise ValueError (
35- f"Value of verkey does not match regex pattern ('{ pattern } ')"
36- )
37- return value
38-
3924 class Config :
4025 allow_population_by_field_name = True
4126
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def parse_requirements(filename: str):
1919if __name__ == "__main__" :
2020 setup (
2121 name = PACKAGE_NAME ,
22- version = "0.9.1-beta0 " ,
22+ version = "0.9.1-beta1 " ,
2323 description = "A simple python package for controlling an aries agent through the admin-api interface" ,
2424 long_description = long_description ,
2525 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments