You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
similar errors have been encountered before. The value should not as the validator suggests in aries_cloudcontroller/model/indy_proof_req_attr_spec_non_revoked.py be less than -1 (to) and larger 0 (from_). Both should just be positive integers(?) since according to aca-py swagger these values are seconds since unix epoch values.
actually this just seems off:
from aries_cloudcontroller/model/indy_proof_req_attr_spec_non_revoked.py
@validator("from_")deffrom__max(cls, value):
# Property is optionalifvalueisNone:
returnifvalue>-1:
raiseValueError(f"from_ must be less than -1, currently {value}")
returnvalue@validator("from_")deffrom__min(cls, value):
# Property is optionalifvalueisNone:
returnifvalue<0:
raiseValueError(f"from_ must be greater than 0, currently {value}")
returnvalue@validator("to")defto_max(cls, value):
# Property is optionalifvalueisNone:
returnifvalue>-1:
raiseValueError(f"to must be less than -1, currently {value}")
returnvalue@validator("to")defto_min(cls, value):
# Property is optionalifvalueisNone:
returnifvalue<0:
raiseValueError(f"to must be greater than 0, currently {value}")
returnvalue
The text was updated successfully, but these errors were encountered:
The
from_
andto
attrs validators seem to be wrong innon_revoked
. Following error encountered:similar errors have been encountered before. The value should not as the validator suggests in
aries_cloudcontroller/model/indy_proof_req_attr_spec_non_revoked.py
be less than -1 (to) and larger 0 (from_). Both should just be positive integers(?) since according to aca-py swagger these values are seconds since unix epoch values.actually this just seems off:
from aries_cloudcontroller/model/indy_proof_req_attr_spec_non_revoked.py
The text was updated successfully, but these errors were encountered: