Skip to content

Commit

Permalink
fix: adapt to pydantic 2.x.x (#758)
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthés <[email protected]>
  • Loading branch information
guilhem-barthes authored and SdgJlbl committed Oct 20, 2023
1 parent 11e661c commit aa80420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/substrapp/events/reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def on_function_event(payload):

building_params = {
"channel_name": channel_name,
"function_serialized": orc_function.json(),
"function_serialized": orc_function.model_dump_json(),
}
(
# TODO switch to function.model_dump_json() as soon as pydantic is updated to > 2.0
Expand Down

0 comments on commit aa80420

Please sign in to comment.