Beispiel #1
0
 def copy_object_at(obj, timestamp):
     if isinstance(obj, ImmutableObject):
         return obj, []
     new_obj = event_copy(obj)
     new_ses = older_than(
         side_effects_that_affect_object(execution_events, obj), timestamp)
     return new_obj, copy_side_effects(new_ses, obj, new_obj)
Beispiel #2
0
 def side_effects_of(obj):
     return older_than(
         side_effects_that_affect_object(execution_events, obj), timestamp)
Beispiel #3
0
 def side_effects_of(obj):
     return older_than(side_effects_that_affect_object(execution_events, obj), timestamp)
Beispiel #4
0
 def copy_object_at(obj, timestamp):
     if isinstance(obj, ImmutableObject):
         return obj, []
     new_obj = event_copy(obj)
     new_ses = older_than(side_effects_that_affect_object(execution_events, obj), timestamp)
     return new_obj, copy_side_effects(new_ses, obj, new_obj)