I have a Transform script with a lambda function inside of it that has an error stating that the object has no attribute value. What the script is doing is looking for the user roles and returning a bool. Thanks in advance
def transform(self, value, quality, timestamp):
Transform the incoming value and return a result.
Arguments: self: A reference to the component this binding is configured on. value: The incoming value from the binding or the previous transform. quality: The quality code of the incoming value. timestamp: The timestamp of the incoming value as a java.util.Date """ return value.admin or bool(filter(lambda x: x.value['Enabled'].value, value.databases))