Skip to content

Commit 349591f

Browse files
author
Val Brodsky
committed
Add experimental warnings
1 parent b79b11a commit 349591f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/labelbox/src/labelbox/schema/tool_building/fact_checking_tool.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import warnings
12
from dataclasses import dataclass, field
23
from enum import Enum
34
from typing import Any, Dict, List, Optional
@@ -162,6 +163,11 @@ class FactCheckingTool:
162163
default_factory=FactCheckingDefinition
163164
)
164165

166+
def __post_init__(self):
167+
warnings.warn(
168+
"This feature is experimental and subject to change.",
169+
)
170+
165171
def set_unsupported_step_actions(
166172
self, actions: List[UnsupportedStepActions]
167173
) -> None:

0 commit comments

Comments
 (0)