omise-python icon indicating copy to clipboard operation
omise-python copied to clipboard

Python 3.12 SyntaxWarning

Open perry opened this issue 11 months ago • 1 comments

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

perry avatar Mar 08 '24 03:03 perry

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

aashishgurung avatar Mar 08 '24 08:03 aashishgurung

@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.

aashishgurung avatar Jul 12 '24 07:07 aashishgurung