Coverage for src/paperap/models/mixins/models.py: 100%
7 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-22 16:02 -0400
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-22 16:02 -0400
1"""
5----------------------------------------------------------------------------
7METADATA:
9File: models.py
10 Project: paperap
11Created: 2025-03-09
12 Version: 0.0.9
13Author: Jess Mann
14Email: jess@jmann.me
15 Copyright (c) 2025 Jess Mann
17----------------------------------------------------------------------------
19LAST MODIFIED:
212025-03-09 By Jess Mann
23"""
25from __future__ import annotations
27from pydantic import Field
29from paperap.const import MatchingAlgorithmType
32class MatcherMixin:
33 match: str | None = None
34 matching_algorithm: MatchingAlgorithmType | None = Field(default=None, ge=MatchingAlgorithmType.UNKNOWN, le=7)
35 is_insensitive: bool | None = None