Skip to content

Commit 8a5577e

Browse files
committed
Fix circular import issue by forward-declaring classes in flows.py
1 parent dbeba8b commit 8a5577e

File tree

1 file changed

+2
-2
lines changed
  • nemoguardrails/colang/v1_0/runtime

1 file changed

+2
-2
lines changed

nemoguardrails/colang/v1_0/runtime/flows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
"""A simplified modeling of the CoFlows engine."""
1717

18-
import uuid
18+
from __future__ import annotations
19+
1920
from dataclasses import dataclass, field
2021
from enum import Enum
2122
from time import time
@@ -26,7 +27,6 @@
2627

2728
from nemoguardrails.colang.v1_0.runtime.eval import eval_expression
2829
from nemoguardrails.colang.v1_0.runtime.sliding import slide
29-
from nemoguardrails.rails.llm.config import RailsConfig
3030
from nemoguardrails.utils import new_event_dict, new_uuid
3131

3232

0 commit comments

Comments
 (0)