Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/onepassword/lib/aarch64/libop_uniffi_core.dylib
Binary file not shown.
Binary file modified src/onepassword/lib/aarch64/libop_uniffi_core.so
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/libop_uniffi_core.dylib
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/libop_uniffi_core.so
Binary file not shown.
Binary file modified src/onepassword/lib/x86_64/op_uniffi_core.dll
Binary file not shown.
11 changes: 9 additions & 2 deletions src/onepassword/vaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
def __init__(self, inner_client: InnerClient):
self.inner_client = inner_client

async def list(self, params: Optional[VaultListParams] = None) -> List[VaultOverview]:
async def list(
self, params: Optional[VaultListParams] = None
) -> List[VaultOverview]:
"""
List information about vaults that's configurable based on some input parameters.
"""
Expand All @@ -31,7 +33,12 @@
"clientId": self.inner_client.client_id,
"parameters": {
"name": "VaultsList",
"parameters": {"params": params.model_dump(by_alias=True) if params else None},
"parameters": {
"params": (
params.model_dump(
by_alias=True) if params else None
)
},
},
}
}
Expand Down Expand Up @@ -78,7 +85,7 @@
async def grant_group_permissions(
self, vault_id: str, group_permissions_list: List[GroupAccess]
) -> None:
response = await self.inner_client.invoke(

Check failure on line 88 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:88:9: F841 Local variable `response` is assigned to but never used

Check failure on line 88 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:88:9: F841 Local variable `response` is assigned to but never used
{
"invocation": {
"clientId": self.inner_client.client_id,
Expand All @@ -101,7 +108,7 @@
async def update_group_permissions(
self, group_permissions_list: List[GroupVaultAccess]
) -> None:
response = await self.inner_client.invoke(

Check failure on line 111 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:111:9: F841 Local variable `response` is assigned to but never used

Check failure on line 111 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:111:9: F841 Local variable `response` is assigned to but never used
{
"invocation": {
"clientId": self.inner_client.client_id,
Expand All @@ -121,7 +128,7 @@
return None

async def revoke_group_permissions(self, vault_id: str, group_id: str) -> None:
response = await self.inner_client.invoke(

Check failure on line 131 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:131:9: F841 Local variable `response` is assigned to but never used

Check failure on line 131 in src/onepassword/vaults.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F841)

src/onepassword/vaults.py:131:9: F841 Local variable `response` is assigned to but never used
{
"invocation": {
"clientId": self.inner_client.client_id,
Expand Down
Loading