Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-3111

Update documentation in gremlin-python driver section

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • documentation

    Description

      When sending groovy scripts through gremlin-python client, the response from the server must be one of the primitive data types and any other return type prevents the groovy script from executing.

      Florian Hockmann suggested that adding an empty array at the end of the script will help executing the script despite having an arbitrary response type and it does work.

      So, I thought that this should be mentioned under the Gremlin-Python > Submitting Scripts section in the documentation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            karthikraju Karthik Raju
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified