agentscore-py 2.0.1__tar.gz → 2.0.2__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.
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/PKG-INFO +1 -1
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/types.py +3 -3
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/pyproject.toml +1 -1
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/test_integration.py +5 -2
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/uv.lock +1 -1
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.claude/CLAUDE.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/dependabot.yml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/workflows/ci.yml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/workflows/publish.yml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.github/workflows/security.yml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/.gitignore +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/CODE_OF_CONDUCT.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/CONTRIBUTING.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/LICENSE +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/README.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/SECURITY.md +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/__init__.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/client.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/errors.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/py.typed +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/agentscore/test_mode.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/lefthook.yml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/ruff.toml +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/__init__.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/conftest.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/test_client.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/test_errors.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/test_test_mode.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/tests/test_types.py +0 -0
- {agentscore_py-2.0.1 → agentscore_py-2.0.2}/vulture_whitelist.py +0 -0
|
@@ -355,9 +355,9 @@ DenialCode = Literal[
|
|
|
355
355
|
"wallet_not_trusted",
|
|
356
356
|
"api_error",
|
|
357
357
|
"payment_required",
|
|
358
|
-
# Merchant-emitted convenience codes
|
|
359
|
-
#
|
|
360
|
-
#
|
|
358
|
+
# Merchant-emitted convenience codes — not emitted by the AgentScore API itself,
|
|
359
|
+
# but may appear in 4xx bodies passing through the SDK from merchants whose gate
|
|
360
|
+
# `on_denied` hook wraps AgentScore denials into business-domain codes.
|
|
361
361
|
"operator_verification_required",
|
|
362
362
|
"compliance_denied",
|
|
363
363
|
"compliance_error",
|
|
@@ -5,10 +5,13 @@ import pytest
|
|
|
5
5
|
from agentscore import AgentScore
|
|
6
6
|
|
|
7
7
|
API_KEY = os.environ.get("AGENTSCORE_API_KEY")
|
|
8
|
-
BASE_URL = os.environ.get("AGENTSCORE_BASE_URL"
|
|
8
|
+
BASE_URL = os.environ.get("AGENTSCORE_BASE_URL")
|
|
9
9
|
TEST_ADDRESS = "0x339559a2d1cd15059365fc7bd36b3047bba480e0"
|
|
10
10
|
|
|
11
|
-
pytestmark = pytest.mark.skipif(
|
|
11
|
+
pytestmark = pytest.mark.skipif(
|
|
12
|
+
not (API_KEY and BASE_URL),
|
|
13
|
+
reason="AGENTSCORE_API_KEY and AGENTSCORE_BASE_URL must both be set",
|
|
14
|
+
)
|
|
12
15
|
|
|
13
16
|
|
|
14
17
|
def test_get_reputation_shape():
|
|
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
|
|
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
|