Skip to content

JSON schema number references should also include ints #643

Description

@korikuzma

Dup of VA-Spec Python ga4gh/va-spec-python#61

Describe the bug

We only accept floats

Steps to reproduce

Look at the code :(

Expected behavior

We should accept either float or int

Current behavior

We only accept floats

Possible reason(s)

I was being dumb

Suggested fix

No response

Branch, commit, and/or version

https://github.com/ga4gh/vrs-python/commits/vrs/2.1.0-snapshot.2026-02/ and others

Screenshots

No response

Environment details

NA

Additional details

No response

Contribution

Yes, I can create a PR for this fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions