Arthur
Arthur
oh i think it's a good idea to change `{getattr(self, name) for name in self.order_with_respect_to}` to `{getattr(self, f"{name}_id") for name in self.order_with_respect_to}` for less db lookups
> Even having a "fix order" action in the admin would already help. You can run a custom `update` query - this doesn't run any django triggers/save methods Depending on...
Thanks for the quick reply @caspervk ! Looking at the failed tests I don't think my PR will fix the issue > What about the ordering of the objects with...
> Hi could rebase and provide test? Oh sorry, I lost touch to this PR. I didn't use this framework for nearly one year, so I'm not up to date...
You can easily do this in python: ``` # Write your own converter here def to_camel_case(snake_str): components = snake_str.split("__") return components[0] + "".join(x.capitalize() if x else "_" for x in...
Thanks @changhyun-an and @maxmorlocke! I build a decorator from your code :) This should reduce some boilerplate in case of many endpoints ``` def await_auth(f): @functools.wraps(f) async def decorator(*args, **kwargs):...
Thanks for the reply @bialesdaniel I just added `env SURPRISE_DATA_FOLDER /tmp` to my Dockerfile. This variable is evaluated [here](https://github.com/NicolasHug/Surprise/blob/master/surprise/builtin_datasets.py#L22)
Maybe I don't get the problem, but the [get_type](https://github.com/graphql-python/graphene/blob/v2.1.8/graphene/types/utils.py#L43) method already takes a string? Also for upcoming v3 an import string is handled [here](https://github.com/graphql-python/graphene/blob/v3.0.0b7/graphene/types/utils.py#L40) I tested it in one of...
Working with graphene for about 4 years (also giving [workshops](https://github.com/Speedy1991/graphql_workshop) ) . I don't have the time to maintain, but willing to review PR's and support with issues/questions
Hi! Sorry for the late reply. You can just define your own custom Scalar (e.g. UUIDHex) You can find information about this in the [docs](https://docs.graphene-python.org/en/latest/types/scalars/#custom-scalars)