SpiceQA
Questions
Tags
Users
Badges
metaclass
116 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Is there a way to implement a __post_init__ method for inherited classes?
user_2505797
0
•
asked Sep 15, 2022
2
1
25
metaclass
python-decorators
decorator
python-3.x
python
how do I create a meta-class such that instances of the class are wrapped in `functools.wraps`?
user_12119282
0
•
asked Aug 10, 2022
1
1
36
metaclass
python-decorators
decorator
python-3.x
python
Making classfactory that derive from dataclass objects informed by types in python
user_3250928
0
•
asked Aug 8, 2022
2
3
48
python-typing
python-dataclasses
metaclass
python
Identifier for each subclass
user_9035157
0
•
asked Jul 15, 2022
2
2
47
metaclass
descriptor
iterable
python
Python metaclasses handling double class creation with same `__classcell__` attribute
user_1953800
0
•
asked Jul 13, 2022
2
1
65
python-3.8
metaclass
python-3.x
python
Enum inheriting from collections.abc.Set
user_10794031
0
•
asked Jun 24, 2022
1
1
77
metaclass
abstract-class
set
enums
python
Controlling context manager in a meta class
user_5577386
0
•
asked Jun 22, 2022
6
1
76
grpc
metaclass
decorator
python
Python: Metaclass or `__init_subclass__`: idiomatic exception during bad subclass creation?
user_4372452
0
•
asked Jun 16, 2022
3
1
27
metaclass
python
How can I override a special method defined in a metaclass with a custom classmethod?
user_4356104
0
•
asked May 17, 2022
6
2
107
metaclass
magic-methods
overriding
python
Add a mixin to python enum after it's created?
user_4356104
0
•
asked May 3, 2022
2
3
166
metaclass
mixins
enums
python
1
(current)
2
3
4
5
Next
Next
Hot Questions