Exemplo n.º 1
0
 def select(self,
            attribute,
            value,
            reference=REF["IDENTIFIER_FIRST"],
            index_current=0):
     if (hasattr(self, attribute)
             and ((getattr(self, attribute) == value) or
                  (attribute == 'dfname'
                   and getattr(self, attribute).startswith(value)))):
         return self
     return DF.select(self, attribute, value, reference, index_current)