Skip to content

Commit

Permalink
fix: add future annotations import to synonym generators
Browse files Browse the repository at this point in the history
  • Loading branch information
sokovninn committed Mar 6, 2024
1 parent 294467c commit 01f10d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datadreamer/prompt_generation/lm_synonym_generator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import re
from typing import List, Optional

Expand Down
2 changes: 2 additions & 0 deletions datadreamer/prompt_generation/wordnet_synonym_generator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import List, Optional

import nltk
Expand Down

0 comments on commit 01f10d2

Please sign in to comment.