how to get all attributes of an object in python code example
Example 1: print items in object python
def (myObject):
print(vars(myObject))
Example 2: python get attributes of object
getattr(object, 'attribute_name')
def (myObject):
print(vars(myObject))
getattr(object, 'attribute_name')