Migrate to aiosqlite, add some undocumented features, will be documented later. Some problems with mass_actions, don't use them, because loading algorythm may change

This commit is contained in:
hhh
2024-03-17 00:25:56 +02:00
parent ac7e9055a5
commit 6dfc3cebbe
9 changed files with 560 additions and 221 deletions

View File

@@ -4,15 +4,16 @@ datalite.constraints module introduces constraint
that can be used to signal datalite decorator
constraints in the database.
"""
from typing import TypeVar, Union, Tuple
from typing import Tuple, TypeVar, Union
T = TypeVar('T')
T = TypeVar("T")
class ConstraintFailedError(Exception):
"""
This exception is raised when a Constraint fails.
"""
pass
@@ -24,3 +25,4 @@ Dataclass fields hinted with this type signals
Unique = Union[Tuple[T], T]
__all__ = ['Unique', 'ConstraintFailedError']