caterva2.lazyexpr#
- caterva2.lazyexpr(name, expression, operands, urlbase='http://localhost:8002/', auth_cookie=None)#
Create a lazy expression dataset in scratch space.
A dataset with the given name is created anew (or overwritten if already existing).
- Parameters:
name¶ (str) – The name of the dataset to be created (without extension).
expression¶ (str) – The expression to be evaluated. It must result in a lazy expression.
operands¶ (dict) – A mapping of the variables used in the expression to the dataset paths that they refer to.
urlbase¶ (str) – The base of URLs (slash-terminated) of the subscriber to query.
auth_cookie¶ (str) – An optional HTTP cookie for authorizing access.
- Returns:
The path of the created dataset.
- Return type:
str