/ src / griffe_pydantic / __init__.py
__init__.py
 1  """griffe-pydantic package.
 2  
 3  Griffe extension for Pydantic.
 4  """
 5  
 6  from __future__ import annotations
 7  
 8  from pathlib import Path
 9  
10  from griffe_pydantic._internal.extension import PydanticExtension
11  
12  
13  def get_templates_path() -> Path:
14      """Return the templates directory path."""
15      return Path(__file__).parent / "templates"
16  
17  
18  __all__: list[str] = ["PydanticExtension", "get_templates_path"]