Skip to content

Commit

Permalink
fix functions return
Browse files Browse the repository at this point in the history
  • Loading branch information
korgan00 committed Oct 22, 2024
1 parent 8ae9093 commit 1b7e308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/qiskit_serverless/core/clients/local_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def upload(self, program: QiskitFunction) -> Optional[RunnableQiskitFunction]:

def functions(self, **kwargs) -> List[RunnableQiskitFunction]:
"""Returns list of programs."""
return [QiskitFunction.from_json(program) for program in self._patterns]
return [RunnableQiskitFunction.from_json(program) for program in self._patterns]

def function(
self, title: str, provider: Optional[str] = None
Expand Down

0 comments on commit 1b7e308

Please sign in to comment.