Skip to content

class Composite should explicitly declare current_child type #335

@jbcpollak

Description

@jbcpollak

class Composite should be declared as:

class Composite(behaviour.Behaviour):
    current_child: Optional[Behaviour]

otherwise current_child is typed as None according to the Composite.init method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions