Graham Hukill

Results 5 comments of Graham Hukill

@jldiaz Just looking today, I was wondering the same. That said, thanks for sharing your implementation.

I'm curious if there has been any additional thought on using this utility from a python interperter context, vs calling as a command line option? more specifically, without using `Click`?...

FWIW, I'm using the following pycharm build: ``` PyCharm 2022.2.2 (Professional Edition) Build #PY-222.4167.33, built on September 15, 2022 Runtime version: 17.0.4+7-b469.53 amd64 ... Non-Bundled Plugins: ... net.ashald.envfile (3.2.4) ......

Hadn't thought to actually examine the PHP code until just now. Seeing the [method detection here](https://github.com/csev/pg4e/blob/master/elasticsearch/index.php#L61) that would explain why `DELETE` requests are executing okay.

If helpful, here are the bytes of a problematic avro file (believe it is compressed with the snappy codec): ``` Obj\x01\x04\x16avro.schema\xd2\x14{"type":"record","name":"topLevelRecord","fields":[{"name":"set","type":[{"type":"record","name":"set","fields":[{"name":"id","type":["string","null"]},{"name":"document","type":["string","null"]},{"name":"setSource","type":[{"type":"record","name":"setSource","fields":[{"name":"queryParams","type":[{"type":"map","values":["string","null"]},"null"]},{"name":"url","type":["string","null"]},{"name":"text","type":["string","null"]}]},"null"]}]},"null"]},{"name":"record","type":[{"type":"record","name":"record","fields":[{"name":"id","type":["string","null"]},{"name":"document","type":["string","null"]},{"name":"setIds","type":[{"type":"array","items":["string","null"]},"null"]},{"name":"recordSource","type":[{"type":"record","name":"recordSource","fields":[{"name":"queryParams","type":[{"type":"map","values":["string","null"]},"null"]},{"name":"url","type":["string","null"]},{"name":"text","type":["string","null"]}]},"null"]}]},"null"]},{"name":"error","type":[{"type":"record","name":"error","fields":[{"name":"message","type":["string","null"]},{"name":"errorSource","type":[{"type":"record","name":"errorSource","fields":[{"name":"queryParams","type":[{"type":"map","values":["string","null"]},"null"]},{"name":"url","type":["string","null"]},{"name":"text","type":["string","null"]}]},"null"]}]},"null"]}]}\x14avro.codec\x0csnappy\x00%\xae\xecs\xfb\xbc`\xf4F\xc7\xf5\x9cL\xf5\x92\xb0 ``` ... and base64 encoded: ``` T2JqAQQWYXZyby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