Skip to content

Commit

Permalink
no need to set the id
Browse files Browse the repository at this point in the history
  • Loading branch information
MoralCode committed Jun 6, 2022
1 parent 6e808d3 commit a287cd4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion blueprints/v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ def update_bellschedule(bell_schedule_id):
try:
updated_schedule = BellScheduleSchema(exclude=('id', 'creation_date')).load(
data, session=db.session, instance=schedule)
updated_schedule.id = bell_schedule_id
except ValidationError as err:
# print(err.messages) # => {"email": ['"foo" is not a valid email address.']}
# print(err.valid_data)
Expand Down

0 comments on commit a287cd4

Please sign in to comment.