Skip to content

subclass with mandatory attribute cannot be created when the base class has a factory based one #38

@RonnyPfannschmidt

Description

@RonnyPfannschmidt

failing example

import attr def test_example(): @attr.s class Base(object): attr = attr.ib(default=False) @attr.s class Sub(Base): needed = attr.ib() 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions