Skip to content

Instantly share code, notes, and snippets.

@davebshow
Created October 10, 2017 18:15
Show Gist options
  • Save davebshow/5831bf6e6073b151ab347df59767fc32 to your computer and use it in GitHub Desktop.
Save davebshow/5831bf6e6073b151ab347df59767fc32 to your computer and use it in GitHub Desktop.
In [2]: from gremlin_python.process.graph_traversal import GraphTraversalSource
In [3]: from gremlin_python import statics
In [4]: d = {}
In [5]: statics.load_statics(d)
In [6]: d
Out[6]:
{'BOTH': <Direction.BOTH: 1>,
'IN': <Direction.IN: 2>,
'OUT': <Direction.OUT: 3>,
'V': <function gremlin_python.process.graph_traversal.V>,
'V1_0': <GryoVersion.V1_0: 1>,
'V2_0': <GraphSONVersion.V2_0: 2>,
'addAll': <Operator.addAll: 1>,
'addE': <function gremlin_python.process.graph_traversal.addE>,
'addInE': <function gremlin_python.process.graph_traversal.addInE>,
'addOutE': <function gremlin_python.process.graph_traversal.addOutE>,
'addV': <function gremlin_python.process.graph_traversal.addV>,
'aggregate': <function gremlin_python.process.graph_traversal.aggregate>,
'all_': <Pop.all_: 1>,
'and_': <Operator.and_: 2>,
'any': <Pick.any: 1>,
'as_': <function gremlin_python.process.graph_traversal.as_>,
'assign': <Operator.assign: 3>,
'barrier': <function gremlin_python.process.graph_traversal.barrier>,
'between': <function gremlin_python.process.traversal.between>,
'both': <function gremlin_python.process.graph_traversal.both>,
'bothE': <function gremlin_python.process.graph_traversal.bothE>,
'bothV': <function gremlin_python.process.graph_traversal.bothV>,
'branch': <function gremlin_python.process.graph_traversal.branch>,
'cap': <function gremlin_python.process.graph_traversal.cap>,
'choose': <function gremlin_python.process.graph_traversal.choose>,
'coalesce': <function gremlin_python.process.graph_traversal.coalesce>,
'coin': <function gremlin_python.process.graph_traversal.coin>,
'constant': <function gremlin_python.process.graph_traversal.constant>,
'count': <function gremlin_python.process.graph_traversal.count>,
'cyclicPath': <function gremlin_python.process.graph_traversal.cyclicPath>,
'decr': <Order.decr: 1>,
'dedup': <function gremlin_python.process.graph_traversal.dedup>,
'div': <Operator.div: 4>,
'drop': <function gremlin_python.process.graph_traversal.drop>,
'emit': <function gremlin_python.process.graph_traversal.emit>,
'eq': <function gremlin_python.process.traversal.eq>,
'filter': <function gremlin_python.process.graph_traversal.filter>,
'first': <Pop.first: 2>,
'flatMap': <function gremlin_python.process.graph_traversal.flatMap>,
'fold': <function gremlin_python.process.graph_traversal.fold>,
'global_': <Scope.global_: 1>,
'group': <function gremlin_python.process.graph_traversal.group>,
'groupCount': <function gremlin_python.process.graph_traversal.groupCount>,
'groupV3d0': <function gremlin_python.process.graph_traversal.groupV3d0>,
'gt': <function gremlin_python.process.traversal.gt>,
'gte': <function gremlin_python.process.traversal.gte>,
'has': <function gremlin_python.process.graph_traversal.has>,
'hasId': <function gremlin_python.process.graph_traversal.hasId>,
'hasKey': <function gremlin_python.process.graph_traversal.hasKey>,
'hasLabel': <function gremlin_python.process.graph_traversal.hasLabel>,
'hasNot': <function gremlin_python.process.graph_traversal.hasNot>,
'hasValue': <function gremlin_python.process.graph_traversal.hasValue>,
'id': <T.id: 1>,
'identity': <function gremlin_python.process.graph_traversal.identity>,
'inE': <function gremlin_python.process.graph_traversal.inE>,
'inV': <function gremlin_python.process.graph_traversal.inV>,
'in_': <function gremlin_python.process.graph_traversal.in_>,
'incr': <Order.incr: 2>,
'inject': <function gremlin_python.process.graph_traversal.inject>,
'inside': <function gremlin_python.process.traversal.inside>,
'is_': <function gremlin_python.process.graph_traversal.is_>,
'key': <T.key: 2>,
'keyDecr': <Order.keyDecr: 3>,
'keyIncr': <Order.keyIncr: 4>,
'keys': <Column.keys: 1>,
'label': <T.label: 3>,
'last': <Pop.last: 3>,
'limit': <function gremlin_python.process.graph_traversal.limit>,
'list_': <Cardinality.list_: 1>,
'local': <Scope.local: 2>,
'loops': <function gremlin_python.process.graph_traversal.loops>,
'lt': <function gremlin_python.process.traversal.lt>,
'lte': <function gremlin_python.process.traversal.lte>,
'map': <function gremlin_python.process.graph_traversal.map>,
'mapKeys': <function gremlin_python.process.graph_traversal.mapKeys>,
'mapValues': <function gremlin_python.process.graph_traversal.mapValues>,
'match': <function gremlin_python.process.graph_traversal.match>,
'max': <Operator.max: 5>,
'mean': <function gremlin_python.process.graph_traversal.mean>,
'min': <Operator.min: 6>,
'minus': <Operator.minus: 7>,
'mult': <Operator.mult: 8>,
'neq': <function gremlin_python.process.traversal.neq>,
'none': <Pick.none: 2>,
'normSack': <Barrier.normSack: 1>,
'not_': <function gremlin_python.process.graph_traversal.not_>,
'optional': <function gremlin_python.process.graph_traversal.optional>,
'or_': <Operator.or_: 9>,
'order': <function gremlin_python.process.graph_traversal.order>,
'otherV': <function gremlin_python.process.graph_traversal.otherV>,
'out': <function gremlin_python.process.graph_traversal.out>,
'outE': <function gremlin_python.process.graph_traversal.outE>,
'outV': <function gremlin_python.process.graph_traversal.outV>,
'outside': <function gremlin_python.process.traversal.outside>,
'path': <function gremlin_python.process.graph_traversal.path>,
'project': <function gremlin_python.process.graph_traversal.project>,
'properties': <function gremlin_python.process.graph_traversal.properties>,
'property': <function gremlin_python.process.graph_traversal.property>,
'propertyMap': <function gremlin_python.process.graph_traversal.propertyMap>,
'range': <function gremlin_python.process.graph_traversal.range>,
'repeat': <function gremlin_python.process.graph_traversal.repeat>,
'sack': <function gremlin_python.process.graph_traversal.sack>,
'sample': <function gremlin_python.process.graph_traversal.sample>,
'select': <function gremlin_python.process.graph_traversal.select>,
'set_': <Cardinality.set_: 2>,
'shuffle': <Order.shuffle: 5>,
'sideEffect': <function gremlin_python.process.graph_traversal.sideEffect>,
'simplePath': <function gremlin_python.process.graph_traversal.simplePath>,
'single': <Cardinality.single: 3>,
'store': <function gremlin_python.process.graph_traversal.store>,
'subgraph': <function gremlin_python.process.graph_traversal.subgraph>,
'sum': <Operator.sum: 10>,
'sumLong': <Operator.sumLong: 11>,
'tail': <function gremlin_python.process.graph_traversal.tail>,
'test': <function gremlin_python.process.traversal.test>,
'timeLimit': <function gremlin_python.process.graph_traversal.timeLimit>,
'times': <function gremlin_python.process.graph_traversal.times>,
'to': <function gremlin_python.process.graph_traversal.to>,
'toE': <function gremlin_python.process.graph_traversal.toE>,
'toV': <function gremlin_python.process.graph_traversal.toV>,
'tree': <function gremlin_python.process.graph_traversal.tree>,
'unfold': <function gremlin_python.process.graph_traversal.unfold>,
'union': <function gremlin_python.process.graph_traversal.union>,
'until': <function gremlin_python.process.graph_traversal.until>,
'value': <T.value: 4>,
'valueDecr': <Order.valueDecr: 6>,
'valueIncr': <Order.valueIncr: 7>,
'valueMap': <function gremlin_python.process.graph_traversal.valueMap>,
'values': <Column.values: 2>,
'where': <function gremlin_python.process.graph_traversal.where>,
'within': <function gremlin_python.process.traversal.within>,
'without': <function gremlin_python.process.traversal.without>}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment