Skip to content

Commit

Permalink
Fix type hint in Command class
Browse files Browse the repository at this point in the history
  • Loading branch information
Argmaster committed Feb 2, 2025
1 parent 64fdf4b commit f9dc026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pygerber/vm/commands/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

from abc import abstractmethod
from typing import TYPE_CHECKING, Optional
from typing import TYPE_CHECKING, Dict, Optional

from pydantic import Field

Expand All @@ -16,7 +16,7 @@
class Command(ModelType):
"""Base class for drawing commands."""

metadata: Optional[dict[str, str]] = Field(default=None)
metadata: Optional[Dict[str, str]] = Field(default=None)

@abstractmethod
def visit(self, visitor: CommandVisitor) -> None:
Expand Down

0 comments on commit f9dc026

Please sign in to comment.