aboutsummaryrefslogtreecommitdiff
path: root/src/ee/part
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-10-16 08:41:29 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-10-16 08:41:29 +0200
commit73f151ec1da4ca78d4b9326f7efc81e0fad05159 (patch)
treef2b89a38678e37075439162ddfa3565858920281 /src/ee/part
parent08b04ded18e8b41818b5f3abb005c22b02f767b8 (diff)
downloadee-python-73f151ec1da4ca78d4b9326f7efc81e0fad05159.tar.gz
ee-python-73f151ec1da4ca78d4b9326f7efc81e0fad05159.tar.bz2
ee-python-73f151ec1da4ca78d4b9326f7efc81e0fad05159.tar.xz
ee-python-73f151ec1da4ca78d4b9326f7efc81e0fad05159.zip
part: Adding description property to Part.
Diffstat (limited to 'src/ee/part')
-rw-r--r--src/ee/part/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ee/part/__init__.py b/src/ee/part/__init__.py
index 53835df..975dc68 100644
--- a/src/ee/part/__init__.py
+++ b/src/ee/part/__init__.py
@@ -210,6 +210,10 @@ class Part(object):
return self.xml
@property
+ def description(self) -> str:
+ return self.xml.descriptionProp
+
+ @property
def uri(self) -> str:
return self.xml.uriProp