-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added support for LNBits "Invoices" extension #82
Conversation
What's a DTO? |
DTO is Data Transfer Object used to transfer data in remote API calls, not sure if 'pattern' is used in Python.. https://twitter.com/unclebobmartin/status/1132613913726423043 Found some usages in python: |
Ok - understood on the DTO. There is a deprecation warning that came up
Invoices: Invoice: Created invoice Updated invoice: Invoice payment:: Invoice payment status: Delete Invoice result::
|
There are a few pyproject.toml and requirements.txt updates, if you could kindly resolve, would appreciate it. @fenixlibertas |
Thanks bitkarrot, I'll take a look |
Done |
|
OK Will take a look, thanks @fenixlibertas |
@fenixlibertas ok i think this looks fine, only comment would be to add a note in the InvoiceDTO.py file and state what the DTO abbreviation is, in case someone doesn't know the reference. I will run this code in the AM, and then merge it in |
|
@fenixlibertas There were a bunch of formatting issues, I just pushed straight to your branch and fixed them, You might want to look up PEP8 and get a good formatter for VSCode for future python. |
No description provided.