Example #1
0
def disconnect(request, uid):
    paths = json.loads(request.raw_post_data)
    dudley.connect(uid, paths)
Example #2
0
	def attach(self, rtype, did):
		# connect if we can
		if did: dudley.connect(did, (rtype, ))
		
		# now, get records and return that
		return self.fetch_records(rtype)