wbcore 1.59.5__py2.py3-none-any.whl → 1.59.5rc0__py2.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.
- wbcore/contrib/pandas/fields.py +0 -8
- wbcore/pandas/__init__.py +0 -1
- wbcore/pandas/fields.py +0 -1
- {wbcore-1.59.5.dist-info → wbcore-1.59.5rc0.dist-info}/METADATA +1 -1
- {wbcore-1.59.5.dist-info → wbcore-1.59.5rc0.dist-info}/RECORD +6 -6
- {wbcore-1.59.5.dist-info → wbcore-1.59.5rc0.dist-info}/WHEEL +0 -0
wbcore/contrib/pandas/fields.py
CHANGED
|
@@ -43,14 +43,6 @@ class CharField(_BaseField):
|
|
|
43
43
|
return super().to_representation(value).astype("string", errors="ignore")
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
@dataclass
|
|
47
|
-
class DateTimeField(_BaseField):
|
|
48
|
-
type: str = "datetime"
|
|
49
|
-
|
|
50
|
-
def to_representation(self, value: pd.Series) -> pd.Series:
|
|
51
|
-
return pd.to_datetime(super().to_representation(value)).dt.strftime("%Y-%m-%d %H:%M:%S")
|
|
52
|
-
|
|
53
|
-
|
|
54
46
|
@dataclass
|
|
55
47
|
class DateField(_BaseField):
|
|
56
48
|
type: str = "date"
|
wbcore/pandas/__init__.py
CHANGED
wbcore/pandas/fields.py
CHANGED
|
@@ -788,7 +788,7 @@ wbcore/contrib/notifications/viewsets/notifications.py,sha256=0Y5VJZgu8rwOnYNWDT
|
|
|
788
788
|
wbcore/contrib/notifications/viewsets/configs/notification_types.py,sha256=8x0xmT6brlXh5fiI689fMhtKMjynETD0Xlm1QVYUlD8,1893
|
|
789
789
|
wbcore/contrib/notifications/viewsets/configs/notifications.py,sha256=KHy4V5R3D8AjZp1No7EasjeR-zPzks8eO-2PjlIxMuo,3605
|
|
790
790
|
wbcore/contrib/pandas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
791
|
-
wbcore/contrib/pandas/fields.py,sha256=
|
|
791
|
+
wbcore/contrib/pandas/fields.py,sha256=PnLYBnWP6fd3yDFPqcWlH0qrS16dv4Pg9ZRF4p1Ag5Q,4058
|
|
792
792
|
wbcore/contrib/pandas/filters.py,sha256=Pi5h3JB9Ugqx-xZ82X8MUIfRHwrY5locBUQH7GDg60w,4821
|
|
793
793
|
wbcore/contrib/pandas/filterset.py,sha256=uoeW54GT-rhgtUedJzq2QjKfpwRdmNFW7C059fm30lg,1036
|
|
794
794
|
wbcore/contrib/pandas/metadata.py,sha256=EIKp94TDtdtCRELl3zWTLU37FzNX-EpVeMgISUgI-FY,772
|
|
@@ -1061,8 +1061,8 @@ wbcore/models/__init__.py,sha256=Ukm6r1FTiPMwcXOmiTmW73aktzFmQicN7Cm7XISD8fg,309
|
|
|
1061
1061
|
wbcore/models/base.py,sha256=VKsnRJReu8SInvpMLV7_3SImVE9StY5H0Fj_stckyz8,7205
|
|
1062
1062
|
wbcore/models/fields.py,sha256=IsHaIzQ2GU_rC7AORdSF9IIc_XkXPkEK5rV0wnijRmU,984
|
|
1063
1063
|
wbcore/models/orderable.py,sha256=3uxEHuixP-qeCp_s86JzYC-ENAqh1NIlNOilht1h9bM,171
|
|
1064
|
-
wbcore/pandas/__init__.py,sha256=
|
|
1065
|
-
wbcore/pandas/fields.py,sha256=
|
|
1064
|
+
wbcore/pandas/__init__.py,sha256=2R8QJYuou5Ccm5lf5Ct-A7q25bb5DdUaVk_NypwgwGs,1399
|
|
1065
|
+
wbcore/pandas/fields.py,sha256=b14B1eM0XpIL_PB1NIT7ffHP-PvhgE7whdph9AeyHzI,504
|
|
1066
1066
|
wbcore/pandas/filterset.py,sha256=eWqp1tnR_FNORtdbquFa7XlvjXHozzSU3tBLEA2RlYY,289
|
|
1067
1067
|
wbcore/pandas/utils.py,sha256=1MW00r9k0USDXeoUAdrWXtv691WP5y0Ymc6gn4Z6CR4,662
|
|
1068
1068
|
wbcore/pandas/views.py,sha256=3R8WqcUc2RYF8FQPUw-L_tHId4Di7tvna012PjUxWlI,309
|
|
@@ -1231,6 +1231,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
|
|
|
1231
1231
|
wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
|
|
1232
1232
|
wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
|
|
1233
1233
|
wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
|
|
1234
|
-
wbcore-1.59.
|
|
1235
|
-
wbcore-1.59.
|
|
1236
|
-
wbcore-1.59.
|
|
1234
|
+
wbcore-1.59.5rc0.dist-info/METADATA,sha256=kfFeLip_6MmiDZ4qrc2nNm64YIIGlVAUGk-sSiW6vcM,2335
|
|
1235
|
+
wbcore-1.59.5rc0.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
|
|
1236
|
+
wbcore-1.59.5rc0.dist-info/RECORD,,
|
|
File without changes
|