Skip to content

Improve typeclass safety #15

@sg495

Description

@sg495

Tasks:

  • Define abstract classmethod Box._typeclasses(cls) -> frozenset[TypeClass] and implement it in FinRel.
  • Implement final classmethod Box.typeclasses which calls _typeclasses on all final/leaf subclasses and takes the union (relies on Improve InheritanceForestMeta #14).
  • Ensure that Box.spider is called on a compatible typeclass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions