Coverage for src/fluree_py/types/http/history.py: 100%
7 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-02 03:03 +0000
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-02 03:03 +0000
1from typing import TypeAlias
2from fluree_py.types.common import Subject
4# History Clause
5PropertyConstraint: TypeAlias = str
6PropertyConstraintClause: TypeAlias = tuple[
7 Subject | None, PropertyConstraint
8]
10ObjectConstraint: TypeAlias = str
11ObjectConstraintClause: TypeAlias = tuple[
12 Subject | None, PropertyConstraint, ObjectConstraint
13]
15HistoryClause: TypeAlias = (
16 Subject | PropertyConstraintClause | ObjectConstraintClause
17)