Skip to content

Commit

Permalink
Corrected wrong output type for OutputKeys.from_keys() (run-llama#1…
Browse files Browse the repository at this point in the history
…3086)

* Corrected wrong output type for `OutputKeys.from_keys`. Incremented `core` version to `0.10.32`.

* Revert "Corrected wrong output type for `OutputKeys.from_keys`. Incremented `core` version to `0.10.32`."

This reverts commit 1e63916.

* Corrected wrong output type for `OutputKeys.from_keys`.

* Update query.py

---------

Co-authored-by: Andrei Fajardo <92402603+nerdai@users.noreply.github.com>
  • Loading branch information
brycecf and nerdai authored Apr 25, 2024
1 parent 00f0fea commit 802064a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ class OutputKeys(BaseModel):
def from_keys(
cls,
required_keys: Set[str],
) -> "InputKeys":
"""Create InputKeys from tuple."""
) -> "OutputKeys":
"""Create OutputKeys from tuple."""
return cls(required_keys=required_keys)

def validate(self, input_keys: Set[str]) -> None:
Expand Down

0 comments on commit 802064a

Please sign in to comment.