summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/eolian.py
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 16:01:07 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 16:04:35 +0200
commit5ea0195661e88395ee3e7384db7acc3f03d52dc1 (patch)
tree395a85fe0bd2147a9d22311162fc5cd2d22384fd /src/scripts/pyolian/eolian.py
parent34ef9c313989402d523951b2c20c7141d3bdce78 (diff)
eolian: remove @nullable keyword
This was an experiment that never properly took off and was never used by any generator. Its use was highly variable, so it could not be relied upon. We will still want to reverse the current behavior eventually (no null by default), but that will be done with eo file versioning in the future. @feature
Diffstat (limited to 'src/scripts/pyolian/eolian.py')
-rw-r--r--src/scripts/pyolian/eolian.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 4dce2e6d4b..bd92075565 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -963,7 +963,7 @@ class Function(Object):
963class Function_Parameter(Object): 963class Function_Parameter(Object):
964 def __repr__(self): 964 def __repr__(self):
965 return "<eolian.Function_Parameter '{0.name}', type={0.type}," \ 965 return "<eolian.Function_Parameter '{0.name}', type={0.type}," \
966 " optional={0.is_optional}, nullable={0.is_nullable}>".format(self) 966 " optional={0.is_optional}>".format(self)
967 967
968 @cached_property 968 @cached_property
969 def direction(self): 969 def direction(self):
@@ -979,10 +979,6 @@ class Function_Parameter(Object):
979 return bool(lib.eolian_parameter_is_nonull(self)) 979 return bool(lib.eolian_parameter_is_nonull(self))
980 980
981 @cached_property 981 @cached_property
982 def is_nullable(self):
983 return bool(lib.eolian_parameter_is_nullable(self))
984
985 @cached_property
986 def is_optional(self): 982 def is_optional(self):
987 return bool(lib.eolian_parameter_is_optional(self)) 983 return bool(lib.eolian_parameter_is_optional(self))
988 984