Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davebshow/goblin
/ functions
Functions
312 in github.com/davebshow/goblin
⨍
Functions
312
◇
Types & classes
54
↳
Endpoints
6
↓ 54 callers
Method
close
(self)
goblin/app.py:150
↓ 38 callers
Method
session
Create a session object. :returns: :py:class:`Session<goblin.session.Session>` object
goblin/app.py:140
↓ 33 callers
Method
save
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 callers
Method
append
(self, val)
goblin/manager.py:37
↓ 20 callers
Function
person_class
()
tests/conftest.py:279
↓ 16 callers
Method
to_db
Convert property value to db compatible format. If no value passed, try to use default bound value
goblin/abc.py:28
↓ 14 callers
Method
add
Add elements to session pending queue. :param goblin.element.Element elements: Elements to be added
goblin/session.py:222
↓ 13 callers
Method
validate
Validate property value
goblin/abc.py:23
↓ 10 callers
Method
flush
Issue creation/update queries to database for all elements in the session pending queue.
goblin/session.py:231
↓ 9 callers
Method
traversal
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 callers
Method
to_ogm
Convert property value to a Python compatible format
goblin/abc.py:38
↓ 5 callers
Method
from_dict
(cls, d)
goblin/element.py:268
↓ 4 callers
Method
__init__
(self, data_type, vertex_prop, card)
goblin/manager.py:5
↓ 4 callers
Method
_add_properties
(self, traversal, props, elem)
goblin/session.py:436
↓ 4 callers
Function
cluster_class
(event_loop)
tests/conftest.py:259
↓ 4 callers
Method
config_from_file
Load configuration from from file. :param str filename: Path to the configuration file.
goblin/app.py:108
↓ 4 callers
Function
lives_in_class
()
tests/conftest.py:299
↓ 4 callers
Method
mapper_func
Function responsible for mapping db results to ogm
goblin/mapper.py:200
↓ 4 callers
Function
place_class
()
tests/conftest.py:289
↓ 4 callers
Method
to_db
(self, val=None)
goblin/properties.py:200
↓ 4 callers
Method
to_ogm
(self, val)
goblin/properties.py:203
↓ 3 callers
Method
_simple_traversal
(self, traversal, element)
goblin/session.py:379
↓ 3 callers
Function
dumps
Convert Goblin elements to GraphSON
goblin/fileio/graphson.py:28
↓ 3 callers
Method
open
(cls, loop, *, provider=provider.TinkerGraph,
goblin/app.py:48
↓ 3 callers
Method
validate
(self, val)
goblin/properties.py:192
↓ 2 callers
Function
_check_id
(rid, eid)
goblin/mapper.py:155
↓ 2 callers
Method
_get_vertex_properties
(self, vid, label)
goblin/session.py:199
↓ 2 callers
Function
_prep_edge
(e, t)
goblin/fileio/graphson.py:44
↓ 2 callers
Function
_prep_vp
(prop, value, v, db_name)
goblin/fileio/graphson.py:110
↓ 2 callers
Method
_save_element
(self, elem, check_func, create_func, update_func)
goblin/session.py:391
↓ 2 callers
Function
bindprop
Helper function for binding ogm properties/values to corresponding db properties/values for traversals. :param goblin.element.Element el
goblin/session.py:23
↓ 2 callers
Function
boolean_class
()
tests/conftest.py:324
↓ 2 callers
Method
config_from_module
(self, module)
goblin/app.py:127
↓ 2 callers
Method
get_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 callers
Function
get_hashable_id
(val)
goblin/mapper.py:91
↓ 2 callers
Function
get_metaprops
(vertex_property, mapping)
goblin/mapper.py:35
↓ 2 callers
Method
get_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 callers
Method
label
Element label
goblin/mapper.py:195
↓ 2 callers
Method
register
Register user created Element classes. :param goblin.element.Element elements: User defined Element classes
goblin/app.py:94
↓ 2 callers
Method
register_from_module
(self, module, *, package=None)
goblin/app.py:130
↓ 2 callers
Method
remove_edge
Remove an edge from the db. :param goblin.element.Edge edge: Element to be removed
goblin/session.py:258
↓ 2 callers
Method
remove_vertex
Remove a vertex from the db. :param goblin.element.Vertex vertex: Vertex to be removed
goblin/session.py:240
↓ 2 callers
Method
submit
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 callers
Method
to_dict
(self, source=None, target=None)
goblin/element.py:251
↓ 2 callers
Method
validate_vertex_prop
(self, val, card, vertex_prop, data_type)
goblin/abc.py:42
↓ 1 callers
Method
_deserialize_result
(self, result)
goblin/session.py:164
↓ 1 callers
Method
_map_properties
(self, properties)
goblin/mapper.py:223
↓ 1 callers
Function
_prep_vertex
(v)
goblin/fileio/graphson.py:71
↓ 1 callers
Method
_receive
(self, traversers, result_set)
goblin/session.py:152
↓ 1 callers
Method
_update_edge_properties
(self, edge, traversal, props)
goblin/session.py:432
↓ 1 callers
Method
_update_vertex_properties
(self, vertex, traversal, props)
goblin/session.py:428
↓ 1 callers
Method
close
goblin/session.py:85
↓ 1 callers
Method
db_name_factory
(x, y)
goblin/element.py:117
↓ 1 callers
Function
dump
Convert Goblin elements to GraphSON
goblin/fileio/graphson.py:20
↓ 1 callers
Function
flt_class
()
tests/conftest.py:319
↓ 1 callers
Function
get_edge_schema
(label, edge)
schema.py:91
↓ 1 callers
Function
get_indices_schema
(indices)
schema.py:84
↓ 1 callers
Function
get_schema
(app, indices=None)
schema.py:37
↓ 1 callers
Function
get_vertex_schema
(label, vertex)
schema.py:54
↓ 1 callers
Function
inherited_class
()
tests/conftest.py:284
↓ 1 callers
Function
integer_class
()
tests/conftest.py:269
↓ 1 callers
Function
knows_class
()
tests/conftest.py:294
↓ 1 callers
Function
release
(conn)
tests/test_pool.py:82
↓ 1 callers
Method
save_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 callers
Method
save_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 callers
Function
string_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