Add support for Python 3.12 (#101651)
This commit is contained in:
parent
535e2b81ce
commit
ba91aaa28d
28 changed files with 296 additions and 93 deletions
|
@ -1,11 +1,13 @@
|
|||
"""Common Met Office Data class used by both sensor and entity."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
import sys
|
||||
|
||||
from datapoint.Forecast import Forecast
|
||||
from datapoint.Site import Site
|
||||
from datapoint.Timestep import Timestep
|
||||
if sys.version_info < (3, 12):
|
||||
from datapoint.Forecast import Forecast
|
||||
from datapoint.Site import Site
|
||||
from datapoint.Timestep import Timestep
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue