MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / parse

Method parse

dedalus/core/future.py:268–271  ·  view source on GitHub ↗

Build FutureField from a string expression.

(string, namespace, dist)

Source from the content-addressed store, hash-verified

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):

Callers 1

add_taskMethod · 0.80

Calls 1

castMethod · 0.45

Tested by

no test coverage detected