mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-24 00:33:06 +03:00
style: fix code formatting
This commit is contained in:
parent
7724a60f8c
commit
0881fe02d5
@ -20,7 +20,6 @@ async def main():
|
|||||||
block_loader("external", "create_report_apps"),
|
block_loader("external", "create_report_apps"),
|
||||||
block_loader("standard", "info"),
|
block_loader("standard", "info"),
|
||||||
block_loader("standard", "help"),
|
block_loader("standard", "help"),
|
||||||
|
|
||||||
# block_loader("external", "yandexgpt", safe=False),
|
# block_loader("external", "yandexgpt", safe=False),
|
||||||
#
|
#
|
||||||
# block_loader("standard", "admin"),
|
# block_loader("standard", "admin"),
|
||||||
|
@ -55,9 +55,7 @@ def create_dash_app(requests_pathname_prefix: str = None) -> dash.Dash:
|
|||||||
dbc.themes.BOOTSTRAP,
|
dbc.themes.BOOTSTRAP,
|
||||||
dbc.icons.BOOTSTRAP,
|
dbc.icons.BOOTSTRAP,
|
||||||
],
|
],
|
||||||
external_scripts=[
|
external_scripts=["https://telegram.org/js/telegram-web-app.js"],
|
||||||
"https://telegram.org/js/telegram-web-app.js"
|
|
||||||
],
|
|
||||||
server=server,
|
server=server,
|
||||||
requests_pathname_prefix=real_prefix,
|
requests_pathname_prefix=real_prefix,
|
||||||
routes_pathname_prefix="/_internal/",
|
routes_pathname_prefix="/_internal/",
|
||||||
|
@ -10,7 +10,8 @@ class ChatStats(Table):
|
|||||||
|
|
||||||
class Messages(Table):
|
class Messages(Table):
|
||||||
# Key format: `{message_chat_id}-{message_id}`
|
# Key format: `{message_chat_id}-{message_id}`
|
||||||
# (A temporary measure until https://github.com/piccolo-orm/piccolo/pull/984 is accepted)
|
# (A temporary measure until piccolo-orm/piccolo#984 is accepted)
|
||||||
|
#
|
||||||
key = Text(primary_key=True)
|
key = Text(primary_key=True)
|
||||||
|
|
||||||
chat_id = Integer()
|
chat_id = Integer()
|
||||||
@ -23,7 +24,7 @@ class Messages(Table):
|
|||||||
|
|
||||||
class UserStats(Table):
|
class UserStats(Table):
|
||||||
# Key format: `{chat_id}-{user_id}`
|
# Key format: `{chat_id}-{user_id}`
|
||||||
# (A temporary measure until https://github.com/piccolo-orm/piccolo/pull/984 is accepted)
|
# (A temporary measure until piccolo-orm/piccolo#984 is accepted)
|
||||||
key = Text(primary_key=True)
|
key = Text(primary_key=True)
|
||||||
|
|
||||||
chat_id = Integer()
|
chat_id = Integer()
|
||||||
|
Loading…
Reference in New Issue
Block a user