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

TypeError: 'function' object is not iterable #48

Open
a-dubrovin opened this issue Nov 7, 2023 · 1 comment
Open

TypeError: 'function' object is not iterable #48

a-dubrovin opened this issue Nov 7, 2023 · 1 comment

Comments

@a-dubrovin
Copy link

/imagefit/views.py, line 49, in resize

It may fix by change
line 6
from inspect import Signature -> from inspect import signature
and line 49
sig = Signature(was_modified_since) -> sig = signature(was_modified_since)
in /imagefit/views.py file

https://docs.python.org/3/library/inspect.html#introspecting-callables-with-the-signature-object

@vinyll
Copy link
Owner

vinyll commented Nov 8, 2023

Nice catch @a-dubrovin!
Do you feel like checking your assumption and suggesting a Pull Request?
We’ll very likely approve it :)

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

2 participants