Skip to content

Commit

Permalink
Update FluentKey.translation type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew000 committed Jul 25, 2024
1 parent 41ddfa8 commit db6018b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ftl_extract/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ class FluentKey:

code_path: Path
key: str
translation: (
ast.Message | ast.Comment | ast.Term | ast.GroupComment | ast.ResourceComment | ast.Junk
)
translation: ast.EntryType
path: Path = field(default=Path("_default.ftl"))
locale: str | None = field(default=None)
position: int | float = field(default=inf)
Expand Down

0 comments on commit db6018b

Please sign in to comment.