spot-sdk-python 2.1.1__tar.gz → 2.1.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.
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/PKG-INFO +1 -1
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/pyproject.toml +1 -1
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/pyproject.toml.orig +1 -1
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/mime.py +6 -2
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/README.md +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/__init__.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/_json.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/app.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/artifacts.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/clients.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/config.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/correlation.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/email.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/errors.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/hosting.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/knowledge.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/knowledge_tags.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/llm.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/logging.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/manifest.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/model_input.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/orchestrator.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/proxy.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/py.typed +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/retriever.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/settings.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/signals.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/README.md +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/__init__.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/container.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/contract.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/corpus.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/engine.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/fake_knowledge_client.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/fake_llm.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/fake_spot.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/metrics.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/report.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/settings.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/testing/views.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/urls.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/verdict.py +0 -0
- {spot_sdk_python-2.1.1 → spot_sdk_python-2.1.2}/spot_sdk/workflow.py +0 -0
|
@@ -1757,8 +1757,12 @@ def _decoded(label: str) -> str:
|
|
|
1757
1757
|
def _addresses(value: str, cut: _Cutter, punycode: _Punycode) -> Iterator[Address]:
|
|
1758
1758
|
"""The mailboxes of an address header, each string cut to its budget, each
|
|
1759
1759
|
domain's A-labels decoded within ``punycode``; a value that does not parse
|
|
1760
|
-
is kept whole
|
|
1761
|
-
|
|
1760
|
+
is kept whole, as is one whose comments or groups nest deeper than
|
|
1761
|
+
``getaddresses`` can recurse (spot/sdk#33)."""
|
|
1762
|
+
try:
|
|
1763
|
+
mailboxes = getaddresses([value])
|
|
1764
|
+
except RecursionError:
|
|
1765
|
+
mailboxes = []
|
|
1762
1766
|
if not mailboxes or not all("@" in address for _, address in mailboxes):
|
|
1763
1767
|
value = value.strip()
|
|
1764
1768
|
if value:
|
|
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
|
|
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
|