Skip to content

[QI2-1564] Updated crs for pydantic 2.11.3 #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion schemas/get_dynamic/reply_success.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$defs": {
"QuantumHardwareDynamicData": {
"additionalProperties": true,
"title": "QuantumHardwareDynamicData",
"type": "object"
}
Expand Down Expand Up @@ -29,4 +30,4 @@
],
"title": "Get hardware data reply",
"type": "object"
}
}
3 changes: 2 additions & 1 deletion schemas/get_static/reply_success.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"type": "string"
},
"arguments": {
"additionalProperties": true,
"default": {},
"description": "Arguments for the compiler pass",
"title": "Arguments",
Expand Down Expand Up @@ -166,4 +167,4 @@
],
"title": "Get hardware data reply",
"type": "object"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@

from typing import Literal

from pydantic import BaseModel, Field
from pydantic import BaseModel, ConfigDict, Field


class QuantumHardwareDynamicData(BaseModel):
pass
model_config = ConfigDict(
extra='allow',
)


class GetDynamicReplySuccess(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion tests/control-software-validator/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytest==8.3.5
pydantic==2.10.6
pydantic==2.11.3
datamodel-code-generator==0.28.4
pyzmq==26.3.0
pytest-asyncio==0.25.0
Expand Down