hardpy 0.15.0__tar.gz → 0.15.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.
- {hardpy-0.15.0 → hardpy-0.15.1}/PKG-INFO +1 -1
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/schema/v1.py +5 -6
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/pytest_call.py +6 -7
- {hardpy-0.15.0 → hardpy-0.15.1}/pyproject.toml +1 -1
- {hardpy-0.15.0 → hardpy-0.15.1}/.gitignore +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/LICENSE +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/README.md +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/cli/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/cli/cli.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/cli/template.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/config.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/connector.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/exception.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/oauth2.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/registration.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/token_manager.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/common/stand_cloud/utils.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/api.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/allPaths-CV5wjLMB.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/allPathsLoader-JIzW_pSb.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-Bfs1BwbR.ttf +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-Btb8d-Hu.woff +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-CzsyEoPG.svg +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-DrH54W_x.woff2 +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-RCDSkC4W.eot +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-BGGGsqDJ.ttf +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-D9WO2FSG.woff2 +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-Doom1bSH.eot +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-DyVnGNfQ.svg +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-ZW-9JnPf.woff +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-CccdstaD.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/index-6RIgWzcZ.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/index-BMEat_ws.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/index-BwCQzehg.css +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/index-xb4M2ucX.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/logo_smol-CK3jE85c.png +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/splitPathsBySizeLoader-DkZadBcn.js +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/favicon.ico +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/index.html +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/de/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/en/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/es/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/fr/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/ja/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/ru/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/zh/translation.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/logo192.png +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/logo512.png +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/manifest.json +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/base_connector.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/base_server.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/base_store.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/const.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/runstore.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/schema/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/db/statestore.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/plugin.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/pytest_wrapper.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/reporter/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/reporter/base.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/reporter/hook_reporter.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/reporter/runner_reporter.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/couchdb_config.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_loader/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_loader/couchdb_loader.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_loader/stand_cloud_loader.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_reader/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_reader/couchdb_reader.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_reader/stand_cloud_reader.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/__init__.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/connection_data.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/const.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/dialog_box.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/exception.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/machineid.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/node_info.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/progress_calculator.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/singleton.py +0 -0
- {hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/utils/stand_type.py +0 -0
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from abc import ABC
|
|
6
6
|
from collections.abc import Mapping # noqa: TC003
|
|
7
|
-
from datetime import datetime # noqa: TC003
|
|
8
7
|
from typing import ClassVar
|
|
9
8
|
|
|
10
9
|
from pydantic import BaseModel, ConfigDict, Field
|
|
@@ -79,7 +78,7 @@ class Dut(BaseModel):
|
|
|
79
78
|
part_number: str | None = None
|
|
80
79
|
revision: str | None = None
|
|
81
80
|
sub_units: list[SubUnit] = []
|
|
82
|
-
info: Mapping[str, str | int | float
|
|
81
|
+
info: Mapping[str, str | int | float] = {}
|
|
83
82
|
|
|
84
83
|
|
|
85
84
|
class SubUnit(BaseModel):
|
|
@@ -92,7 +91,7 @@ class SubUnit(BaseModel):
|
|
|
92
91
|
serial_number: str | None = None
|
|
93
92
|
part_number: str | None = None
|
|
94
93
|
revision: str | None = None
|
|
95
|
-
info: Mapping[str, str | int | float
|
|
94
|
+
info: Mapping[str, str | int | float] = {}
|
|
96
95
|
|
|
97
96
|
|
|
98
97
|
class Instrument(BaseModel):
|
|
@@ -104,7 +103,7 @@ class Instrument(BaseModel):
|
|
|
104
103
|
revision: str | None = None
|
|
105
104
|
number: int | None = None
|
|
106
105
|
comment: str | None = None
|
|
107
|
-
info: Mapping[str, str | int | float
|
|
106
|
+
info: Mapping[str, str | int | float] = {}
|
|
108
107
|
|
|
109
108
|
|
|
110
109
|
class TestStand(BaseModel):
|
|
@@ -120,7 +119,7 @@ class TestStand(BaseModel):
|
|
|
120
119
|
number: int | None = None
|
|
121
120
|
drivers: dict = {} # deprecated, remove in v2
|
|
122
121
|
instruments: list[Instrument] = []
|
|
123
|
-
info: Mapping[str, str | int | float
|
|
122
|
+
info: Mapping[str, str | int | float] = {}
|
|
124
123
|
|
|
125
124
|
|
|
126
125
|
class Process(BaseModel):
|
|
@@ -130,7 +129,7 @@ class Process(BaseModel):
|
|
|
130
129
|
|
|
131
130
|
name: str | None = None
|
|
132
131
|
number: int | None = None
|
|
133
|
-
info: Mapping[str, str | int | float
|
|
132
|
+
info: Mapping[str, str | int | float] = {}
|
|
134
133
|
|
|
135
134
|
|
|
136
135
|
class IBaseMeasurement(BaseModel, ABC):
|
|
@@ -33,7 +33,6 @@ from hardpy.pytest_hardpy.utils import (
|
|
|
33
33
|
|
|
34
34
|
if TYPE_CHECKING:
|
|
35
35
|
from collections.abc import Mapping
|
|
36
|
-
from datetime import datetime
|
|
37
36
|
|
|
38
37
|
|
|
39
38
|
@dataclass
|
|
@@ -154,7 +153,7 @@ def set_dut_sub_unit(sub_unit: SubUnit) -> int:
|
|
|
154
153
|
return len(sub_units) - 1
|
|
155
154
|
|
|
156
155
|
|
|
157
|
-
def set_dut_info(info: Mapping[str, str | int | float
|
|
156
|
+
def set_dut_info(info: Mapping[str, str | int | float]) -> None:
|
|
158
157
|
"""Set DUT info to document.
|
|
159
158
|
|
|
160
159
|
Args:
|
|
@@ -278,13 +277,13 @@ def set_stand_name(name: str) -> None:
|
|
|
278
277
|
reporter.update_db_by_doc()
|
|
279
278
|
|
|
280
279
|
|
|
281
|
-
def set_stand_info(info: Mapping[str, str | int | float
|
|
280
|
+
def set_stand_info(info: Mapping[str, str | int | float]) -> None:
|
|
282
281
|
"""Add test stand info to document.
|
|
283
282
|
|
|
284
283
|
Args:
|
|
285
|
-
info (Mapping[str, str | int | float
|
|
286
|
-
where keys are strings and values can be strings, integers, floats
|
|
287
|
-
"""
|
|
284
|
+
info (Mapping[str, str | int | float ]): test stand info as a mapping
|
|
285
|
+
where keys are strings and values can be strings, integers, floats objects
|
|
286
|
+
"""
|
|
288
287
|
reporter = RunnerReporter()
|
|
289
288
|
for stand_key, stand_value in info.items():
|
|
290
289
|
key = reporter.generate_key(DF.TEST_STAND, DF.INFO, stand_key)
|
|
@@ -524,7 +523,7 @@ def set_process_number(number: int) -> None:
|
|
|
524
523
|
reporter.update_db_by_doc()
|
|
525
524
|
|
|
526
525
|
|
|
527
|
-
def set_process_info(info: Mapping[str, str | int | float
|
|
526
|
+
def set_process_info(info: Mapping[str, str | int | float]) -> None:
|
|
528
527
|
"""Set process info to document.
|
|
529
528
|
|
|
530
529
|
Args:
|
|
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
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/allPaths-CV5wjLMB.js
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/allPathsLoader-JIzW_pSb.js
RENAMED
|
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
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/assets/logo_smol-CK3jE85c.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/de/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/en/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/es/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/fr/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/ja/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/ru/translation.json
RENAMED
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/hardpy_panel/frontend/dist/locales/zh/translation.json
RENAMED
|
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
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_loader/stand_cloud_loader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hardpy-0.15.0 → hardpy-0.15.1}/hardpy/pytest_hardpy/result/report_reader/stand_cloud_reader.py
RENAMED
|
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
|