Update pydantic to 1.10.17 (#119430)
parent
3a8b0c3573
commit
e5846fdffd
|
@ -28,27 +28,19 @@ async def async_get_config_entry_diagnostics(
|
||||||
},
|
},
|
||||||
"data": {
|
"data": {
|
||||||
"dsl": async_redact_data(
|
"dsl": async_redact_data(
|
||||||
dataclasses.asdict(
|
dataclasses.asdict(await data.system.box.dsl_get_info()),
|
||||||
await data.system.box.dsl_get_info() # type:ignore [call-overload]
|
|
||||||
),
|
|
||||||
TO_REDACT,
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"ftth": async_redact_data(
|
"ftth": async_redact_data(
|
||||||
dataclasses.asdict(
|
dataclasses.asdict(await data.system.box.ftth_get_info()),
|
||||||
await data.system.box.ftth_get_info() # type:ignore [call-overload]
|
|
||||||
),
|
|
||||||
TO_REDACT,
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"system": async_redact_data(
|
"system": async_redact_data(
|
||||||
dataclasses.asdict(
|
dataclasses.asdict(await data.system.box.system_get_info()),
|
||||||
await data.system.box.system_get_info() # type:ignore [call-overload]
|
|
||||||
),
|
|
||||||
TO_REDACT,
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"wan": async_redact_data(
|
"wan": async_redact_data(
|
||||||
dataclasses.asdict(
|
dataclasses.asdict(await data.system.box.wan_get_info()),
|
||||||
await data.system.box.wan_get_info() # type:ignore [call-overload]
|
|
||||||
),
|
|
||||||
TO_REDACT,
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||||
from contextlib import suppress
|
from contextlib import suppress
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from pydantic.error_wrappers import ValidationError
|
from pydantic import ValidationError
|
||||||
from xbox.webapi.api.client import XboxLiveClient
|
from xbox.webapi.api.client import XboxLiveClient
|
||||||
from xbox.webapi.api.provider.catalog.models import FieldsTemplate, Image
|
from xbox.webapi.api.provider.catalog.models import FieldsTemplate, Image
|
||||||
from xbox.webapi.api.provider.gameclips.models import GameclipsResponse
|
from xbox.webapi.api.provider.gameclips.models import GameclipsResponse
|
||||||
|
|
|
@ -133,7 +133,7 @@ backoff>=2.0
|
||||||
|
|
||||||
# Required to avoid breaking (#101042).
|
# Required to avoid breaking (#101042).
|
||||||
# v2 has breaking changes (#99218).
|
# v2 has breaking changes (#99218).
|
||||||
pydantic==1.10.15
|
pydantic==1.10.17
|
||||||
|
|
||||||
# Breaks asyncio
|
# Breaks asyncio
|
||||||
# https://github.com/pubnub/python/issues/130
|
# https://github.com/pubnub/python/issues/130
|
||||||
|
|
|
@ -13,7 +13,7 @@ freezegun==1.5.0
|
||||||
mock-open==1.4.0
|
mock-open==1.4.0
|
||||||
mypy-dev==1.11.0a6
|
mypy-dev==1.11.0a6
|
||||||
pre-commit==3.7.1
|
pre-commit==3.7.1
|
||||||
pydantic==1.10.15
|
pydantic==1.10.17
|
||||||
pylint==3.2.2
|
pylint==3.2.2
|
||||||
pylint-per-file-ignores==1.3.2
|
pylint-per-file-ignores==1.3.2
|
||||||
pipdeptree==2.19.0
|
pipdeptree==2.19.0
|
||||||
|
|
|
@ -155,7 +155,7 @@ backoff>=2.0
|
||||||
|
|
||||||
# Required to avoid breaking (#101042).
|
# Required to avoid breaking (#101042).
|
||||||
# v2 has breaking changes (#99218).
|
# v2 has breaking changes (#99218).
|
||||||
pydantic==1.10.15
|
pydantic==1.10.17
|
||||||
|
|
||||||
# Breaks asyncio
|
# Breaks asyncio
|
||||||
# https://github.com/pubnub/python/issues/130
|
# https://github.com/pubnub/python/issues/130
|
||||||
|
|
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||||
from unittest.mock import AsyncMock, MagicMock, patch
|
from unittest.mock import AsyncMock, MagicMock, patch
|
||||||
|
|
||||||
from demetriek import CloudDevice, Device
|
from demetriek import CloudDevice, Device
|
||||||
from pydantic import parse_raw_as
|
from pydantic import parse_raw_as # pylint: disable=no-name-in-module
|
||||||
import pytest
|
import pytest
|
||||||
from typing_extensions import Generator
|
from typing_extensions import Generator
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue