Skip to content

Commit

Permalink
fix: Resolved TypeError for list[any]
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Oct 24, 2024
1 parent c8452e4 commit 859549d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def get_code(self, key:str, version:str=None):
data["version"] = version
return self._send_request("POST", "/get_code_of_scope", data)

def langchain(self, prefix:str=None, version:str=None)-> list[any]:
def langchain(self, prefix:str=None, version:str=None)-> List[any]:
from langchain.tools import tool

all_functions = []
Expand Down

0 comments on commit 859549d

Please sign in to comment.