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
2 changes: 1 addition & 1 deletion example/desktop_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async def main():
# Connects to the 1Password desktop app.
client = await Client.authenticate(
auth=DesktopAuth(
account_name="YourAccountNameAsShownInTheDesktopApp" # Set to your 1Password account name.
account_name="YourAccountNameAsShownInTheDesktopApp" # Set to your 1Password account name as shown at the top left sidebar of the app.
),
# Set the following to your own integration name and version.
integration_name="My 1Password Integration",
Expand Down
2 changes: 1 addition & 1 deletion src/onepassword/desktop_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import platform
import base64
from pathlib import Path
from ctypes import c_uint8, c_size_t, c_int32, POINTER, byref, c_void_p

Check failure on line 7 in src/onepassword/desktop_core.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F401)

src/onepassword/desktop_core.py:7:64: F401 `ctypes.c_void_p` imported but unused

Check failure on line 7 in src/onepassword/desktop_core.py

View workflow job for this annotation

GitHub Actions / Lint

Ruff (F401)

src/onepassword/desktop_core.py:7:64: F401 `ctypes.c_void_p` imported but unused
from onepassword.errors import raise_typed_exception


Expand Down Expand Up @@ -86,7 +86,7 @@
)

if ret != 0:
raise RuntimeError(f"send_message failed with code {ret}. Please make sure the Desktop app integration setting is enabled, or contact 1Password support.")
raise RuntimeError(f"send_message failed with code {ret}. In the 1Password desktop app, make sure Settings > Developer > Integrate with other apps is enabled, or contact 1Password support.")

# Copy bytes into Python
data = ctypes.string_at(out_buf, out_len.value)
Expand Down
Loading