Skip to content

Commit

Permalink
Merge pull request #138 from epics-containers/dependabot/pip/pydantic…
Browse files Browse the repository at this point in the history
…-2.5.0

Bump pydantic from 2.3.0 to 2.5.0
  • Loading branch information
gilesknap authored Nov 13, 2023
2 parents 1de3a19 + 3cef947 commit 653c00e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ classifiers = [
]
description = "IOC Builder for EPICS and Kubernetes"
dependencies = [
"pydantic==2.3.0",
"pydantic==2.5.0",
"typer",
"ruamel.yaml",
"jinja2",
Expand Down
11 changes: 10 additions & 1 deletion tests/samples/schemas/multiple.ibek.ioc.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,16 @@
"entities": {
"description": "List of entities this IOC instantiates",
"items": {
"anyOf": [
"discriminator": {
"mapping": {
"module.AllObject": "#/$defs/module_AllObject",
"object_module.Consumer": "#/$defs/object_module_Consumer",
"object_module.ConsumerTwo": "#/$defs/object_module_ConsumerTwo",
"object_module.RefObject": "#/$defs/object_module_RefObject"
},
"propertyName": "type"
},
"oneOf": [
{
"$ref": "#/$defs/object_module_RefObject"
},
Expand Down
10 changes: 9 additions & 1 deletion tests/samples/schemas/objects.ibek.ioc.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,15 @@
"entities": {
"description": "List of entities this IOC instantiates",
"items": {
"anyOf": [
"discriminator": {
"mapping": {
"object_module.Consumer": "#/$defs/object_module_Consumer",
"object_module.ConsumerTwo": "#/$defs/object_module_ConsumerTwo",
"object_module.RefObject": "#/$defs/object_module_RefObject"
},
"propertyName": "type"
},
"oneOf": [
{
"$ref": "#/$defs/object_module_RefObject"
},
Expand Down
9 changes: 8 additions & 1 deletion tests/samples/schemas/utils.ibek.ioc.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,14 @@
"entities": {
"description": "List of entities this IOC instantiates",
"items": {
"anyOf": [
"discriminator": {
"mapping": {
"epics.InterruptVectorVME": "#/$defs/epics_InterruptVectorVME",
"epics.InterruptVectorVME2": "#/$defs/epics_InterruptVectorVME2"
},
"propertyName": "type"
},
"oneOf": [
{
"$ref": "#/$defs/epics_InterruptVectorVME"
},
Expand Down

0 comments on commit 653c00e

Please sign in to comment.