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

Try using redis tls config as recommended #314

Merged
merged 15 commits into from
Sep 8, 2023

Conversation

Apparently strict_concatenate is deprecated
I desperately want to stop using pipenv

This upgrades some dependencies, but whatever, I give up
This is the last version that does not give us the following error:

ImportError while loading conftest '/home//projects/projectify/projectify-backend/conftest.py'.
conftest.py:33: in <module>
    from projectify.schema import (
projectify/schema.py:27: in <module>
    schema = strawberry.Schema(
../../../.local/share/virtualenvs/projectify-backend-fxSe-pjh/lib/python3.11/site-packages/strawberry/schema/schema.py:115: in __init__
    self._schema = GraphQLSchema(
../../../.local/share/virtualenvs/projectify-backend-fxSe-pjh/lib/python3.11/site-packages/graphql/type/schema.py:224: in __init__
    collect_referenced_types(query)
../../../.local/share/virtualenvs/projectify-backend-fxSe-pjh/lib/python3.11/site-packages/graphql/type/schema.py:433: in collect_referenced_types
    collect_referenced_types(field.type)
../../../.local/share/virtualenvs/projectify-backend-fxSe-pjh/lib/python3.11/site-packages/graphql/type/schema.py:432: in collect_referenced_types
    for field in named_type.fields.values():
../../../.local/asdf/installs/python/3.11.4/lib/python3.11/functools.py:1001: in __get__
    val = self.func(instance)
../../../.local/share/virtualenvs/projectify-backend-fxSe-pjh/lib/python3.11/site-packages/graphql/type/definition.py:811: in fields
    raise cls(f"{self.name} fields cannot be resolved. {error}") from error
E   TypeError: Workspace fields cannot be resolved. Unexpected type 'auto'
@justuswilhelm justuswilhelm force-pushed the justus/2023-09-08-redis-tls-settings branch from 38c2e4a to 92df5d2 Compare September 8, 2023 04:55
This combination gets rid of the strange auto field error
The next version will cause a type error

projectify/views.py:38: error: Missing type parameters for generic type "GraphQLView"  [type-arg]
We need a type: ignore here to mitigate a weird generic type issue.
@justuswilhelm justuswilhelm force-pushed the justus/2023-09-08-redis-tls-settings branch from 92df5d2 to bea9278 Compare September 8, 2023 04:56
@justuswilhelm justuswilhelm merged commit 5107826 into development Sep 8, 2023
@justuswilhelm justuswilhelm deleted the justus/2023-09-08-redis-tls-settings branch September 8, 2023 05:58
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.

1 participant