Skip to content

Commit

Permalink
move to legacy: server_error_handling
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Aug 27, 2024
1 parent 9a62572 commit 328d7cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion weave/legacy/io_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
engine_trace,
errors,
filesystem,
server_error_handling,
weave_http,
)
from weave.legacy import (
server_error_handling,
artifact_wandb,
async_queue,
cache,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from werkzeug import exceptions as werkzeug_exceptions
from werkzeug import http as werkzeug_http

from . import errors, util
from .. import errors, util


class WeaveInternalHttpException(werkzeug_exceptions.HTTPException):
Expand Down
2 changes: 1 addition & 1 deletion weave/weave_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import requests.auth
import yarl

from weave import server_error_handling
from weave.legacy import server_error_handling

from . import engine_trace, filesystem

Expand Down
2 changes: 1 addition & 1 deletion weave/weave_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
weavejs_fixes,
)
from weave.legacy.language_features.tagging import tag_store
from weave.server_error_handling import client_safe_http_exceptions_as_werkzeug
from weave.legacy.server_error_handling import client_safe_http_exceptions_as_werkzeug

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 328d7cd

Please sign in to comment.