-
Notifications
You must be signed in to change notification settings - Fork 4
Issue 14/create invitation #21
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
Conversation
* allows specifying more oprtions that * are covered in SWAGGER but not in our code yet
* it only gets passed when provided * reflects the trith of the API where it is optional
4d901b6 to
58bff38
Compare
|
@wip-abramson please have a quick look and see whether that addresses all points appropriate. Let me know if not. Happy to make further changes. As you'll see what we discussed earlier today is implemented. |
| logger.debug(f"{connection_id} state updated") | ||
|
|
||
| # Combines receive and accept connection api calls | ||
| async def accept_connection(self, invitation): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again this needs to be versioned change. To 0.2
| "service_endpoint": "http://192.168.56.102:8020" | ||
| } | ||
| """ | ||
| params['body'] = invite_options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right? I don't think so.
I think this body should be sent as json_data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah good shout! Silly me. It's changed now.
|
This looks good. Few minor things. See comments above. Did you test the json.dumps for params btw? |
| # Store a received credential | ||
| async def store_credential(self, cred_ex_id, credential_id): | ||
| body = {"credential_id": credential_id} | ||
| async def store_credential(self, cred_ex_id, credential_id: str = None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be in this commit. It is also added in separate P.R. #21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll address that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wip-abramson just looked at that and now I'm confused what you mean. The PR you referenced is this PR? Not sure what you mean now. Issue is 14 PR is 21. Happy to change however you like it, please, clarify though😅
04cf61d to
3fcf2aa
Compare
No description provided.