SpiceQA
Questions
Tags
Users
Badges
python-descriptors
24 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why does pandas.DataFrame.groupby(function) work when the function returns the Timestamp.date method itself instead of calling it?
user_8692248
0
•
asked Sep 9, 2022
1
0
39
pandas
python-descriptors
group-by
python
Python: adding descriptor with setattr doesn't call __set_name__
user_9413641
0
•
asked Aug 5, 2022
3
1
36
setattr
python-descriptors
python
How can I use a descriptor to implement a protocol?
user_1467392
0
•
asked Jul 11, 2022
2
0
45
mypy
python-descriptors
interface
python
Proper way to show the docstring of descriptor with Pylance in VSCode
user_18677995
0
•
asked Jul 6, 2022
2
0
115
pylance
visual-studio-code
python-descriptors
python
Is there a danger restricting a method to only be used on instances?
user_534674
0
•
asked Jun 12, 2022
3
2
103
python-descriptors
descriptor
python
Typing simple descriptor example as Enum class constant with mypy
user_10794031
0
•
asked May 30, 2022
2
0
75
python-typing
mypy
python-descriptors
enums
python
__set_name__ execution in Descriptor
user_4538768
0
•
asked Mar 3, 2022
4
1
367
python-descriptors
python
How does python know when to pass in `self`?
user_3629654
0
•
asked Jan 21, 2022
3
3
74
python-descriptors
python-decorators
python
Optional arguments and Descriptor instance
user_2595183
0
•
asked Aug 30, 2021
2
3
417
python-dataclasses
python-descriptors
python
Python type-checking Protocols and Descriptors
user_9315276
0
•
asked Aug 6, 2021
3
1
338
python-typing
mypy
python-descriptors
type-hinting
python
1
(current)
2
3
Next
Next
Hot Questions