Build FutureField from a string expression.
(string, namespace, dist)
| 266 | |
| 267 | @staticmethod |
| 268 | def parse(string, namespace, dist): |
| 269 | """Build FutureField from a string expression.""" |
| 270 | expression = eval(string, namespace) |
| 271 | return FutureField.cast(expression, dist) |
| 272 | |
| 273 | @staticmethod |
| 274 | def cast(arg, dist): |