oli-python 2.0.7__tar.gz → 2.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oli_python-2.0.7 → oli_python-2.0.8}/PKG-INFO +1 -1
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/core.py +4 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli_python.egg-info/PKG-INFO +1 -1
- {oli_python-2.0.7 → oli_python-2.0.8}/setup.py +1 -1
- {oli_python-2.0.7 → oli_python-2.0.8}/README.md +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/__init__.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/attestation/__init__.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/attestation/offchain.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/attestation/onchain.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/attestation/utils_other.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/attestation/utils_validator.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/data/__init__.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/data/api.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/data/trust.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli/data/utils.py +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli_python.egg-info/SOURCES.txt +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli_python.egg-info/dependency_links.txt +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli_python.egg-info/requires.txt +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/oli_python.egg-info/top_level.txt +0 -0
- {oli_python-2.0.7 → oli_python-2.0.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oli-python
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.8
|
|
4
4
|
Summary: Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.
|
|
5
5
|
Home-page: https://github.com/openlabelsinitiative/oli-python
|
|
6
6
|
Author: Lorenz Lehmann
|
|
@@ -288,6 +288,10 @@ class OLI:
|
|
|
288
288
|
return self.trust.trust_table
|
|
289
289
|
|
|
290
290
|
def add_trust_list(self, owner_name: str='private_node', attesters: list=[], attestations: list=[], attester_address: str='0x0000000000000000000000000000000000000000') -> None:
|
|
291
|
+
# if no trust node set, default to attester_address
|
|
292
|
+
if not hasattr(self, 'source_address') or self.source_address is None:
|
|
293
|
+
self.source_address = attester_address
|
|
294
|
+
|
|
291
295
|
# add the trust list to the trust graph
|
|
292
296
|
success = self.trust.add_trust_list(owner_name, attesters, attestations, attester_address)
|
|
293
297
|
if success:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oli-python
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.8
|
|
4
4
|
Summary: Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.
|
|
5
5
|
Home-page: https://github.com/openlabelsinitiative/oli-python
|
|
6
6
|
Author: Lorenz Lehmann
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="oli-python",
|
|
8
|
-
version="2.0.
|
|
8
|
+
version="2.0.8",
|
|
9
9
|
author="Lorenz Lehmann",
|
|
10
10
|
author_email="lorenz@growthepie.com",
|
|
11
11
|
description="Python SDK for interacting with the Open Labels Initiative; A standard, registry and trust layer for EVM address labels.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|