Skip to content

Commit

Permalink
chore: update models
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Aug 8, 2024
1 parent a8b12f8 commit b7eb03f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/vehicle-routing/src/vehicle_routing/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ class Visit(JsonDomainBase):
IdSerializer, VisitValidator, Field(default=None)]
arrival_time: Annotated[
Optional[datetime],
CascadingUpdateShadowVariable(source_variable_name='previous_visit',
target_method_name='update_arrival_time'),
CascadingUpdateShadowVariable(source_variable_name='vehicle',
target_method_name='update_arrival_time'),
CascadingUpdateShadowVariable(target_method_name='update_arrival_time'),
Field(default=None)]

def update_arrival_time(self):
Expand Down

0 comments on commit b7eb03f

Please sign in to comment.