Skip to content
Snippets Groups Projects
Commit 582b6658 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Guilhem Saurel
Browse files

Add Entity.className property.

parent 82d05f50
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment