reykit 1.1.38__py3-none-any.whl → 1.1.39__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.
reykit/rtable.py
CHANGED
@@ -116,9 +116,9 @@ class Table(Base):
|
|
116
116
|
self.data = data
|
117
117
|
|
118
118
|
|
119
|
-
def
|
119
|
+
def to_table(self) -> list[dict]:
|
120
120
|
"""
|
121
|
-
Convert data to `dict` format.
|
121
|
+
Convert data to `list[dict]` format.
|
122
122
|
|
123
123
|
Returns
|
124
124
|
-------
|
@@ -133,23 +133,6 @@ class Table(Base):
|
|
133
133
|
result = [dict(self.data._mapping)]
|
134
134
|
case Series():
|
135
135
|
result = [dict(self.data.items())]
|
136
|
-
|
137
|
-
return result
|
138
|
-
|
139
|
-
|
140
|
-
def to_table(self) -> list[dict]:
|
141
|
-
"""
|
142
|
-
Convert data to `list[dict]` format.
|
143
|
-
|
144
|
-
Returns
|
145
|
-
-------
|
146
|
-
Converted data.
|
147
|
-
"""
|
148
|
-
|
149
|
-
# Convert.
|
150
|
-
match self.data:
|
151
|
-
case MutableMapping() | CursorRow() | Series():
|
152
|
-
result = [self.to_row()]
|
153
136
|
case CursorResult():
|
154
137
|
result = [
|
155
138
|
dict(row)
|
@@ -14,7 +14,7 @@ reykit/rre.py,sha256=4DVxy28dl5zn6_II8-cgr7E2nVPH5QJIJVB4o7Vsf1A,6078
|
|
14
14
|
reykit/rschedule.py,sha256=_nrfrXYxlFAKCDbM8ibTTb60zNDlHxyE310cv-A19Kw,5799
|
15
15
|
reykit/rstdout.py,sha256=Vgqm66rtjIaYWO-EFEm9PGzgXDzZXZGq-BS1Lg6zD40,8197
|
16
16
|
reykit/rsys.py,sha256=8Q9ZdggxRHXHMOwjMQa_kBN3gTkmpduHoXrKfa5UXqs,24933
|
17
|
-
reykit/rtable.py,sha256=
|
17
|
+
reykit/rtable.py,sha256=Ua6R1eHMtq4jAaWvfFTsgk-KQmtz5KwuYq4kguzRKaY,12198
|
18
18
|
reykit/rtask.py,sha256=Jl2s3cc5i_oKsGu0XJwhzwVwL6LNCULPthlS9N17aeg,22846
|
19
19
|
reykit/rtext.py,sha256=sFp5n5ykD6B812Bywhe6gqzscNmx-U6w80Zf8p1y-Ow,12859
|
20
20
|
reykit/rtime.py,sha256=PfhsXZLmSsKY2W1A0VrjhaVbMKVBHBD86AZ8nowNGig,17008
|
@@ -22,7 +22,7 @@ reykit/rwrap.py,sha256=RK3wlc2cd-lnAvzqzvKsS21EtCmBNTA3i8HRbaolWE4,15275
|
|
22
22
|
reykit/rzip.py,sha256=ABUDLwEHQIpcvZbJE_oV78H7dik6nC7kaRz660Ro9Os,3481
|
23
23
|
reykit/rdll/__init__.py,sha256=1VRawI2vCsLH7KK0PcBRWNc-bwseM-M05wkc_eamwJM,696
|
24
24
|
reykit/rdll/rdll_core.py,sha256=o6-rKcTQgxZQe0kD3GnwyNb3KL9IogzgCQNOmYLMm7A,5086
|
25
|
-
reykit-1.1.
|
26
|
-
reykit-1.1.
|
27
|
-
reykit-1.1.
|
28
|
-
reykit-1.1.
|
25
|
+
reykit-1.1.39.dist-info/METADATA,sha256=lRgcs7Kxgo07DEl3rUz2JQXMsbyQACJRdikXeLICUIU,1872
|
26
|
+
reykit-1.1.39.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
27
|
+
reykit-1.1.39.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
28
|
+
reykit-1.1.39.dist-info/RECORD,,
|
File without changes
|
File without changes
|