Skip to content

Commit

Permalink
refactor: Lint agents-api (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorrr authored and github-actions[bot] committed Oct 18, 2024
1 parent 6ea7aa0 commit 7e9b120
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion agents-api/agents_api/common/protocol/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
WorkflowStep,
)
from ...common.storage_handler import load_from_blob_store_if_remote

from .remote import BaseRemoteModel, RemoteObject

# TODO: Maybe we should use a library for this
Expand Down
2 changes: 0 additions & 2 deletions agents-api/agents_api/common/storage_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def load_args(
new_kwargs = {}

for k, v in kwargs.items():

if isinstance(v, list):
new_kwargs[k] = [
load_from_blob_store_if_remote(item) for item in v
Expand All @@ -93,7 +92,6 @@ def load_args(

return new_args, new_kwargs


def unload_return_value(x: Any | BaseRemoteModel | RemoteList) -> Any:
if isinstance(x, (BaseRemoteModel, RemoteList)):
x.unload_all()
Expand Down

0 comments on commit 7e9b120

Please sign in to comment.