atonode-sdk 0.3.0__tar.gz → 0.3.1__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.
- {atonode_sdk-0.3.0/src/atonode_sdk.egg-info → atonode_sdk-0.3.1}/PKG-INFO +14 -4
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/README.md +13 -3
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/RELEASE.md +11 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/pyproject.toml +1 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1/src/atonode_sdk.egg-info}/PKG-INFO +14 -4
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/__init__.py +1 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/client.py +3 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/config.py +1 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/data.py +1 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/transport.py +1 -1
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_atonode.py +21 -2
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/.github/workflows/ci.yml +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/LICENSE +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/MANIFEST.in +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/examples/background.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/examples/stream_recording.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/examples/webots_controller.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/setup.cfg +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode/__init__.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode/py.typed +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode_sdk.egg-info/SOURCES.txt +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode_sdk.egg-info/dependency_links.txt +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode_sdk.egg-info/requires.txt +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/atonode_sdk.egg-info/top_level.txt +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/_types.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/datasets.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/errors.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/experiences.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/models.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/py.typed +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/realtime.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/recording.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/storage.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/src/exprts_ai/sync.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_datasets.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_experiences.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_realtime.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_recording.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_response_contracts.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_sdk.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/test_sync.py +0 -0
- {atonode_sdk-0.3.0 → atonode_sdk-0.3.1}/tests/webots_smoke.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atonode_sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Atonode robot connectivity, recording and data SDK
|
|
5
5
|
Author: Atonode
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -21,11 +21,11 @@ Requires-Dist: ruff>=0.11; extra == "dev"
|
|
|
21
21
|
Requires-Dist: mypy>=1.15; extra == "dev"
|
|
22
22
|
Dynamic: license-file
|
|
23
23
|
|
|
24
|
-
> Atonode 0.3.
|
|
24
|
+
> Atonode 0.3.1 is prepared locally and has not been published. Install this checkout with `python -m pip install ./packages/python-sdk` from the platform root. After publication, the distribution name will be `atonode_sdk`. Existing `exprts-ai` releases remain available under their original name.
|
|
25
25
|
|
|
26
26
|
# Atonode Python SDK
|
|
27
27
|
|
|
28
|
-
SDK v0.3.
|
|
28
|
+
SDK v0.3.1 (unpublished), for Python 3.10+. Distribution: **atonode_sdk**. Import: **atonode**. No runtime dependencies.
|
|
29
29
|
|
|
30
30
|
Previous releases are published on [PyPI](https://pypi.org/project/exprts-ai/0.2.0/). Source and quick-start documentation: [Wardieo/exprts-python-sdk](https://github.com/Wardieo/exprts-python-sdk).
|
|
31
31
|
|
|
@@ -38,7 +38,7 @@ Version 0.2.0 adds project tables, streams and recording policies, verified stor
|
|
|
38
38
|
Register a robot in the customer dashboard and generate its **device credential**. A project API key cannot authenticate a device. Identity is determined by the server; do not supply robot or project IDs.
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
python -m pip install
|
|
41
|
+
python -m pip install ./packages/python-sdk
|
|
42
42
|
export ATONODE_API_URL=https://api.atonode.com
|
|
43
43
|
read -rs -p 'Device credential: ' ATONODE_DEVICE_TOKEN
|
|
44
44
|
export ATONODE_DEVICE_TOKEN
|
|
@@ -181,3 +181,13 @@ New applications use `from atonode import AtonodeClient` and `AtonodeError`. Pro
|
|
|
181
181
|
Configuration priority is explicit constructor arguments, then `ATONODE_API_URL` / `ATONODE_DEVICE_TOKEN`, then their legacy `EXPRTS_*` equivalents. An explicitly empty new setting does not fall back to a legacy credential. The default API origin is `https://api.atonode.com`. Existing token formats and webhook headers remain unchanged.
|
|
182
182
|
|
|
183
183
|
Official SDK product: **Atonode Python SDK**. The new GitHub repository name is **`atonode-python-sdk`**. The existing source URL remains in use until the remote repository is renamed; local configuration does not rename the hosted repository. The future robot agent is **Atonode Agent**.
|
|
184
|
+
|
|
185
|
+
## Atonode credential prefixes
|
|
186
|
+
|
|
187
|
+
Newly issued project API keys use `atonode_sk_`; robot credentials use `atonode_dev_`. The local SDK accepts these and existing legacy credentials. Published SDK 0.3.0 does not accept the new prefixes: install this checkout until the next SDK release is published. Existing credentials remain valid; never edit a credential prefix manually because the entire credential is authenticated. Rotate credentials through the dashboard after upgrading clients to obtain the new prefixes.
|
|
188
|
+
|
|
189
|
+
## Upgrade robots for 0.3.1
|
|
190
|
+
|
|
191
|
+
Version 0.3.0 is published; 0.3.1 is prepared locally and adds Atonode-prefixed credential support. Until publication, install this checkout with the robot interpreter: `/absolute/path/to/my_project/.venv/bin/python -m pip install /absolute/path/to/atonode/packages/python-sdk`. After publication use `python -m pip install --upgrade atonode_sdk==0.3.1`. Verify with `python -c "from atonode import __version__; print(__version__)"`. Configure Webots to use that virtual environment's Python executable.
|
|
192
|
+
|
|
193
|
+
Set `ATONODE_API_URL=http://localhost:8000` for the local backend (use the operator's HTTPS origin for deployment), `ATONODE_DEVICE_TOKEN` for the robot credential and `ATONODE_API_KEY` for the camera example's project key. Project clients take `api_key` explicitly; they do not automatically read this setting. The camera example accepts `.atonode-local.json` in the Webots project root and falls back to the existing local configuration. Keep credentials private. Upgrade clients before rotating credentials; do not edit their prefixes manually.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
> Atonode 0.3.
|
|
1
|
+
> Atonode 0.3.1 is prepared locally and has not been published. Install this checkout with `python -m pip install ./packages/python-sdk` from the platform root. After publication, the distribution name will be `atonode_sdk`. Existing `exprts-ai` releases remain available under their original name.
|
|
2
2
|
|
|
3
3
|
# Atonode Python SDK
|
|
4
4
|
|
|
5
|
-
SDK v0.3.
|
|
5
|
+
SDK v0.3.1 (unpublished), for Python 3.10+. Distribution: **atonode_sdk**. Import: **atonode**. No runtime dependencies.
|
|
6
6
|
|
|
7
7
|
Previous releases are published on [PyPI](https://pypi.org/project/exprts-ai/0.2.0/). Source and quick-start documentation: [Wardieo/exprts-python-sdk](https://github.com/Wardieo/exprts-python-sdk).
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Version 0.2.0 adds project tables, streams and recording policies, verified stor
|
|
|
15
15
|
Register a robot in the customer dashboard and generate its **device credential**. A project API key cannot authenticate a device. Identity is determined by the server; do not supply robot or project IDs.
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
python -m pip install
|
|
18
|
+
python -m pip install ./packages/python-sdk
|
|
19
19
|
export ATONODE_API_URL=https://api.atonode.com
|
|
20
20
|
read -rs -p 'Device credential: ' ATONODE_DEVICE_TOKEN
|
|
21
21
|
export ATONODE_DEVICE_TOKEN
|
|
@@ -158,3 +158,13 @@ New applications use `from atonode import AtonodeClient` and `AtonodeError`. Pro
|
|
|
158
158
|
Configuration priority is explicit constructor arguments, then `ATONODE_API_URL` / `ATONODE_DEVICE_TOKEN`, then their legacy `EXPRTS_*` equivalents. An explicitly empty new setting does not fall back to a legacy credential. The default API origin is `https://api.atonode.com`. Existing token formats and webhook headers remain unchanged.
|
|
159
159
|
|
|
160
160
|
Official SDK product: **Atonode Python SDK**. The new GitHub repository name is **`atonode-python-sdk`**. The existing source URL remains in use until the remote repository is renamed; local configuration does not rename the hosted repository. The future robot agent is **Atonode Agent**.
|
|
161
|
+
|
|
162
|
+
## Atonode credential prefixes
|
|
163
|
+
|
|
164
|
+
Newly issued project API keys use `atonode_sk_`; robot credentials use `atonode_dev_`. The local SDK accepts these and existing legacy credentials. Published SDK 0.3.0 does not accept the new prefixes: install this checkout until the next SDK release is published. Existing credentials remain valid; never edit a credential prefix manually because the entire credential is authenticated. Rotate credentials through the dashboard after upgrading clients to obtain the new prefixes.
|
|
165
|
+
|
|
166
|
+
## Upgrade robots for 0.3.1
|
|
167
|
+
|
|
168
|
+
Version 0.3.0 is published; 0.3.1 is prepared locally and adds Atonode-prefixed credential support. Until publication, install this checkout with the robot interpreter: `/absolute/path/to/my_project/.venv/bin/python -m pip install /absolute/path/to/atonode/packages/python-sdk`. After publication use `python -m pip install --upgrade atonode_sdk==0.3.1`. Verify with `python -c "from atonode import __version__; print(__version__)"`. Configure Webots to use that virtual environment's Python executable.
|
|
169
|
+
|
|
170
|
+
Set `ATONODE_API_URL=http://localhost:8000` for the local backend (use the operator's HTTPS origin for deployment), `ATONODE_DEVICE_TOKEN` for the robot credential and `ATONODE_API_KEY` for the camera example's project key. Project clients take `api_key` explicitly; they do not automatically read this setting. The camera example accepts `.atonode-local.json` in the Webots project root and falls back to the existing local configuration. Keep credentials private. Upgrade clients before rotating credentials; do not edit their prefixes manually.
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# Atonode Python SDK 0.3.1 release preparation
|
|
2
|
+
|
|
3
|
+
Status: prepared locally, not published. Distribution: `atonode_sdk`; import: `atonode`. Repository: https://github.com/Wardieo/atonode-python-sdk.
|
|
4
|
+
|
|
5
|
+
- Accept `atonode_dev_` robot credentials and `atonode_sk_` project API keys.
|
|
6
|
+
- Preserve existing credentials and reject credential material in client metadata.
|
|
7
|
+
- Report SDK version 0.3.1 in device metadata and HTTP User-Agent.
|
|
8
|
+
- Upgrade robot virtual environments before rotating credentials. See README upgrade instructions.
|
|
9
|
+
|
|
10
|
+
Push reviewed SDK changes, wait for supported Python CI jobs, then publish GitHub release `v0.3.1` to trigger `publish.yml`. Verify a fresh PyPI installation and real robot authentication, heartbeat and upload before marking acceptance complete. Historical records follow.
|
|
11
|
+
|
|
1
12
|
# SDK v0.1.0 release preparation
|
|
2
13
|
|
|
3
14
|
Released on 2026-12-01 through local Twine upload. Repository: https://github.com/Wardieo/exprts-python-sdk. PyPI: https://pypi.org/project/exprts-ai/0.1.0/. Keep the main platform repository private. The steps below remain a checklist for future releases.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atonode_sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Atonode robot connectivity, recording and data SDK
|
|
5
5
|
Author: Atonode
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -21,11 +21,11 @@ Requires-Dist: ruff>=0.11; extra == "dev"
|
|
|
21
21
|
Requires-Dist: mypy>=1.15; extra == "dev"
|
|
22
22
|
Dynamic: license-file
|
|
23
23
|
|
|
24
|
-
> Atonode 0.3.
|
|
24
|
+
> Atonode 0.3.1 is prepared locally and has not been published. Install this checkout with `python -m pip install ./packages/python-sdk` from the platform root. After publication, the distribution name will be `atonode_sdk`. Existing `exprts-ai` releases remain available under their original name.
|
|
25
25
|
|
|
26
26
|
# Atonode Python SDK
|
|
27
27
|
|
|
28
|
-
SDK v0.3.
|
|
28
|
+
SDK v0.3.1 (unpublished), for Python 3.10+. Distribution: **atonode_sdk**. Import: **atonode**. No runtime dependencies.
|
|
29
29
|
|
|
30
30
|
Previous releases are published on [PyPI](https://pypi.org/project/exprts-ai/0.2.0/). Source and quick-start documentation: [Wardieo/exprts-python-sdk](https://github.com/Wardieo/exprts-python-sdk).
|
|
31
31
|
|
|
@@ -38,7 +38,7 @@ Version 0.2.0 adds project tables, streams and recording policies, verified stor
|
|
|
38
38
|
Register a robot in the customer dashboard and generate its **device credential**. A project API key cannot authenticate a device. Identity is determined by the server; do not supply robot or project IDs.
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
python -m pip install
|
|
41
|
+
python -m pip install ./packages/python-sdk
|
|
42
42
|
export ATONODE_API_URL=https://api.atonode.com
|
|
43
43
|
read -rs -p 'Device credential: ' ATONODE_DEVICE_TOKEN
|
|
44
44
|
export ATONODE_DEVICE_TOKEN
|
|
@@ -181,3 +181,13 @@ New applications use `from atonode import AtonodeClient` and `AtonodeError`. Pro
|
|
|
181
181
|
Configuration priority is explicit constructor arguments, then `ATONODE_API_URL` / `ATONODE_DEVICE_TOKEN`, then their legacy `EXPRTS_*` equivalents. An explicitly empty new setting does not fall back to a legacy credential. The default API origin is `https://api.atonode.com`. Existing token formats and webhook headers remain unchanged.
|
|
182
182
|
|
|
183
183
|
Official SDK product: **Atonode Python SDK**. The new GitHub repository name is **`atonode-python-sdk`**. The existing source URL remains in use until the remote repository is renamed; local configuration does not rename the hosted repository. The future robot agent is **Atonode Agent**.
|
|
184
|
+
|
|
185
|
+
## Atonode credential prefixes
|
|
186
|
+
|
|
187
|
+
Newly issued project API keys use `atonode_sk_`; robot credentials use `atonode_dev_`. The local SDK accepts these and existing legacy credentials. Published SDK 0.3.0 does not accept the new prefixes: install this checkout until the next SDK release is published. Existing credentials remain valid; never edit a credential prefix manually because the entire credential is authenticated. Rotate credentials through the dashboard after upgrading clients to obtain the new prefixes.
|
|
188
|
+
|
|
189
|
+
## Upgrade robots for 0.3.1
|
|
190
|
+
|
|
191
|
+
Version 0.3.0 is published; 0.3.1 is prepared locally and adds Atonode-prefixed credential support. Until publication, install this checkout with the robot interpreter: `/absolute/path/to/my_project/.venv/bin/python -m pip install /absolute/path/to/atonode/packages/python-sdk`. After publication use `python -m pip install --upgrade atonode_sdk==0.3.1`. Verify with `python -c "from atonode import __version__; print(__version__)"`. Configure Webots to use that virtual environment's Python executable.
|
|
192
|
+
|
|
193
|
+
Set `ATONODE_API_URL=http://localhost:8000` for the local backend (use the operator's HTTPS origin for deployment), `ATONODE_DEVICE_TOKEN` for the robot credential and `ATONODE_API_KEY` for the camera example's project key. Project clients take `api_key` explicitly; they do not automatically read this setting. The camera example accepts `.atonode-local.json` in the Webots project root and falls back to the existing local configuration. Keep credentials private. Upgrade clients before rotating credentials; do not edit their prefixes manually.
|
|
@@ -70,13 +70,15 @@ class ExprtsClient:
|
|
|
70
70
|
self._payload: JSONDict = {
|
|
71
71
|
"integration": integration,
|
|
72
72
|
"runtime": runtime if runtime is not None else "python-" + platform.python_version(),
|
|
73
|
-
"client_version": "0.
|
|
73
|
+
"client_version": "0.3.1",
|
|
74
74
|
}
|
|
75
75
|
for value in self._payload.values():
|
|
76
76
|
if (
|
|
77
77
|
not isinstance(value, str)
|
|
78
78
|
or not 1 <= len(value.strip()) <= 100
|
|
79
79
|
or any(ord(c) < 32 for c in value)
|
|
80
|
+
or "atonode_dev_" in value
|
|
81
|
+
or "atonode_sk_" in value
|
|
80
82
|
or "exprts_dev_" in value
|
|
81
83
|
or "exprts_sk_" in value
|
|
82
84
|
):
|
|
@@ -8,7 +8,7 @@ from urllib.parse import urlsplit
|
|
|
8
8
|
|
|
9
9
|
from .errors import ConfigurationError
|
|
10
10
|
|
|
11
|
-
_TOKEN = re.compile(r"
|
|
11
|
+
_TOKEN = re.compile(r"(?:atonode|exprts)_dev_[0-9a-f]{24}_[A-Za-z0-9_-]{43}\Z")
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@dataclass(frozen=True)
|
|
@@ -31,7 +31,7 @@ class ProjectDataClient:
|
|
|
31
31
|
)
|
|
32
32
|
):
|
|
33
33
|
raise ValueError("Use an HTTPS API origin")
|
|
34
|
-
if not re.fullmatch(r"
|
|
34
|
+
if not re.fullmatch(r"(?:atonode|exprts)_sk_[0-9a-f]{24}_[A-Za-z0-9_-]{43}", api_key):
|
|
35
35
|
raise ValueError("Project API key required")
|
|
36
36
|
if not 0 < timeout <= 60:
|
|
37
37
|
raise ValueError("Invalid timeout")
|
|
@@ -67,7 +67,7 @@ class HTTPTransport:
|
|
|
67
67
|
"Content-Type": "application/json",
|
|
68
68
|
"Accept": "application/json",
|
|
69
69
|
**({"Content-Encoding": "gzip"} if operation.endswith("/batches") else {}),
|
|
70
|
-
"User-Agent": "atonode_sdk/0.3.
|
|
70
|
+
"User-Agent": "atonode_sdk/0.3.1",
|
|
71
71
|
},
|
|
72
72
|
)
|
|
73
73
|
try:
|
|
@@ -11,7 +11,7 @@ def test_public_names_keep_legacy_identity():
|
|
|
11
11
|
assert atonode.AtonodeError is exprts_ai.ExprtsError
|
|
12
12
|
for name in exprts_ai.__all__:
|
|
13
13
|
assert getattr(atonode, name) is getattr(exprts_ai, name)
|
|
14
|
-
assert atonode.__version__ == "0.3.
|
|
14
|
+
assert atonode.__version__ == "0.3.1"
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
def test_configuration_precedence(monkeypatch):
|
|
@@ -23,7 +23,26 @@ def test_configuration_precedence(monkeypatch):
|
|
|
23
23
|
monkeypatch.setenv("ATONODE_API_URL", "https://api.atonode.com")
|
|
24
24
|
monkeypatch.setenv("ATONODE_DEVICE_TOKEN", TOKEN)
|
|
25
25
|
assert atonode.Config.from_env().api_url == "https://api.atonode.com"
|
|
26
|
-
assert
|
|
26
|
+
assert (
|
|
27
|
+
atonode.Config.from_env(api_url="https://explicit.example.test").api_url
|
|
28
|
+
== "https://explicit.example.test"
|
|
29
|
+
)
|
|
27
30
|
monkeypatch.setenv("ATONODE_DEVICE_TOKEN", "")
|
|
28
31
|
with pytest.raises(atonode.ConfigurationError):
|
|
29
32
|
atonode.Config.from_env()
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def test_atonode_credential_formats():
|
|
36
|
+
from uuid import uuid4
|
|
37
|
+
|
|
38
|
+
token = TOKEN.replace("exprts_dev_", "atonode_dev_")
|
|
39
|
+
assert (
|
|
40
|
+
atonode.Config(api_url="https://api.atonode.com", device_token=token).device_token == token
|
|
41
|
+
)
|
|
42
|
+
key = "atonode_sk_" + "a" * 24 + "_" + "b" * 43
|
|
43
|
+
client = atonode.ProjectDataClient(
|
|
44
|
+
api_url="https://api.atonode.com", project_id=str(uuid4()), api_key=key
|
|
45
|
+
)
|
|
46
|
+
assert client is not None
|
|
47
|
+
with pytest.raises(atonode.ConfigurationError):
|
|
48
|
+
atonode.AtonodeClient(device_token=token, runtime=key)
|
|
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
|