ZEDGR / pychallonge

Python Module for the CHALLONGE API
https://challonge.com/api
BSD 2-Clause "Simplified" License
44 stars 11 forks source link

_parse() treats 'misc' as datetime #15

Closed ElHeffeVonPhennig closed 2 years ago

ElHeffeVonPhennig commented 2 years ago

In api.py the list of string values to treat as text do not include 'misc', which is provided in response to the participant.bulk_add() and index() calls. The API documentation states that 'misc' is user generated string value. Attempts to parse this as a datetime field can alter the fields value.

ZEDGR commented 2 years ago

Thanks for this. The latest version 1.11.5 is converting the "misc" field only to string.