omise / omise-python

Omise Python Library
https://docs.opn.ooo
MIT License
26 stars 15 forks source link

Python 3.12 SyntaxWarning #72

Closed perry closed 3 months ago

perry commented 7 months ago

Expected behavior

Expected to not receive SyntaxWarning

Actual behavior

remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:272: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update account settings with the given arguments.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:429: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a credit card token with the given card details.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:533: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the card information with the given card details.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:697: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a charge to the given card details.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:757: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the charge details with the given arguments.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:783: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Capture an authorized charge.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:917: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a customer with the given card token.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:968: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the customer details with the given arguments.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:1204: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the dispute details with the given arguments.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:1452: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a link for creating charge once or multiple times.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:1627: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a recipient with the given parameters.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:1692: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the recipient details with the given arguments.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:1866: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a schedule charge object to
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:2064: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Create a transfer to the bank account.
remote:  !     /app/.heroku/python/lib/python3.12/site-packages/omise/__init__.py:2121: SyntaxWarning: invalid escape sequence '\*'
remote:  !       """Update the transfers details with the given arguments.

Steps to reproduce the issue

Any usage of the package returns these warnings.

Logs

No response

Screenshots

No response

Name and version information

Python 3.12.x omise 0.13.0

aashishgurung commented 7 months ago

@perry Thank you for reaching out. We will look into this and get back to you soon.

aashishgurung commented 3 months ago

@perry We are closing this issue since it has already been resolved. If this issue is still relevant, please feel free to reopen it with more details and we’ll take another look.