Skip to content

[DAL] Use python descriptors for properties #2324

@JeffreyDevloo

Description

@JeffreyDevloo

All properties are currently set onto the object when it is instantiated.
This makes it very hard for the editor to know which properties are set onto the object.

Instead of the dynamic property setting, we could use 'descriptors'

An example on how to implement can be found on my branch. Object defintion is more readable and the IDE can track the attributes because they are bound to the class.
The associated test suite should be expanded when further implementing it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions