Add backport of cached_property from CPython 3.12 (#95292)

This commit is contained in:
Erik Montnemery 2023-06-26 23:23:07 +02:00 committed by GitHub
parent b02cb56988
commit a568885ad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 70 additions and 7 deletions

View file

@ -3,7 +3,6 @@ from __future__ import annotations
from collections import namedtuple
from datetime import timedelta
from functools import cached_property
import logging
from typing import Any
@ -11,6 +10,7 @@ from fints.client import FinTS3PinTanClient
from fints.models import SEPAAccount
import voluptuous as vol
from homeassistant.backports.functools import cached_property
from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity
from homeassistant.const import CONF_NAME, CONF_PIN, CONF_URL, CONF_USERNAME
from homeassistant.core import HomeAssistant