Skip to content

Commit

Permalink
Add core changes for restructue
Browse files Browse the repository at this point in the history
  • Loading branch information
MOmarMiraj committed Oct 9, 2024
1 parent 031af57 commit 6f2997c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/onepassword/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ async def _init_client(client_config):
async def _invoke(invoke_config):
return await core.invoke(json.dumps(invoke_config))

# Invoke calls specified business logic from the SDK core.
def _sync_invoke(invoke_config):
return core.sync_invoke(json.dumps(invoke_config))


# ReleaseClient releases memory in the SDK core associated with the given client ID.
def _release_client(client_id):
Expand Down

0 comments on commit 6f2997c

Please sign in to comment.