Skip to content

Python 3.12 SyntaxWarning #72

@perry

Description

@perry

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions