oda-hub / oda_api

API client to access some of the MMODA resources: INTEGRAL, POLAR, ANTARES, LIGO/Virgo, SDSS
Other
2 stars 2 forks source link

api code generation with boolean is `false` instead of `False` #206

Closed volodymyrss closed 1 year ago

burnout87 commented 1 year ago

Where did you see this happening?

burnout87 commented 1 year ago

do you remember in which situation you saw this behavior. I tried to reproduce it but could not

volodymyrss commented 1 year ago

I guess it would be wherever there is boolean in parameters. You could test with some test instruments.

burnout87 commented 1 year ago

Ok I found it, it is within the oda_api when doing the json.dumps, the dict is converted to a JSON object, for which False (and True) are converted to false and true, so according to the SON specification.

Fix has to be in the oda_api