StackOverflow Questions for Tag: python-datamodel

Staale
Staale

Reputation: 28008

How to get method parameter names?

Score: 373

Views: 309791

Answers: 20

Read More
fuentesjr
fuentesjr

Reputation: 52358

Is there a built-in function to print all the current properties and values of an object?

Score: 1524

Views: 1404806

Answers: 32

Read More
astrofrog
astrofrog

Reputation: 34171

Prevent creating new attributes outside __init__

Score: 114

Views: 41542

Answers: 14

Read More
Hannah S.
Hannah S.

Reputation: 3330

Get fully qualified class name of an object in Python

Score: 212

Views: 154475

Answers: 14

Read More
Dan
Dan

Reputation: 35483

Getting the class name of an instance

Score: 2009

Views: 1624219

Answers: 12

Read More
Bryan Carty
Bryan Carty

Reputation: 29

How to represent the numbers 0 to 3, taking up 2 bits of memory in python

Score: 0

Views: 88

Answers: 3

Read More
Ariel
Ariel

Reputation: 1661

How does Python's attribute lookup process work?

Score: 27

Views: 6354

Answers: 1

Read More
Bite code
Bite code

Reputation: 597291

What are metaclasses in Python?

Score: 7472

Views: 1223234

Answers: 26

Read More
Pragy Agarwal
Pragy Agarwal

Reputation: 579

Which Python dunder/magic methods do you need to implement to correctly proxy an object?

Score: 27

Views: 14127

Answers: 1

Read More
concentriq
concentriq

Reputation: 439

best way to create serializable data model

Score: 2

Views: 391

Answers: 1

Read More
isswf
isswf

Reputation: 193

python: create empty dataclass and populate it on demand

Score: 0

Views: 116

Answers: 1

Read More
TheOnlyWayUp
TheOnlyWayUp

Reputation: 109

Python: Magic method for when the object's reference count changes?

Score: 0

Views: 86

Answers: 2

Read More
Patrik Drozdík
Patrik Drozdík

Reputation: 76

Why cls() in a classmethod does not provide argument hints the way that directly calling the class constructor does?

Score: 0

Views: 94

Answers: 0

Read More
wim
wim

Reputation: 363304

Setting a class __name__ declaratively

Score: 13

Views: 5531

Answers: 1

Read More
acdr
acdr

Reputation: 4726

Why doesn't Python have a "__req__" (reflected equality) method?

Score: 11

Views: 2835

Answers: 4

Read More
readonly
readonly

Reputation: 355934

How do you check whether a python method is bound or not?

Score: 49

Views: 19111

Answers: 5

Read More
Industry666
Industry666

Reputation: 5

Should I use Model objects from library or make it myself?

Score: 0

Views: 63

Answers: 0

Read More
Zhang Daniel
Zhang Daniel

Reputation: 99

Python dunder methods wrapped as property

Score: 6

Views: 409

Answers: 2

Read More
Jesse Aldridge
Jesse Aldridge

Reputation: 8149

Get class that defined method

Score: 124

Views: 96458

Answers: 13

Read More
Learnerer
Learnerer

Reputation: 583

Does a metaclass-level variable cascade down to the metaclass's instantiated classes's instantiated objects the way a class-level variable does?

Score: 1

Views: 61

Answers: 1

Read More
PreviousPage 1Next