Skip to content

Subclassed decorator methods not working #753

Open
@SoundsSerious

Description

@SoundsSerious

My framework relies on (smart) subclassing, but I've also got it to work with attrs mostly. Running into a problem like the following.

@attr.s
class BaseClass():
    
    value = attr.ib(default=10)

@attr.s
class TestClass(BaseClass):
    
    @value.default
    def _not_value(self):
        return 20

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions