Skip to content

Conversation

@KATT
Copy link
Contributor

@KATT KATT commented Aug 2, 2022

From my experimentation with the API, it seems like it always returns a string. Might be wrong though.

Ideally, you'd coerce it as a number and only have this as a number instead, but that's a larger change.

From my experimentation with the API, it seems like it *always* returns a `string`. Might be wrong though.

Ideally, you'd coerce it as a number and only have this as a `number` instead, but that's a larger change.
@obando777
Copy link
Contributor

According to the python SDK, it is hinted at as a string only.
https://github.com/unit-finance/unit-python-sdk/blob/master/unit/models/__init__.py#L88

@ilyamerman ilyamerman merged commit 18ebf56 into unit-finance:main Aug 31, 2022
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.

3 participants