Skip to content

Commit d4982b8

Browse files
committed
add ipython snippet for item_share
1 parent 3435b65 commit d4982b8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ipython_snippets/item_share.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import os
2+
3+
from _util.functions import get_op
4+
from dotenv import load_dotenv
5+
6+
from pyonepassword import OP
7+
from pyonepassword.api.exceptions import OPCmdFailedException # noqa: F401
8+
9+
os.environ["LOG_OP_ERR"] = "1"
10+
# load_dotenv("./dot_env_files/.env_pyonepassword_test_rw")
11+
12+
13+
item_name = "Example Login Item 22"
14+
vault = "Test Data 1"
15+
16+
op = OP()
17+
print(open(__file__, "r").read())

0 commit comments

Comments
 (0)