Skip to content

Commit 2708db2

Browse files
fstagnialdbr
authored andcommitted
chore: regenerate client
1 parent 1278894 commit 2708db2

2 files changed

Lines changed: 48 additions & 2 deletions

File tree

  • diracx-client/src/diracx/client/_generated/models
  • extensions/gubbins/gubbins-client/src/gubbins/client/_generated/models

diracx-client/src/diracx/client/_generated/models/_models.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
66
# --------------------------------------------------------------------------
77

8+
from collections.abc import MutableMapping
89
import datetime
910
from typing import Any, Optional, TYPE_CHECKING, Union
1011

1112
from .._utils import serialization as _serialization
1213

1314
if TYPE_CHECKING:
1415
from .. import models as _models
16+
JSON = MutableMapping[str, Any]
1517

1618

1719
class BodyAuthGetOidcToken(_serialization.Model):
@@ -1704,6 +1706,10 @@ class ValidationError(_serialization.Model):
17041706
:vartype msg: str
17051707
:ivar type: Error Type. Required.
17061708
:vartype type: str
1709+
:ivar input: Input.
1710+
:vartype input: any
1711+
:ivar ctx: Context.
1712+
:vartype ctx: JSON
17071713
"""
17081714

17091715
_validation = {
@@ -1716,21 +1722,38 @@ class ValidationError(_serialization.Model):
17161722
"loc": {"key": "loc", "type": "[object]"},
17171723
"msg": {"key": "msg", "type": "str"},
17181724
"type": {"key": "type", "type": "str"},
1725+
"input": {"key": "input", "type": "object"},
1726+
"ctx": {"key": "ctx", "type": "object"},
17191727
}
17201728

1721-
def __init__(self, *, loc: list[Any], msg: str, type: str, **kwargs: Any) -> None:
1729+
def __init__(
1730+
self,
1731+
*,
1732+
loc: list[Any],
1733+
msg: str,
1734+
type: str,
1735+
input: Optional[Any] = None,
1736+
ctx: Optional[JSON] = None,
1737+
**kwargs: Any
1738+
) -> None:
17221739
"""
17231740
:keyword loc: Location. Required.
17241741
:paramtype loc: list[any]
17251742
:keyword msg: Message. Required.
17261743
:paramtype msg: str
17271744
:keyword type: Error Type. Required.
17281745
:paramtype type: str
1746+
:keyword input: Input.
1747+
:paramtype input: any
1748+
:keyword ctx: Context.
1749+
:paramtype ctx: JSON
17291750
"""
17301751
super().__init__(**kwargs)
17311752
self.loc = loc
17321753
self.msg = msg
17331754
self.type = type
1755+
self.input = input
1756+
self.ctx = ctx
17341757

17351758

17361759
class VectorSearchSpec(_serialization.Model):

extensions/gubbins/gubbins-client/src/gubbins/client/_generated/models/_models.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
66
# --------------------------------------------------------------------------
77

8+
from collections.abc import MutableMapping
89
import datetime
910
from typing import Any, Optional, TYPE_CHECKING, Union
1011

1112
from .._utils import serialization as _serialization
1213

1314
if TYPE_CHECKING:
1415
from .. import models as _models
16+
JSON = MutableMapping[str, Any]
1517

1618

1719
class BodyAuthGetOidcToken(_serialization.Model):
@@ -1725,6 +1727,10 @@ class ValidationError(_serialization.Model):
17251727
:vartype msg: str
17261728
:ivar type: Error Type. Required.
17271729
:vartype type: str
1730+
:ivar input: Input.
1731+
:vartype input: any
1732+
:ivar ctx: Context.
1733+
:vartype ctx: JSON
17281734
"""
17291735

17301736
_validation = {
@@ -1737,21 +1743,38 @@ class ValidationError(_serialization.Model):
17371743
"loc": {"key": "loc", "type": "[object]"},
17381744
"msg": {"key": "msg", "type": "str"},
17391745
"type": {"key": "type", "type": "str"},
1746+
"input": {"key": "input", "type": "object"},
1747+
"ctx": {"key": "ctx", "type": "object"},
17401748
}
17411749

1742-
def __init__(self, *, loc: list[Any], msg: str, type: str, **kwargs: Any) -> None:
1750+
def __init__(
1751+
self,
1752+
*,
1753+
loc: list[Any],
1754+
msg: str,
1755+
type: str,
1756+
input: Optional[Any] = None,
1757+
ctx: Optional[JSON] = None,
1758+
**kwargs: Any
1759+
) -> None:
17431760
"""
17441761
:keyword loc: Location. Required.
17451762
:paramtype loc: list[any]
17461763
:keyword msg: Message. Required.
17471764
:paramtype msg: str
17481765
:keyword type: Error Type. Required.
17491766
:paramtype type: str
1767+
:keyword input: Input.
1768+
:paramtype input: any
1769+
:keyword ctx: Context.
1770+
:paramtype ctx: JSON
17501771
"""
17511772
super().__init__(**kwargs)
17521773
self.loc = loc
17531774
self.msg = msg
17541775
self.type = type
1776+
self.input = input
1777+
self.ctx = ctx
17551778

17561779

17571780
class VectorSearchSpec(_serialization.Model):

0 commit comments

Comments
 (0)