lnbits-legend/lnbits/core/views
dni ⚡ c4da1dfdce
[REFACTOR] WalletType into enum (#1888)
* [REFACTOR] WalletType into enum

- move wallettype models from decorators.py into models.py
- use enum instead of int
- use HTTPStatus for consistency

* Update lnbits/core/models.py

Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>

* use dataclass

---------

Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
2023-08-23 12:41:22 +02:00
..
__init__.py refactor: breaking bad 2020-03-08 23:00:41 +01:00
admin_api.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00
api.py [REFACTOR] WalletType into enum (#1888) 2023-08-23 12:41:22 +02:00
generic.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00
public_api.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00