MCPcopy Create free account

hub / github.com/davebshow/goblin / functions

Functions312 in github.com/davebshow/goblin

↓ 54 callersMethodclose
(self)
goblin/app.py:150
↓ 38 callersMethodsession
Create a session object. :returns: :py:class:`Session<goblin.session.Session>` object
goblin/app.py:140
↓ 33 callersMethodsave
Save an element to the db. :param goblin.element.Element element: Vertex or Edge to be saved :returns: :py:class:`Element<g
goblin/session.py:279
↓ 21 callersMethodappend
(self, val)
goblin/manager.py:37
↓ 20 callersFunctionperson_class
()
tests/conftest.py:279
↓ 16 callersMethodto_db
Convert property value to db compatible format. If no value passed, try to use default bound value
goblin/abc.py:28
↓ 14 callersMethodadd
Add elements to session pending queue. :param goblin.element.Element elements: Elements to be added
goblin/session.py:222
↓ 13 callersMethodvalidate
Validate property value
goblin/abc.py:23
↓ 10 callersMethodflush
Issue creation/update queries to database for all elements in the session pending queue.
goblin/session.py:231
↓ 9 callersMethodtraversal
Generate a traversal using a user defined element class as a starting point. :param goblin.element.Element element_class: An
goblin/session.py:111
↓ 6 callersMethodto_ogm
Convert property value to a Python compatible format
goblin/abc.py:38
↓ 5 callersMethodfrom_dict
(cls, d)
goblin/element.py:268
↓ 4 callersMethod__init__
(self, data_type, vertex_prop, card)
goblin/manager.py:5
↓ 4 callersMethod_add_properties
(self, traversal, props, elem)
goblin/session.py:436
↓ 4 callersFunctioncluster_class
(event_loop)
tests/conftest.py:259
↓ 4 callersMethodconfig_from_file
Load configuration from from file. :param str filename: Path to the configuration file.
goblin/app.py:108
↓ 4 callersFunctionlives_in_class
()
tests/conftest.py:299
↓ 4 callersMethodmapper_func
Function responsible for mapping db results to ogm
goblin/mapper.py:200
↓ 4 callersFunctionplace_class
()
tests/conftest.py:289
↓ 4 callersMethodto_db
(self, val=None)
goblin/properties.py:200
↓ 4 callersMethodto_ogm
(self, val)
goblin/properties.py:203
↓ 3 callersMethod_simple_traversal
(self, traversal, element)
goblin/session.py:379
↓ 3 callersFunctiondumps
Convert Goblin elements to GraphSON
goblin/fileio/graphson.py:28
↓ 3 callersMethodopen
(cls, loop, *, provider=provider.TinkerGraph,
goblin/app.py:48
↓ 3 callersMethodvalidate
(self, val)
goblin/properties.py:192
↓ 2 callersFunction_check_id
(rid, eid)
goblin/mapper.py:155
↓ 2 callersMethod_get_vertex_properties
(self, vid, label)
goblin/session.py:199
↓ 2 callersFunction_prep_edge
(e, t)
goblin/fileio/graphson.py:44
↓ 2 callersFunction_prep_vp
(prop, value, v, db_name)
goblin/fileio/graphson.py:110
↓ 2 callersMethod_save_element
(self, elem, check_func, create_func, update_func)
goblin/session.py:391
↓ 2 callersFunctionbindprop
Helper function for binding ogm properties/values to corresponding db properties/values for traversals. :param goblin.element.Element el
goblin/session.py:23
↓ 2 callersFunctionboolean_class
()
tests/conftest.py:324
↓ 2 callersMethodconfig_from_module
(self, module)
goblin/app.py:127
↓ 2 callersMethodget_edge
Get a edge from the db. Edge must have id. :param goblin.element.Edge element: Edge to be retrieved :returns: :py:class:`Ed
goblin/session.py:337
↓ 2 callersFunctionget_hashable_id
(val)
goblin/mapper.py:91
↓ 2 callersFunctionget_metaprops
(vertex_property, mapping)
goblin/mapper.py:35
↓ 2 callersMethodget_vertex
Get a vertex from the db. Vertex must have id. :param goblin.element.Vertex element: Vertex to be retrieved :returns: :py:c
goblin/session.py:327
↓ 2 callersMethodlabel
Element label
goblin/mapper.py:195
↓ 2 callersMethodregister
Register user created Element classes. :param goblin.element.Element elements: User defined Element classes
goblin/app.py:94
↓ 2 callersMethodregister_from_module
(self, module, *, package=None)
goblin/app.py:130
↓ 2 callersMethodremove_edge
Remove an edge from the db. :param goblin.element.Edge edge: Element to be removed
goblin/session.py:258
↓ 2 callersMethodremove_vertex
Remove a vertex from the db. :param goblin.element.Vertex vertex: Vertex to be removed
goblin/session.py:240
↓ 2 callersMethodsubmit
Submit a query to the Gremiln Server. :param str gremlin: Gremlin script to submit to server. :param dict bindings: A mappin
goblin/session.py:132
↓ 2 callersMethodto_dict
(self, source=None, target=None)
goblin/element.py:251
↓ 2 callersMethodvalidate_vertex_prop
(self, val, card, vertex_prop, data_type)
goblin/abc.py:42
↓ 1 callersMethod_deserialize_result
(self, result)
goblin/session.py:164
↓ 1 callersMethod_map_properties
(self, properties)
goblin/mapper.py:223
↓ 1 callersFunction_prep_vertex
(v)
goblin/fileio/graphson.py:71
↓ 1 callersMethod_receive
(self, traversers, result_set)
goblin/session.py:152
↓ 1 callersMethod_update_edge_properties
(self, edge, traversal, props)
goblin/session.py:432
↓ 1 callersMethod_update_vertex_properties
(self, vertex, traversal, props)
goblin/session.py:428
↓ 1 callersMethodclose
goblin/session.py:85
↓ 1 callersMethoddb_name_factory
(x, y)
goblin/element.py:117
↓ 1 callersFunctiondump
Convert Goblin elements to GraphSON
goblin/fileio/graphson.py:20
↓ 1 callersFunctionflt_class
()
tests/conftest.py:319
↓ 1 callersFunctionget_edge_schema
(label, edge)
schema.py:91
↓ 1 callersFunctionget_indices_schema
(indices)
schema.py:84
↓ 1 callersFunctionget_schema
(app, indices=None)
schema.py:37
↓ 1 callersFunctionget_vertex_schema
(label, vertex)
schema.py:54
↓ 1 callersFunctioninherited_class
()
tests/conftest.py:284
↓ 1 callersFunctioninteger_class
()
tests/conftest.py:269
↓ 1 callersFunctionknows_class
()
tests/conftest.py:294
↓ 1 callersFunctionrelease
(conn)
tests/test_pool.py:82
↓ 1 callersMethodsave_edge
Save an edge to the db. :param goblin.element.Edge element: Edge to be saved :returns: :py:class:`Edge<goblin.element.Edge>
goblin/session.py:310
↓ 1 callersMethodsave_vertex
Save a vertex to the db. :param goblin.element.Vertex element: Vertex to be saved :returns: :py:class:`Vertex<goblin.elemen
goblin/session.py:296
↓ 1 callersFunctionstring_class
()
tests/conftest.py:264
Method__aenter__
(self)
goblin/session.py:79
Method__aexit__
(self, exc_type, exc, tb)
goblin/session.py:82
Method__call__
(self, val)
goblin/manager.py:15
Method__delete__
(self, obj)
goblin/properties.py:37
Method__get__
(self, obj, objtype)
goblin/element.py:86
Method__get__
(self, obj, objtype)
goblin/properties.py:28
Method__get__
(self, obj, objtype=None)
goblin/properties.py:99
Method__getattr__
(self, value)
goblin/mapper.py:214
Method__init__
(self, **kwargs)
goblin/element.py:60
Method__init__
(self, name, vertex_property)
goblin/element.py:78
Method__init__
(self, data_type, *, default=None, db_name
goblin/element.py:109
Method__init__
(self, source=None, target=None)
goblin/element.py:247
Method__init__
(self, name, prop)
goblin/properties.py:22
Method__init__
(self, data_type, *, db_name=None, default
goblin/properties.py:56
Method__init__
(self, name, prop)
goblin/properties.py:93
Method__init__
(self, data_type, *, serializer=None)
goblin/properties.py:122
Method__init__
(self, namespace, element_type, mapper_func, properties)
goblin/mapper.py:186
Method__init__
(self, val=None)
goblin/abc.py:17
Method__init__
(self, app, remote_connection, get_hashable_id)
goblin/session.py:53
Method__init__
(self, cluster, *, provider=provider.TinkerGraph,
goblin/app.py:27
Method__init__
(self, data_type, vertex_prop, card, obj)
goblin/manager.py:28
Method__init__
(self, data_type, vertex_prop, card, obj)
goblin/manager.py:44
Method__new__
(cls, name, bases, namespace, **kwds)
goblin/element.py:21
Method__repr__
(self)
goblin/element.py:180
Method__repr__
(self)
goblin/mapper.py:237
Method__set__
(self, obj, val)
goblin/element.py:97
Method__set__
(self, obj, val)
goblin/properties.py:33
Method__set__
(self, obj, val)
goblin/properties.py:105
Method_add_edge
Convenience function for generating crud traversals.
goblin/session.py:408
Method_add_vertex
Convenience function for generating crud traversals.
goblin/session.py:402
Method_check_edge
Used to check for existence, does not update session edge
goblin/session.py:421
Method_check_vertex
Used to check for existence, does not update session vertex
goblin/session.py:416
Function_dump_edge
(e)
goblin/fileio/graphson.py:126
Method_g
Traversal source for internal use. Uses undelying conn. Doesn't trigger complex deserailization.
goblin/session.py:104
next →1–100 of 312, ranked by callers