Skip to content

Commit c8589e0

Browse files
committed
Inject core in all places needed
1 parent 155545b commit c8589e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def main():
1717

1818
# Connects to 1Password.
1919
client = await Client.authenticate(
20-
auth=DesktopAuth("AndiTituTest"),
20+
auth=token,
2121
# Set the following to your own integration name and version.
2222
integration_name="My 1Password Integration",
2323
integration_version="v1.0.0",

src/onepassword/items.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class Items:
1515
def __init__(self, client_id, core):
1616
self.client_id = client_id
1717
self.core = core
18-
self.shares = ItemsShares(client_id)
19-
self.files = ItemsFiles(client_id)
18+
self.shares = ItemsShares(client_id, core)
19+
self.files = ItemsFiles(client_id, core)
2020

2121
async def create(self, params: ItemCreateParams) -> Item:
2222
"""

0 commit comments

Comments
 (0)