Update python/commands/schematic.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Tom
2026-04-18 14:31:22 +02:00
committed by GitHub
parent 75a0b764d5
commit 56e6aead88

View File

@@ -13,7 +13,7 @@ class SchematicManager:
"""Core schematic operations using kicad-skip""" """Core schematic operations using kicad-skip"""
@staticmethod @staticmethod
def create_schematic(name: str, path: Optional[str] = None, metadata: Optional[Any] = None) -> Any: def create_schematic(name: str, metadata: Optional[Any] = None, *, path: Optional[str] = None) -> Any:
"""Create a new empty schematic from template""" """Create a new empty schematic from template"""
try: try:
# Determine template path (use template_with_symbols for component cloning support) # Determine template path (use template_with_symbols for component cloning support)