Remove support for datetime type and improve typing in several files.

This commit is contained in:
Davide Casale
2023-05-26 18:48:27 +02:00
parent bc0f83d408
commit 7059846843
5 changed files with 24 additions and 26 deletions

View File

@@ -1,11 +1,11 @@
from typing import Union, Type, \
from typing import \
List, Dict, Literal, Optional, Any
from dataclasses import dataclass
from .labeler import _Type, partial, compose
JSON = Union[Dict[str, "JSON"], List["JSON"], bool, int, float, str, Type[None]]
from ..utils.json_encoder import JSON
#region Dataclass definitions for types of public use