Closed
Description
Scenario & Reproduction Steps
Seems any time I try to list vaults or list items using the docs' suggestions, I'm thrown an attribute error related to model_validate for both items and vaults.
pip install git+https://github.com/1Password/[email protected]#egg=onepassword
import asyncio
from onepassword.client import Client
async def get_items():
client = await Client.authenticate(auth=token, integration_name="secret_loader", integration_version="v1.0.0")
vaults = await client.vaults.list_all()
async for vault in vaults:
print(vault.title)
items = await client.items.list_all(vault.id)
async for item in items:
print(item.title)
asyncio.run(get_items())
Actual Behavior
AttributeError: type object 'VaultOverview' has no attribute 'model_validate'
Expected Behavior
I'm expecting to retrieve information related to vaults and items in them that are associated with my account
SDK version
No response
Additional information
No response