Skip to content

Commit 0a61d00

Browse files
committed
fix: do not escape literals
Signed-off-by: Timo Glastra <timo@animo.id>
1 parent 149ccb3 commit 0a61d00

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

aries_cloudcontroller/model/indy_pres_pred_spec.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ class IndyPresPredSpec(BaseModel):
1717
1818
IndyPresPredSpec - a model defined in OpenAPI
1919
name: Attribute name.
20-
predicate: Predicate type (&#39;&lt;&#39;, &#39;&lt;&#x3D;&#39;, &#39;&gt;&#x3D;&#39;, or &#39;&gt;&#39;).
20+
predicate: Predicate type ('<', '<=', '>=', or '>').
2121
threshold: Threshold value.
2222
cred_def_id: Credential definition identifier [Optional].
2323
"""
2424

2525
name: str
26-
predicate: Literal["&lt;", "&lt;&#x3D;", "&gt;&#x3D;", "&gt;"]
26+
predicate: Literal["<", "<=", ">=", ">"]
2727
threshold: int
2828
cred_def_id: Optional[str] = None
2929

3030
def __init__(
3131
self,
3232
*,
3333
name: str = None,
34-
predicate: Literal["&lt;", "&lt;&#x3D;", "&gt;&#x3D;", "&gt;"] = None,
34+
predicate: Literal["<", "<=", ">=", ">"] = None,
3535
threshold: int = None,
3636
cred_def_id: Optional[str] = None,
3737
**kwargs,

aries_cloudcontroller/model/indy_proof_req_pred_spec.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class IndyProofReqPredSpec(BaseModel):
2020
2121
IndyProofReqPredSpec - a model defined in OpenAPI
2222
name: Attribute name.
23-
p_type: Predicate type (&#39;&lt;&#39;, &#39;&lt;&#x3D;&#39;, &#39;&gt;&#x3D;&#39;, or &#39;&gt;&#39;).
23+
p_type: Predicate type ('<', '<=', '>=', or '>').
2424
p_value: Threshold value.
2525
non_revoked: The non_revoked of this IndyProofReqPredSpec [Optional].
2626
restrictions: If present, credential must satisfy one of given restrictions: specify schema_id, schema_issuer_did, schema_name, schema_version, issuer_did, cred_def_id, and/or attr::&lt;attribute-name&gt;::value where &lt;attribute-name&gt; represents a credential attribute name [Optional].
2727
"""
2828

2929
name: str
30-
p_type: Literal["&lt;", "&lt;&#x3D;", "&gt;&#x3D;", "&gt;"]
30+
p_type: Literal["<", "<=", ">=", ">"]
3131
p_value: int
3232
non_revoked: Optional[IndyProofReqPredSpecNonRevoked] = None
3333
restrictions: Optional[List[Dict[str, str]]] = None
@@ -36,7 +36,7 @@ def __init__(
3636
self,
3737
*,
3838
name: str = None,
39-
p_type: Literal["&lt;", "&lt;&#x3D;", "&gt;&#x3D;", "&gt;"] = None,
39+
p_type: Literal["<", "<=", ">=", ">"] = None,
4040
p_value: int = None,
4141
non_revoked: Optional[IndyProofReqPredSpecNonRevoked] = None,
4242
restrictions: Optional[List[Dict[str, str]]] = None,

0 commit comments

Comments
 (0)