#1191 Added possibility to pass custom headers to URLInputFile object

This commit is contained in:
Alex Root Junior 2023-06-25 01:37:38 +03:00
parent a890622e40
commit 32c10396fe
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
10 changed files with 53 additions and 16 deletions

View file

@ -46,7 +46,7 @@ def replace_line(content: str, pattern: re.Pattern, new_value: str) -> str:
def write_package_meta(api_version: str) -> None:
path = Path.cwd() / "aiogram" / "__init__.py"
path = Path.cwd() / "aiogram" / "__meta__.py"
content = path.read_text()
content = replace_line(content, API_VERSION, api_version)