Skip to content

Fixed swagger.py exceptions#18

Open
3ls-it wants to merge 1 commit into
wordnik:masterfrom
3ls-it:master
Open

Fixed swagger.py exceptions#18
3ls-it wants to merge 1 commit into
wordnik:masterfrom
3ls-it:master

Conversation

@3ls-it
Copy link
Copy Markdown

@3ls-it 3ls-it commented May 11, 2026

On lines 132 and 167 changed to raw strings as they raise:

/usr/lib/python3.13/site-packages/wordnik/swagger.py:132: SyntaxWarning: invalid escape sequence '\['
  match = re.match('list\[(.*)\]', objClass)
/usr/lib/python3.13/site-packages/wordnik/swagger.py:167: SyntaxWarning: invalid escape sequence '\['
  match = re.match('list\[(.*)\]', attrType)

On lines 132 and 167 changed to raw strings; on line 165 removed '.%f'
from date format string. All three were raising exceptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant