Skip to content

Allow %%gremlin to configure max_content_length #304

@michaelnchin

Description

@michaelnchin

Is your feature request related to a problem? Please describe.

Original post from Gremlin-users Google group: https://groups.google.com/g/gremlin-users/c/Ko8BVHl7vME

The Gremlin Python Client currently sets a default maximum limit of 10MB for results returned from any single query. If the result set size exceeds this limit, the client will throw a RuntimeError exception.

In gremlinpython>=3.5.0, the results limit can be configured by passing max_content_length to the client via the transport kwargs, but this currently cannot be modified when running queries with %%gremlin.

Describe the solution you'd like

%%gremlin should accept a line argument (-mcl/--max-content-length) allowing users to configure the value of the max_content_length transport argument for the Gremlin Python client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Resolved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions