-
Notifications
You must be signed in to change notification settings - Fork 14
Recursos para card-authorizer #146
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
Codecov Report
@@ Coverage Diff @@
## main #146 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 27 +2
Lines 593 652 +59
=========================================
+ Hits 593 652 +59
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
cuenca/resources/arpc.py
Outdated
|
|
||
|
|
||
| @dataclass | ||
| class ARPC(Creatable): |
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.
what's ARPC?
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.
please add a description
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.
it should be Arpc and not ARPC. All caps is reserved for constants
| funding_type: CardFundingType | ||
|
|
||
| @property | ||
| def last_4_digits(self): |
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.
change to last4 instead of last_4_digits to have consistency with https://github.com/samuelcolvin/pydantic/blob/5261fd05a0374b84ce2602d45990baf480fa2417/pydantic/types.py#L854
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.
That field is being used in Core and many other projects, I think it would be best if we created an issue and modified the field in the other projects, otherwise this change would create some PRs for other projects
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.
issue created:
#148
Se agregan recursos para la comunicación de card-authorizer hacia knox.
closes #144
closes #145