Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attr support for proof restrictions #585

Closed

Conversation

ianco
Copy link
Contributor

@ianco ianco commented Jul 3, 2020

Signed-off-by: Ian Costanzo ian@anon-solutions.ca

Signed-off-by: Ian Costanzo <ian@anon-solutions.ca>
@codecov-commenter
Copy link

Codecov Report

Merging #585 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #585   +/-   ##
=======================================
  Coverage   96.46%   96.46%           
=======================================
  Files         247      247           
  Lines       13166    13167    +1     
=======================================
+ Hits        12701    12702    +1     
  Misses        465      465           

Signed-off-by: Ian Costanzo <ian@anon-solutions.ca>
@ianco ianco requested a review from sklump July 3, 2020 22:46
@sklump
Copy link
Contributor

sklump commented Jul 3, 2020

Hold off on this until Monday please - I'd like to take a deeper look

@ianco
Copy link
Contributor Author

ianco commented Jul 4, 2020

@sklump I took a crack at updating the schema so we could keep the schema validations on the restrictions however I couldn't get it to work. You can see the updated schema code here:

https://github.com/ianco/aries-cloudagent-python/compare/attr_value_restrictions...ianco:attr_value_restrictions_dev?expand=1

@@ -206,7 +212,7 @@ class IndyProofReqPredSpecSchema(Schema):
)
p_value = fields.Integer(description="Threshold value", required=True)
restrictions = fields.List(
fields.Nested(IndyProofReqSpecRestrictionsSchema()),
fields.Dict(), # fields.Nested(IndyProofReqSpecRestrictionsSchema()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me have a crack at it, I am just off vacation and full of hubris

@sklump
Copy link
Contributor

sklump commented Jul 6, 2020

I'm tentatively closing this one, please follow on #587. No editorial reason but a safeguard to make sure both don't get merged. If #587 is the wrong idea, we can open this one again instead.

@sklump sklump closed this Jul 6, 2020
@ianco ianco deleted the attr_value_restrictions branch December 2, 2020 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants