Skip to content

Classes should maintain a registry of accessors #19963

Closed
@TomAugspurger

Description

@TomAugspurger

Dask would like to inherit the accessors registered by register_*_acessor. This would be much easier if the regiser_*_accessor methods added the name of the accessor to a (private) class variable.

It seems like we have use of it in pandas as well: https://github.com/pandas-dev/pandas/pull/19960/files#r171815351

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignBlockerBlocking issue or pull request for an upcoming release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions