No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ledatasource.py 587B

12345678910111213141516171819
  1. #-*- coding: utf-8 -*-
  2. ## Generic DataSource for LeObject
  3. class LeDataSource(object):
  4. def __init__(self, options=None):
  5. self.options = options
  6. ## @brief search for a collection of objects
  7. # @param emclass LeClass : LeClass instance
  8. # @param emtype LeType : LeType instance
  9. # @param field_list list : list of fields to get from the datasource
  10. # @param filters list : list of tuples formatted as (FIELD, OPERATOR, VALUE)
  11. # @param relational_filters
  12. def get(self, emclass, emtype, field_list, filters, relational_filters):
  13. return False