We ran into an issue while attempting to add a PartitionStrategy to our traversals. This is a small example of a traversal I tried:
The third argument of PartitionStrategy should be a list. However, the traversal strategies in gremlin-python do not do any kind of argument/type checking, and any mistake you make results in the following error from gremlin server:
I've omitted the full traceback for brevity. There is not much indication as to what has gone wrong. gremlin-python gives this error:
Which is also unhelpful. We were eventually able to figure out what we were doing wrong, but it would be very nice to have either some input validation on the gremlin-python side, or have gremlin-server be more specific about the nature of the deserialisation error (or both).