Add EventSourceResponse.last_event_id
decaz opened this issue · comments
Marat Sharafutdinov commented
I think it would be useful to add last_event_id
property to the EventSourceResponse
class from the example:
aiohttp-sse/examples/graceful_shutdown.py
Lines 14 to 16 in aca7808
Also there is a bug at that example (sse_response
doesn't accept response_cls
parameter):
aiohttp-sse/examples/graceful_shutdown.py
Line 63 in aca7808
Nikolay Novik commented
Would you like to create PR with a fix?
tommmlij commented
The fix is already in master. Somebody mighty needs to release 2.2.0.
Until then as a "workaround" I directly install from github instead of PyPI