fluent.syntax.ast.Visitor could use `ignore_fields` option
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- internationalization
Research direction
Start by locating fluent.syntax.ast.BaseNode.equals and the Visitor implementation, then inspect how Visitor enumerates properties before reaching Span or Annotation nodes. Add the ignore_fields behavior at that enumeration point and verify that annotations and spans are skipped while other properties remain visited.
Written by the indexing model from the issue text.
Description
In BaseNode.equals, we have an ignore_fields option. That'd also be nice for Visitor, as it would allow a visitor to skip annotations and spans at the point of enumerating the properties, which is one or two cycles before actually going in to the Span or Annotation nodes, where we can handle them right now.
- Dominant language
- Python
- Stars
- 245
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from projectfluent/python-fluent
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
projectfluent/python-fluent#221 ·
-
Outdated releases Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
projectfluent/python-fluent#219 · 1 comment · 6 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
projectfluent/python-fluent#172 · 1 reaction ·
-
bug fluent.runtime help wanted
Difficulty 3/5 1-2 days Newbie friendliness 35/100
projectfluent/python-fluent#170 · 1 comment ·
-
bug fluent.runtime help wanted
Difficulty 3/5 1-2 days Newbie friendliness 45/100
projectfluent/python-fluent#169 · 3 reactions ·
All issues in projectfluent/python-fluent
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·