Skip to content

fixed string representation of timestamp edgecase#123

Open
sannam-quiknode wants to merge 3 commits intoOpenRarity:release/1.0.0from
sannam-quiknode:release_1.0.0_enhancements
Open

fixed string representation of timestamp edgecase#123
sannam-quiknode wants to merge 3 commits intoOpenRarity:release/1.0.0from
sannam-quiknode:release_1.0.0_enhancements

Conversation

@sannam-quiknode
Copy link

  • Handled ERROR - Invalid isoformat string: '<timestamp_value>'

)
if isinstance(value, (int | float)):
values["value"] = value
elif isinstance(value, str) and value.replace(".", "",1).isdigit():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you are using the pre-commit formatters that are included. It looks like the formatting on the 1 is missing a space. So just double check that your IDE is applying formatting on save and on commit. Otherwise, I think this is good.

Copy link
Collaborator

@theelderbeever theelderbeever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small formatting request.

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.

2 participants