mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 12:32:34 +02:00
11 lines
215 B
Python
11 lines
215 B
Python
#from sqlite3 import Row
|
|
#from typing import NamedTuple
|
|
|
|
|
|
#class Example(NamedTuple):
|
|
# id: str
|
|
# wallet: str
|
|
#
|
|
# @classmethod
|
|
# def from_row(cls, row: Row) -> "Example":
|
|
# return cls(**dict(row)) |