Michał Urbański

Results 6 comments of Michał Urbański

At first I thought it's a good idea, but after consideration there is a downside to that, if I'm correct. Let's say we have ```python # policies.py class CustomAccessViewSetMixin(AccessViewSetMixin): def...

I think that it will always evaluates to false by default: ```python In [20]: from rest_access_policy import AccessPolicy In [21]: access_policy = AccessPolicy In [22]: scope_queryset = access_policy.scope_queryset In [23]:...

I'm fine with that, but just to be sure- it would got something like this: ```python class AccessPolicy(permissions.BasePermission): "..." @classmethod def scope_queryset(cls, request, qs): return qs.none() ### class AccessViewSetMixin: "..."...

I've got a question regarding this issue, because it happens to me as well, and I try to check if I understand it correctly: In https://github.com/eht16/python-logstash-async/blob/master/logstash_async/worker.py#L226 there's a bit of...

Ok, it seems to help, meaning, the events are not requeued on socket close error, and we obeserve that we don't get duplicates anymore. So thanks for that! Just one...

@eht16, certainly, that might be actually even better solution, greatly appreciated.