See the [python implementation](https://github.com/edgedb/edgedb-python/pull/484) for details
See the python implementation for details