Update pydantic to 1.10.17 (#119430)

pull/119454/head^2
Marc Mueller 2024-06-21 10:16:36 +02:00 committed by GitHub
parent 3a8b0c3573
commit e5846fdffd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 17 deletions

View File

@ -28,27 +28,19 @@ async def async_get_config_entry_diagnostics(
},
"data": {
"dsl": async_redact_data(
dataclasses.asdict(
await data.system.box.dsl_get_info() # type:ignore [call-overload]
),
dataclasses.asdict(await data.system.box.dsl_get_info()),
TO_REDACT,
),
"ftth": async_redact_data(
dataclasses.asdict(
await data.system.box.ftth_get_info() # type:ignore [call-overload]
),
dataclasses.asdict(await data.system.box.ftth_get_info()),
TO_REDACT,
),
"system": async_redact_data(
dataclasses.asdict(
await data.system.box.system_get_info() # type:ignore [call-overload]
),
dataclasses.asdict(await data.system.box.system_get_info()),
TO_REDACT,
),
"wan": async_redact_data(
dataclasses.asdict(
await data.system.box.wan_get_info() # type:ignore [call-overload]
),
dataclasses.asdict(await data.system.box.wan_get_info()),
TO_REDACT,
),
},

View File

@ -5,7 +5,7 @@ from __future__ import annotations
from contextlib import suppress
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.provider.catalog.models import FieldsTemplate, Image
from xbox.webapi.api.provider.gameclips.models import GameclipsResponse

View File

@ -133,7 +133,7 @@ backoff>=2.0
# Required to avoid breaking (#101042).
# v2 has breaking changes (#99218).
pydantic==1.10.15
pydantic==1.10.17
# Breaks asyncio
# https://github.com/pubnub/python/issues/130

View File

@ -13,7 +13,7 @@ freezegun==1.5.0
mock-open==1.4.0
mypy-dev==1.11.0a6
pre-commit==3.7.1
pydantic==1.10.15
pydantic==1.10.17
pylint==3.2.2
pylint-per-file-ignores==1.3.2
pipdeptree==2.19.0

View File

@ -155,7 +155,7 @@ backoff>=2.0
# Required to avoid breaking (#101042).
# v2 has breaking changes (#99218).
pydantic==1.10.15
pydantic==1.10.17
# Breaks asyncio
# https://github.com/pubnub/python/issues/130

View File

@ -5,7 +5,7 @@ from __future__ import annotations
from unittest.mock import AsyncMock, MagicMock, patch
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
from typing_extensions import Generator