Fix typo
This commit is contained in:
@@ -496,7 +496,7 @@ def get_descriptor(entity, attr):
|
|||||||
# but not in parent class.
|
# but not in parent class.
|
||||||
return getattr(prop.parent.class_, attr)
|
return getattr(prop.parent.class_, attr)
|
||||||
else:
|
else:
|
||||||
# Handle synonyms, relationship proeprties and hybrid
|
# Handle synonyms, relationship properties and hybrid
|
||||||
# properties
|
# properties
|
||||||
try:
|
try:
|
||||||
return getattr(entity, attr)
|
return getattr(entity, attr)
|
||||||
|
Reference in New Issue
Block a user