(self, expression, auto)
| 22 | self.Field = Field |
| 23 | |
| 24 | def UpdateValue(self, expression, auto): |
| 25 | if self.Field.IsReadonly and not auto: |
| 26 | return False |
| 27 | |
| 28 | if expression != None: |
| 29 | ret, _ = ExpressionConverter.Verify(self.Field.Format, expression) |
| 30 | if not ret: |
| 31 | return False |
| 32 | |
| 33 | self.Value = expression |
| 34 | return True |
| 35 | |
| 36 | def UpdateMask(self, expression): |
| 37 | if expression != None: |
no outgoing calls
no test coverage detected