Skip to content

Commit

Permalink
cleanup: missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Aug 27, 2024
1 parent bf01f16 commit 420a5b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion weave/legacy/weave/ref_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

if typing.TYPE_CHECKING:
from weave.legacy.weave import weave_types as types
from ..trace import weave_client
from ...trace import weave_client


def _map_to_ref_strs(obj: typing.Any) -> typing.Any:
Expand Down
2 changes: 1 addition & 1 deletion weave/trace/box.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import numpy as np

from weave.legacy.weave.ref_base import Ref
from weave.trace.refs import Ref

T = TypeVar("T")

Expand Down
2 changes: 1 addition & 1 deletion weave/trace/op_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
get_class_source,
is_running_interactively,
)
from weave.trace.op import Op
from weave.trace.refs import ObjectRef

from ..legacy.weave import environment
from . import serializer
from .op import Op

WEAVE_OP_PATTERN = re.compile(r"@weave\.op(\(\))?")
WEAVE_OP_NO_PAREN_PATTERN = re.compile(r"@weave\.op(?!\()")
Expand Down

0 comments on commit 420a5b9

Please sign in to comment.