def get(self): result = PropertySheet.get(self) resource = result.get('resource') if resource is None: resource = colander.null else: resource = resource_path(resource) result['resource'] = resource return result
def set(self, appstruct): resource = appstruct.get('resource') if resource is colander.null: appstruct['resource'] = None return PropertySheet.set(self, appstruct)
def set(self, appstruct): return PropertySheet.set(self, appstruct, omit=('duration'))
def set(self, appstruct): result = PropertySheet.set(self, appstruct) return result
def get(self): result = PropertySheet.get(self) return result