Skip to content

fix: stop using protected type as a field name on the Variable dataclass #54

Description

@hollandjg

... and update the data_type so it reads:

@dataclass
class Variable:
    """Describes an experimental variable: name, type, range, units, and value of a variable."""

    name: str = ""
    value_range: Optional[Tuple[Any, Any]] = None
    allowed_values: Optional[Sequence] = None
    units: str = ""
    value_type: ValueType = ValueType.REAL
    variable_label: str = ""
    rescale: float = 1
    is_covariate: bool = False
    data_type: Optional[type] = None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.documentationImprovements or additions to documentation.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions