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 3a87367 commit cfb0c3d
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 cfb0c3d

Please sign in to comment.