quart icon indicating copy to clipboard operation
quart copied to clipboard

Server sent events guide: Add = None to optional retry argument

Open Danferno opened this issue 1 year ago • 0 comments

The server sent event class

    data: str
    event: str | None = None
    id: int | None = None
    retry: int | None
    ...

appears to be missing the default argument for retry. I made a fork where I fix that, I don't know if that is easier than just adding it yourself.

Danferno avatar May 23 '24 08:05 Danferno