Spaces:
Sleeping
Sleeping
Commit
·
94c3b3d
1
Parent(s):
ad3d0d5
fix mock validator function signature
Browse files- validator_wrapper.py +6 -3
validator_wrapper.py
CHANGED
|
@@ -58,9 +58,12 @@ class S1ValidatorWrapper(ValidatorWrapper):
|
|
| 58 |
return response_event
|
| 59 |
|
| 60 |
|
| 61 |
-
class MockValidator(ValidatorWrapper):
|
| 62 |
-
def query_validator(self,
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
|
|
|
|
| 58 |
return response_event
|
| 59 |
|
| 60 |
|
| 61 |
+
class MockValidator(ValidatorWrapper):
|
| 62 |
+
async def query_validator(self, params:QueryValidatorParams) -> DendriteResponseEvent:
|
| 63 |
+
...
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
| 67 |
|
| 68 |
|
| 69 |
|