Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/resources/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/resources/context.py')
-rw-r--r--sugar_network/resources/context.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/sugar_network/resources/context.py b/sugar_network/resources/context.py
index 1745a82..5683664 100644
--- a/sugar_network/resources/context.py
+++ b/sugar_network/resources/context.py
@@ -31,11 +31,6 @@ class Context(Resource):
def type(self, value):
return value
- @ad.active_property(slot=1, prefix='N', full_text=True,
- permissions=ad.ACCESS_READ, default='')
- def name(self, value):
- return value
-
@ad.active_property(prefix='M',
full_text=True, default=[], typecast=[])
def implement(self, value):
@@ -136,6 +131,16 @@ class Context(Resource):
return versions
+ @ad.active_property(ad.StoredProperty, typecast=[], default=[])
+ def dependencies(self, value):
+ """Software dependencies.
+
+ This is a transition method how to improve dependencies handling.
+ The regular way should be setting up them in activity.info instead.
+
+ """
+ return value
+
@ad.active_property(ad.StoredProperty, typecast=dict, default={})
def aliases(self, value):
return value