Commit 582b6658 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Guilhem Saurel

Add Entity.className property.

parent 82d05f50
......@@ -97,6 +97,10 @@ class Entity (object) :
def name(self) :
return wrap.entity_get_name(self.obj)
@property
def className(self) :
return wrap.entity_get_class_name(self.obj)
def __str__(self) :
return wrap.display_entity(self.obj)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment