0.1.1
All checks were successful
Build Docs / changes (push) Successful in 28s
Build Docs / build-docs (push) Successful in 56s
Build Docs / deploy-docs (push) Successful in 4s

This commit is contained in:
Alexander Kalinovsky
2025-08-19 17:57:19 +03:00
parent fe7ca7f51b
commit 40a28638bb
5 changed files with 12 additions and 1362 deletions

View File

@@ -1,9 +1,13 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "quickbot"
version = "0.1.0"
version = "0.1.1"
description = "quickbot - Rapid Application Development Framework for Telegram Bots"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
@@ -16,13 +20,10 @@ license = { file = "LICENSE" }
dependencies = [
"aiogram>=3.17.0",
"babel>=2.17.0",
"asyncpg>=0.30.0",
"fastapi[standard]>=0.115.8",
"greenlet>=3.1.1",
"mkdocs-material>=9.6.5",
"pydantic-settings>=2.7.1",
"pytest>=8.3.4",
"ruff>=0.9.6",
"sqlmodel>=0.0.22",
"sqlmodel>=0.0.24",
"ujson>=5.10.0",
]

View File

@@ -15,7 +15,7 @@ logger = getLogger(__name__)
router = APIRouter()
@router.post("/webhook")
@router.post("/webhook", name="telegram_webhook")
async def telegram_webhook(
db_session: Annotated[AsyncSession, Depends(get_db)],
request: Request,

View File

@@ -26,7 +26,6 @@ from ....utils.main import (
get_callable_str,
get_entity_descriptor,
build_field_sequence,
get_user_permissions,
)
from ..context import ContextData, CallbackCommand, CommandContext
from ....utils.navigation import (
@@ -328,7 +327,7 @@ async def item_repr(entity_item: BotEntity, context: BotContext):
item_text = f"<b><u><i>{entity_caption or entity_descriptor.name}:</i></u></b> <b>{entity_item_repr}</b>"
user_permissions = get_user_permissions(user, entity_descriptor)
# user_permissions = get_user_permissions(user, entity_descriptor)
for field_descriptor in entity_descriptor.fields_descriptors.values():
if (

View File

@@ -9,6 +9,8 @@ class Config(BaseSettings):
env_file=".env", env_ignore_empty=True, extra="ignore"
)
STACK_NAME: str = "quickbot"
SECRET_KEY: str = "changethis"
ENVIRONMENT: Literal["local", "staging", "production"] = "local"

1352
uv.lock generated

File diff suppressed because it is too large Load Diff