def get_datastore():
 db_info = appscale_info.get_db_info()
 db_type = db_info[':table']
 datastore_batch = appscale_datastore_batch.DatastoreFactory.getDatastore(db_type)
 return datastore_batch

def get_datastore ( ) : db_info = appscale_info . get_db_info ( ) db_type = db_info [ ':table' ] datastore_batch = appscale_datastore_batch . DatastoreFactory . getDatastore ( db_type ) return datastore_batch
returns a reference to the batch datastore interface .