Skip to content

Commit

Permalink
Merge pull request #39 from alteralt/master
Browse files Browse the repository at this point in the history
Fix work on python3.8
  • Loading branch information
WhiteApfel authored Jul 30, 2022
2 parents a02e845 + 76a50a9 commit 91499af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyqiwip2p/AioQiwip2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import typing
from base64 import b64decode
from ipaddress import IPv4Address, IPv4Network
from typing import List

import httpx
from loguru import logger
Expand Down Expand Up @@ -125,7 +126,7 @@ async def bill(
lifetime: int = 30,
customer: typing.Union[QiwiCustomer, dict] = None,
comment: str = "via pyQiwiP2P (WhiteApfel)",
pay_sources: list[str] = None,
pay_sources: List[str] = None,
theme_code: str = None,
fields: dict = None,
) -> Bill:
Expand Down
3 changes: 2 additions & 1 deletion pyqiwip2p/Qiwip2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import typing
from base64 import b64decode
from ipaddress import IPv4Address, IPv4Network
from typing import List

import httpx
from loguru import logger
Expand Down Expand Up @@ -115,7 +116,7 @@ def bill(
lifetime: int = 30,
customer: typing.Union[QiwiCustomer, dict] = None,
comment: str = "via pyQiwiP2P (WhiteApfel)",
pay_sources: list[str] = None,
pay_sources: List[str] = None,
theme_code: str = None,
fields: dict = None,
) -> Bill:
Expand Down

0 comments on commit 91499af

Please sign in to comment.