Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendition width and height fields should allow non-int numbers for SVG #410

Open
jams2 opened this issue Oct 10, 2024 · 0 comments
Open

Comments

@jams2
Copy link
Contributor

jams2 commented Oct 10, 2024

Rendition queries may operate on SVGs, for which non-integer width and height attributes are valid. The type for these fields is currently defined as Int:

width = graphene.Int(required=True)

References:

This can cause an error: Int cannot represent non-integer value: 342.5

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

No branches or pull requests

1 participant