labfreed 0.2.3__py3-none-any.whl → 0.2.4__py3-none-any.whl
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.
Potentially problematic release.
This version of labfreed might be problematic. Click here for more details.
- labfreed/__init__.py +1 -1
- labfreed/labfreed_infrastructure.py +3 -2
- labfreed/trex/python_convenience/data_table.py +1 -1
- {labfreed-0.2.3.dist-info → labfreed-0.2.4.dist-info}/METADATA +1 -1
- {labfreed-0.2.3.dist-info → labfreed-0.2.4.dist-info}/RECORD +7 -7
- {labfreed-0.2.3.dist-info → labfreed-0.2.4.dist-info}/WHEEL +0 -0
- {labfreed-0.2.3.dist-info → labfreed-0.2.4.dist-info}/licenses/LICENSE +0 -0
labfreed/__init__.py
CHANGED
|
@@ -207,8 +207,9 @@ class LabFREED_BaseModel(PDOC_Workaround_Base):
|
|
|
207
207
|
fmt_title = fmt
|
|
208
208
|
br = '\n'
|
|
209
209
|
case 'html':
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
lvl = m.level.name.lower()
|
|
211
|
+
fmt = lambda s: f'<span class="validation-problem {lvl}">{s}</span>' # noqa: E731
|
|
212
|
+
fmt_title = lambda s: f'<span class="validation-title {lvl}">{s}</span>' # noqa: E731
|
|
212
213
|
br = '<br>'
|
|
213
214
|
case 'html_styled':
|
|
214
215
|
fmt = lambda s: f'<b style="color:{color}">{s}</b>' # noqa: E731
|
|
@@ -10,7 +10,7 @@ from labfreed.trex.python_convenience.quantity import Quantity
|
|
|
10
10
|
class DataTable(BaseModel):
|
|
11
11
|
_row_template:list[str, Quantity | datetime | time | date | bool | str | base36] = PrivateAttr(default_factory=list)
|
|
12
12
|
col_names: list[str] = Field(default_factory=list)
|
|
13
|
-
data:list[
|
|
13
|
+
data:list[Quantity | datetime | time | date | bool | str | base36] = Field(default_factory=list)
|
|
14
14
|
|
|
15
15
|
@property
|
|
16
16
|
def row_template(self):
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
labfreed/__init__.py,sha256=
|
|
2
|
-
labfreed/labfreed_infrastructure.py,sha256=
|
|
1
|
+
labfreed/__init__.py,sha256=HEo19DONVqnd5j8GvywD3krNMIzz316y_8Wjoj57dtE,336
|
|
2
|
+
labfreed/labfreed_infrastructure.py,sha256=yxZkI0mPrHyeZGWKtgFIV9R54edSUcww-w1ExHt8F-o,9990
|
|
3
3
|
labfreed/pac_cat/__init__.py,sha256=S4T-QgzcEDjup44WvHCY3_K30B6_e8ducR--DxBb_DM,554
|
|
4
4
|
labfreed/pac_cat/category_base.py,sha256=lFQNiTUukyhWdaSCAI7CZxLtj6kNtnBCE4UsePwsGqE,1801
|
|
5
5
|
labfreed/pac_cat/pac_cat.py,sha256=AJUYDsyGOHy-sRRpXpY0awtbf3HCvn3RhMax6ofvYRA,5318
|
|
@@ -23,7 +23,7 @@ labfreed/trex/trex.py,sha256=WDoPvuhiilLtRSIkntCmDGkFBnD6oRZg0E6hhoV-I2g,2400
|
|
|
23
23
|
labfreed/trex/trex_base_models.py,sha256=3twGEZLYEznUyJ_ctcTcPYsy1qOciMRqLcslE9dxEqw,7567
|
|
24
24
|
labfreed/trex/value_segments.py,sha256=mmjyEKWLlDIoiFlk2wKELOfWn2_0xwreNEBTs8RgjOY,3774
|
|
25
25
|
labfreed/trex/python_convenience/__init__.py,sha256=dyAQG7t-uYN6VfGXbWIq2bHxGcGI63l7FS2-VPYs2RQ,137
|
|
26
|
-
labfreed/trex/python_convenience/data_table.py,sha256=
|
|
26
|
+
labfreed/trex/python_convenience/data_table.py,sha256=xDvjjOtPx1LRKQAzS2mynktonPiGHKea5VLvZJVt8mM,1725
|
|
27
27
|
labfreed/trex/python_convenience/pyTREX.py,sha256=qiOJ6PGAfsbnfpQBI_G2_C-3DaKqTfIW5xdZReQVxI8,9824
|
|
28
28
|
labfreed/trex/python_convenience/quantity.py,sha256=d3w-ThY4Cp7n3fde8pct-X5kHc7vbVe1xsJQKROnLks,1470
|
|
29
29
|
labfreed/utilities/base36.py,sha256=_yX8aQ1OwrK5tnJU1NUEzQSFGr9xAVnNvPObpNzCPYs,2895
|
|
@@ -38,7 +38,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=nqk66kHdSwJTJfMKlP-x
|
|
|
38
38
|
labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
|
|
39
39
|
labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
|
|
40
40
|
labfreed/well_known_keys/unece/unece_units.py,sha256=gNDQk6KGl-nGMf9Ycq_fQ8P2xxKITgLkcQWPd4H49gI,1630
|
|
41
|
-
labfreed-0.2.
|
|
42
|
-
labfreed-0.2.
|
|
43
|
-
labfreed-0.2.
|
|
44
|
-
labfreed-0.2.
|
|
41
|
+
labfreed-0.2.4.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
|
|
42
|
+
labfreed-0.2.4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
43
|
+
labfreed-0.2.4.dist-info/METADATA,sha256=gFfZLUzwX5caWCmsupBw9zcbNiKP_GUv8d6n4gKb81w,18090
|
|
44
|
+
labfreed-0.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|