mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
#1191 Added possibility to pass custom headers to URLInputFile object
This commit is contained in:
parent
a890622e40
commit
32c10396fe
10 changed files with 53 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue