kopia lustrzana https://github.com/bugout-dev/moonstream
Black formating.
rodzic
a0b3418bf6
commit
3534456ede
|
@ -91,7 +91,9 @@ def data_generate(
|
|||
"block_timestamp": block_timestamp,
|
||||
"data": [
|
||||
{
|
||||
key: (value if type(value) is any((int, str)) else str(value))
|
||||
key: (
|
||||
value if type(value) is any((int, str)) else str(value)
|
||||
)
|
||||
for key, value in dict(row).items()
|
||||
}
|
||||
for row in db_session.execute(query, params)
|
||||
|
|
Ładowanie…
Reference in New Issue