Skip to content

Commit be88830

Browse files
Aryamanz29claude
andcommitted
fix: Add type annotation to render_mkdocs_docs to fix mypy note
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b726fd2 commit be88830

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyatlan/generator/class_generator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import re
1414
from enum import Enum
1515
from pathlib import Path
16+
from collections.abc import Iterable
1617
from typing import Any, Dict, List, NamedTuple, Optional, Set
1718

1819
import networkx as nx
@@ -975,7 +976,7 @@ def render_docs_entity_relationships(self, entity_defs):
975976
) as doc:
976977
doc.write(content)
977978

978-
def render_mkdocs_docs(self, asset_infos):
979+
def render_mkdocs_docs(self, asset_infos: "Iterable[AssetInfo]") -> None:
979980
"""Generate docs/api/assets/*.md pages grouped by connector/platform."""
980981
# Map module_name → AssetInfo for all generated assets (excluding internal ones)
981982
by_module: Dict[str, List["AssetInfo"]] = {}

0 commit comments

Comments
 (0)