Skip to content

Commit 49961b9

Browse files
committed
ruff + extra
1 parent 0af6137 commit 49961b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dspy/signatures/signature.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class MySignature(dspy.Signature):
2121
import re
2222
import types
2323
import typing
24+
import sys
2425
from copy import deepcopy
2526
from typing import Any, Dict, Optional, Tuple, Type, Union
2627

@@ -61,9 +62,6 @@ def _detect_custom_types_from_caller(signature_str):
6162
For more reliable custom type resolution, explicitly provide types using the
6263
`custom_types` parameter when creating a Signature.
6364
"""
64-
import inspect
65-
import re
66-
import sys
6765

6866
# Extract potential type names from the signature string, including dotted names
6967
# Match both simple types like 'MyType' and dotted names like 'Module.Type'

0 commit comments

Comments
 (0)