Luis Saavedra

Results 19 comments of Luis Saavedra

A more complete interface with close and exceptions: ```python # websocketInterface.py from starlette.websockets import WebSocket, WebSocketDisconnect from websockets.exceptions import ConnectionClosed # transform starlette websocket to standard websocket class WebSocketInterface(): def...

Why subclassing from Enum is not needed (I need it in my django backend), using getattr is not a good practice 😭, Enum was proposal for this!

> all "list" in autogenerate CRUD need this change if in your setting dont have a pagination class setted, comment pagination class and list objects, then remove one and list...

But tests/test_model_serializer.py:47 ```python class OneFieldModel(models.Model): char_field = models.CharField(max_length=100) ``` and the error seems to be that problem ```console E AttributeError: Got AttributeError when attempting to get a value for field...

maybe it is a faraday hash-parse-params-to-generate-request-url problem...

was because text must be surrounded with ' not with " (ruby style), but the second scape '\]' it's not necessary and it's an API's issue?