aiogram-webhook 2.0.0__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/PKG-INFO +1 -1
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/pyproject.toml +1 -1
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/config/bot.py +4 -4
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/README.md +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/adapter.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/mapping.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/base_adapter.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/base_mapping.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/adapter.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/mapping.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/config/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/config/webhook.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/engines/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/engines/base.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/engines/simple.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/engines/token.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/routing/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/routing/base.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/routing/path.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/routing/query.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/routing/static.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/checks/__init__.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/checks/check.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/checks/ip.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/secret_token.py +0 -0
- {aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/security.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: aiogram-webhook
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: A python library for integrating webhook support with multiple web frameworks in aiogram. Organizes bot operation via webhooks for both single and multi-bot setups.
|
|
5
5
|
Keywords: aiogram,telegram,webhook,fastapi,aiohttp,multibot
|
|
6
6
|
Author: m-xim
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "aiogram-webhook"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.1"
|
|
4
4
|
description = "A python library for integrating webhook support with multiple web frameworks in aiogram. Organizes bot operation via webhooks for both single and multi-bot setups."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
1
3
|
from aiogram.client.default import DefaultBotProperties
|
|
2
4
|
from aiogram.client.session.base import BaseSession
|
|
3
|
-
from pydantic import BaseModel, ConfigDict
|
|
4
|
-
|
|
5
5
|
|
|
6
|
-
class BotConfig(BaseModel):
|
|
7
|
-
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
8
6
|
|
|
7
|
+
@dataclass
|
|
8
|
+
class BotConfig:
|
|
9
9
|
session: BaseSession | None = None
|
|
10
10
|
"""HTTP Client session (For example AiohttpSession). If not specified it will be automatically created."""
|
|
11
11
|
default: DefaultBotProperties | None = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/__init__.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/adapter.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/aiohttp/mapping.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/base_adapter.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/base_mapping.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/__init__.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/adapter.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/adapters/fastapi/mapping.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/checks/__init__.py
RENAMED
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/checks/check.py
RENAMED
|
File without changes
|
|
File without changes
|
{aiogram_webhook-2.0.0 → aiogram_webhook-2.0.1}/src/aiogram_webhook/security/secret_token.py
RENAMED
|
File without changes
|
|
File without changes
|