(self, name="", compute_value=None, *, sparse=False)
Construct a variable descriptor.
Construct a variable descriptor.
Construct a variable descriptor .
def __init__(self, name="", compute_value=None, *, sparse=False):
        """
        Construct a variable descriptor.
        """
        if not name:
            warnings.warn("Variable must have a name", OrangeDeprecationWarning,
                          stacklevel=3)
        self._name = name
        self._compute_value = compute_value
        self.unknown_str = MISSING_VALUES
        self.source_variable = None
        self.sparse = sparse
        self.attributes = {}
def __init__ ( self , name = "" , compute_value = None , * , sparse = False ) : if not name : warnings . warn ( "Variable must have a name" , OrangeDeprecationWarning , stacklevel = 3 ) self . _name = name self . _compute_value = compute_value self . unknown_str = MISSING_VALUES self . source_variable = None self . sparse = sparse self . attributes = { }