Patrick Gingras

Results 3 comments of Patrick Gingras

For sure, though this might be a little bit niche: I'm in the process of wrapping Django signals (for tracing purposes), which use a `WeakMethod` to hold onto references to...

Thanks for the thorough writeup! I think your workaround should work well for my use-case, thanks 👍

This can be nicely wrapped up in a subclass of Connection: ```python class NonNullConnection(graphene.relay.Connection, abstract=True): @classmethod def __init_subclass_with_meta__(cls, node, **kwargs): if not hasattr(cls, 'Edge'): _node = node class EdgeBase(graphene.ObjectType, name=f'{node._meta.name}Edge'):...