def METHOD_NAME():
    @register_base_type
    class Foo:
        def __init_subclass__(cls) -> None:
            cls.x = "test"
    class Bar(Foo):
        __dispatch_key__ = "x"
    assert Bar.x == "test"