no, it's not. that's really strange. can you please create an issue in jira for that?
On Tue, Feb 20, 2018 at 2:15 PM, Moore, Branden James <[email protected]> wrote: > We’re using our gremlin-python traversals with the > HaltedTraverserStrategy(o.a.t.g.s.u.d.DetachedFactory), to decrease the > extraneous amount of data returned in large queries. Today I discovered > that if one uses this strategy, lambdas no longer work. > > For example, from the TinkerPop docs: > g.V().out().map(lambda: "lambda x: len(x.get().value('name'))"). > sum().toList() > > Will give an error: > GremlinServerError: 599: NameError: name 'TraversalStrategy' is not > defined in <script> at line number 1 > > Is this the expected behavior when using the > HaltedTraverserStrategy(DetachedFactory) > ? > > Thanks, > > * Branden > >
