From 951f8521065b9c8864539fe37d4ee8c5d988f828 Mon Sep 17 00:00:00 2001 From: Chromosomologist Date: Thu, 19 Sep 2024 22:51:21 +0200 Subject: [PATCH] revert: b429bf4 --- src/disnake/ext/components/impl/component/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disnake/ext/components/impl/component/base.py b/src/disnake/ext/components/impl/component/base.py index 91978a7..03e7fdf 100644 --- a/src/disnake/ext/components/impl/component/base.py +++ b/src/disnake/ext/components/impl/component/base.py @@ -158,7 +158,7 @@ def _field_transformer( @typing_extensions.dataclass_transform( kw_only_default=True, field_specifiers=(fields.field, fields.internal) ) -class ComponentMeta(type(typing.Protocol)): +class ComponentMeta(typing._ProtocolMeta): # pyright: ignore """Metaclass for all disnake-ext-components component types. It is **highly** recommended to use this metaclass for any class that