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

Dependency Error – ModuleNotFoundError: No module named 'strawberry.arguments' #189

Closed
pablosdos opened this issue Aug 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@pablosdos
Copy link

pablosdos commented Aug 7, 2024

from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyMapper

File "/Users/paulkluge/Documents/Work/Codebase/Active-Servers/active-servers/root-control-v2/backend/.venv/lib/python3.12/site-packages/strawberry_sqlalchemy_mapper/init.py", line 19, in
from .field import connection, field, node
File "/Users/paulkluge/Documents/Work/Codebase/Active-Servers/active-servers/root-control-v2/backend/.venv/lib/python3.12/site-packages/strawberry_sqlalchemy_mapper/field.py", line 36, in
from strawberry.arguments import StrawberryArgument, argument
ModuleNotFoundError: No module named 'strawberry.arguments'

Describe the Bug

I set up the strawberry-sqlalchemy-mapper as described, but got an error.

Looks like, strawberry-sqlalchemy-mapper 0.4.3 is not working with strawberry-graphql 0.237.3. When this bug report was written, both versions are the latest. Is this issue already known?

System Information

Python 3.12.4
Pipenv

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@pablosdos pablosdos added the bug Something isn't working label Aug 7, 2024
@ztr-risingtide
Copy link

Path appears to have changed to strawberry/types/arguments.py in Strawberry version 0.236.0

@mlcooper
Copy link

Downgraded strawberry-graphql to ~0.235.0 eliminates this error, but obviously not ideal.

@Ckk3
Copy link
Contributor

Ckk3 commented Oct 4, 2024

This issue will be resolved on #187

@Ckk3
Copy link
Contributor

Ckk3 commented Oct 21, 2024

This issue is resolved!

@Ckk3 Ckk3 closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants