def __init__(self, **properties): Job.__init__(self, "POST", self.target, properties)
def __init__(self, entity): Job.__init__(self, "DELETE", Target(entity))
def __init__(self, node, *labels): Job.__init__(self, "POST", Target(node, "labels"), list(LabelSet(labels)))
def __init__(self, relationship): Job.__init__(self, "GET", Target(relationship))
def __init__(self, entity, properties): Job.__init__(self, "PUT", Target(entity, "properties"), PropertySet(properties))
def __init__(self, start_node, rel, end_node, **properties): uri = self.uri_for(start_node, "relationships") body = {"type": rel.type, "to": self.uri_for(end_node)} if rel.properties or properties: body["data"] = dict(rel.properties, **properties) Job.__init__(self, "POST", uri, body)
def __init__(self, entity): Job.__init__(self, "GET", Target(entity, "properties"))
def __init__(self, start_node, rel, end_node, **properties): body = {"type": rel.type, "to": Target(end_node).uri_string} if rel.properties or properties: body["data"] = dict(rel.properties, **properties) Job.__init__(self, "POST", Target(start_node, "relationships"), body)
def __init__(self, entity, key): Job.__init__(self, "DELETE", Target(entity, "properties", key))
def __init__(self, entity, label): Job.__init__(self, "DELETE", Target(entity, "labels", label))
def __init__(self, node): Job.__init__(self, "GET", Target(node, "labels"))
def __init__(self, entity, key): Job.__init__(self, "GET", Target(entity, "properties", key))
def __init__(self, entity, key, value): Job.__init__(self, "PUT", Target(entity, "properties", key), value)
def __init__(self, **properties): Job.__init__(self, "POST", "node", properties)
def __init__(self, entity): uri = self.uri_for(entity) Job.__init__(self, "DELETE", uri)
def __init__(self, entity, key, value): uri = self.uri_for(entity, "properties", key) Job.__init__(self, "PUT", uri, value)
def __init__(self, entity, properties): uri = self.uri_for(entity, "properties") Job.__init__(self, "PUT", uri, PropertySet(properties))
def __init__(self, entity): uri = self.uri_for(entity, "properties") Job.__init__(self, "DELETE", uri)
def __init__(self, node, labels): Job.__init__(self, "PUT", Target(node, "labels"), list(LabelSet(labels)))
def __init__(self, node, *labels): uri = self.uri_for(node, "labels") Job.__init__(self, "POST", uri, list(LabelSet(labels)))
def __init__(self, entity): Job.__init__(self, "DELETE", Target(entity, "properties"))
def __init__(self, entity, label): uri = self.uri_for(entity, "labels", label) Job.__init__(self, "DELETE", uri)
def __init__(self, entity, *labels): uri = self.uri_for(entity, "labels") Job.__init__(self, "PUT", uri, list(LabelSet(labels)))
def __init__(self, method, entity, *segments, **kwargs): self.entity = entity uri = self.uri_for(entity, *segments, **kwargs) Job.__init__(self, method, uri)