Update python/commands/schematic.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user