pallets / quart

An async Python micro framework for building web applications.
https://quart.palletsprojects.com
MIT License
2.92k stars 159 forks source link

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

Open Danferno opened 4 months ago

Danferno commented 4 months ago

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.