mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-08-04 15:44:09 +00:00
fix: restore static type hints for FixtureRegistry, load_fixtures, load_fixtures_by_context lost in lazy-import refactor (#347)
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
"""Fixture system for seeding databases with dependency resolution."""
|
"""Fixture system for seeding databases with dependency resolution."""
|
||||||
|
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from .enum import Context, LoadStrategy
|
from .enum import Context, LoadStrategy
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from .registry import FixtureRegistry
|
||||||
|
from .utils import load_fixtures, load_fixtures_by_context
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Context",
|
"Context",
|
||||||
"FixtureRegistry",
|
"FixtureRegistry",
|
||||||
|
|||||||
Reference in New Issue
Block a user