Skip to content

Commit ba14c1c

Browse files
committed
Update setup.py version and update comments
1 parent 4167e11 commit ba14c1c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async def main():
6565
# Gets your service account token from the OP_SERVICE_ACCOUNT_TOKEN environment variable.
6666
token = os.getenv("OP_SERVICE_ACCOUNT_TOKEN")
6767

68-
# Connects to 1Password.
68+
# Connects to 1Password. Fill in your own integration name and version.
6969
client = await Client.authenticate(auth=token, integration_name="My 1Password Integration", integration_version="v1.0.0")
7070

7171
# Retrieves a secret from 1Password. Takes a secret reference as input and returns the secret to which it points.
@@ -79,8 +79,6 @@ if __name__ == '__main__':
7979

8080
Make sure to use [secret reference URIs](https://developer.1password.com/docs/cli/secrets-reference-syntax/) with the syntax `op://vault/item/field` to securely load secrets from 1Password into your code.
8181

82-
Inside `Client.authenticate(...)`, set `integration_name` to the name of your application and `integration_version` to the version of your application.
83-
8482
## 📖 Learn more
8583

8684
- [Load secrets with 1Password SDKs](https://developer.1password.com/docs/sdks/load-secrets)

example/example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async def main():
1111
# Connects to 1Password.
1212
client = await Client.authenticate(
1313
auth=token,
14+
# Set the following to your own integration name and version.
1415
integration_name="My 1Password Integration",
1516
integration_version="v1.0.0",
1617
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_shared_library_data_to_include():
4545

4646
setup(
4747
name="onepassword",
48-
version="0.1.0-beta.1",
48+
version="0.1.0-beta.10",
4949
author="1Password",
5050
description="The 1Password Python SDK offers programmatic read access to your secrets in 1Password in an interface native to Python.",
5151
url="https://github.com/1Password/onepassword-sdk-python",

0 commit comments

Comments
 (0)