Miguel Grinberg
Miguel Grinberg
I like the two-level heading organization much better. And you are correct that I forgot to add the async mention and example in the introduction. Will do that as well.
Unfortunately I do not have a PDF version for sale. But you can use the Kindle app to read the book on your iPad.
Alembic is covered in the SQLAlchemy book.
I think this must be an issue with Hypercorn. When running with Uvicorn the Socket.IO connection is properly canceled. This is how I'm testing it: ```python if __name__ == '__main__':...
I don't have plans to support Quart at this time, sorry. My understanding is that most Flask extensions do not work well with Quart, so I'm surprised this one worked...
Alchemical is framework agnostic and has native support for asyncio, so yes, that should work just fine not only with Quart but also with FastAPI or any other async framework.
Each image is a standlone jpeg, so yes, you can save any of the jpegs that you get from the camera before they get inserted in the stream.
> math.nan should become NaN and math.inf should become Infinity, and the thread shouldn't crash. They probably do work as you say, but this is how these special values work...
It's not legal, the Python documentation indicates so in their `allow_nan` option: **allow_nan** ([bool](https://docs.python.org/3/library/functions.html#bool)) – If False, serialization of out-of-range [float](https://docs.python.org/3/library/functions.html#float) values (nan, inf, -inf) will result in a [ValueError](https://docs.python.org/3/library/exceptions.html#ValueError),...
Converting to strings is not something I would consider, since a) it is incorrect and b) is not done by any other implementation (to my knowledge, at least). The option...