Skip to content

Commit

Permalink
Prevent import reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasahle committed Mar 6, 2024
1 parent 6c91b2c commit e16373b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dspy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import dsp
from dsp.modules.hf_client import ChatModuleClient, HFClientSGLang, HFClientVLLM, HFServerTGI

# Functional must be imported after primitives, predict and signatures
from .functional import *
from .predict import *
from .primitives import *
from .retrieve import *
from .signatures import *

####
# Functional must be imported after primitives, predict and signatures
from .functional import * # isort: skip

settings = dsp.settings

Expand Down

0 comments on commit e16373b

Please sign in to comment.