Skip to content

Commit

Permalink
deprecated list function correction
Browse files Browse the repository at this point in the history
  • Loading branch information
korgan00 committed Oct 11, 2024
1 parent ba6684c commit 2140199
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/qiskit_serverless/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ def get(
)
return self.get_function(title, provider=provider)

def list(
self, title: str, provider: Optional[str] = None
) -> Optional[QiskitFunction]:
def list(self, **kwargs) -> List[QiskitFunction]:
warnings.warn(
"`list` method has been deprecated. "
"And will be removed in future releases. "
Expand Down

0 comments on commit 2140199

Please sign in to comment.