def __init__(
         self,
         attribute=None,
         source_expression=None,
         target_timespan=None,
         scope_names=None,
         persist=True,
         truncate=None,
         ):
     TimeContiguousAnchoredSetExpression.__init__(
         self,
         attribute=attribute,
         source_expression=source_expression,
         target_timespan=target_timespan,
         persist=persist,
         truncate=truncate,
         )
     assert isinstance(scope_names, (list, type(None)))
     self._scope_names = scope_names
Exemple #2
0
 def __init__(
     self,
     attribute=None,
     source_expression=None,
     target_timespan=None,
     scope_names=None,
     persist=True,
     truncate=None,
 ):
     TimeContiguousAnchoredSetExpression.__init__(
         self,
         attribute=attribute,
         source_expression=source_expression,
         target_timespan=target_timespan,
         persist=persist,
         truncate=truncate,
     )
     assert isinstance(scope_names, (list, type(None)))
     self._scope_names = scope_names
 def __init__(
     self,
     attribute=None,
     source_expression=None,
     target_timespan=None,
     target_context_name=None,
     fresh=True,
     persist=True,
     truncate=None,
     ):
     TimeContiguousAnchoredSetExpression.__init__(
         self,
         attribute=attribute,
         source_expression=source_expression,
         target_timespan=target_timespan,
         persist=persist,
         truncate=truncate,
         )
     assert isinstance(target_context_name, (str, type(None)))
     self._fresh = fresh
     self._target_context_name = target_context_name