21 lines
516 B
Python
21 lines
516 B
Python
"""
|
|
Extractors - Extract model definitions from existing codebases.
|
|
|
|
Supported frameworks:
|
|
- Django: Extract from Django ORM models
|
|
- SQLAlchemy: Extract from SQLAlchemy models (planned)
|
|
- Prisma: Extract from Prisma schema (planned)
|
|
"""
|
|
|
|
from typing import Dict, Type
|
|
|
|
from .base import BaseExtractor
|
|
from .django import DjangoExtractor
|
|
|
|
# Registry of available extractors
|
|
EXTRACTORS: Dict[str, Type[BaseExtractor]] = {
|
|
"django": DjangoExtractor,
|
|
}
|
|
|
|
__all__ = ["BaseExtractor", "DjangoExtractor", "EXTRACTORS"]
|