Skip to content

Commit

Permalink
robot-server: parse_obj -> model_validate
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Dec 18, 2024
1 parent 538c090 commit 7bd7fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot-server/robot_server/protocols/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ async def _get_cached_protocol_analysis() -> PydanticResponse[
protocolKind=resource.protocol_kind,
protocolType=resource.source.config.protocol_type,
robotType=resource.source.robot_type,
metadata=Metadata.parse_obj(resource.source.metadata),
metadata=Metadata.model_validate(resource.source.metadata),
analysisSummaries=analysis_summaries,
key=resource.protocol_key,
files=[
Expand Down

0 comments on commit 7bd7fa6

Please sign in to comment.