Skip to content

Commit 01b8d28

Browse files
committed
Fix build
1 parent f1bdebd commit 01b8d28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/onepassword/items.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from json import loads
55
from .iterator import SDKIterator
66
from .items_share import ItemsShare
7-
from .types import Item, ItemCreateParams, ItemOverview, Option
7+
from .types import Item, ItemCreateParams, ItemOverview
88

99

1010
class Items:
@@ -50,7 +50,7 @@ async def get(self, vault_id: str, item_id: str) -> Item:
5050
)
5151
return Item.model_validate_json(response)
5252

53-
async def get_all(self, vault_id: str, item_ids: list[str]) -> list[Option]:
53+
async def get_all(self, vault_id: str, item_ids: list[str]) -> list[Item]:
5454
"""
5555
Get items by vault and their item IDs.
5656
"""
@@ -67,7 +67,7 @@ async def get_all(self, vault_id: str, item_ids: list[str]) -> list[Option]:
6767
)
6868

6969
response = loads(response)
70-
response = [Option.model_validate(data) for data in response]
70+
response = [Item.model_validate(data) for data in response]
7171
return response
7272

7373
async def put(self, item: Item) -> Item:

0 commit comments

Comments
 (0)