This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
import logging | |
import os | |
import mmap | |
import time | |
from collections.abc import Sequence | |
from struct import pack, unpack | |
LOG = logging.getLogger(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
from collections.abc import Collection | |
from pathlib import Path | |
from typing import Optional, Type, Any, Literal, Union, Annotated | |
from typing_extensions import Self | |
from pydantic import ValidationError | |
from pydantic.fields import AliasChoices, Field | |
from pydantic_settings import ( | |
BaseSettings, | |
PydanticBaseSettingsSource, |
OlderNewer