summaryrefslogtreecommitdiff
path: root/src/buildstream/_loader/metaelement.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_loader/metaelement.py')
-rw-r--r--src/buildstream/_loader/metaelement.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/buildstream/_loader/metaelement.py b/src/buildstream/_loader/metaelement.py
index 45eb6f4d0..cda1c3434 100644
--- a/src/buildstream/_loader/metaelement.py
+++ b/src/buildstream/_loader/metaelement.py
@@ -22,6 +22,24 @@ from .. import _yaml
class MetaElement():
+ __slots__ = (
+ 'project',
+ 'name',
+ 'kind',
+ 'provenance',
+ 'sources',
+ 'config',
+ 'variables',
+ 'environment',
+ 'env_nocache',
+ 'public',
+ 'sandbox',
+ 'build_dependencies',
+ 'dependencies',
+ 'first_pass',
+ 'is_junction',
+ )
+
# MetaElement()
#
# An abstract object holding data suitable for constructing an Element