style: fix code formatting

This commit is contained in:
Maxim Slipenko 2024-10-03 18:25:08 +03:00
parent 7724a60f8c
commit 0881fe02d5
No known key found for this signature in database
GPG Key ID: 6DEA9FA7DE98C7D6
4 changed files with 18 additions and 20 deletions

View File

@ -20,7 +20,6 @@ async def main():
block_loader("external", "create_report_apps"),
block_loader("standard", "info"),
block_loader("standard", "help"),
# block_loader("external", "yandexgpt", safe=False),
#
# block_loader("standard", "admin"),

View File

@ -55,9 +55,7 @@ def create_dash_app(requests_pathname_prefix: str = None) -> dash.Dash:
dbc.themes.BOOTSTRAP,
dbc.icons.BOOTSTRAP,
],
external_scripts=[
"https://telegram.org/js/telegram-web-app.js"
],
external_scripts=["https://telegram.org/js/telegram-web-app.js"],
server=server,
requests_pathname_prefix=real_prefix,
routes_pathname_prefix="/_internal/",

View File

@ -10,7 +10,8 @@ class ChatStats(Table):
class Messages(Table):
# 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)
chat_id = Integer()
@ -23,7 +24,7 @@ class Messages(Table):
class UserStats(Table):
# 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)
chat_id = Integer()