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.
@@ -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
@@ -12,7 +12,6 @@ from wbcore.contrib.pandas.fields import ( # noqa
12
12
  PKField,
13
13
  CharField,
14
14
  DateField,
15
- DateTimeField,
16
15
  DateRangeField,
17
16
  BooleanField,
18
17
  TextField,
wbcore/pandas/fields.py CHANGED
@@ -10,7 +10,6 @@ from wbcore.contrib.pandas.fields import ( # noqa
10
10
  PKField,
11
11
  CharField,
12
12
  DateField,
13
- DateTimeField,
14
13
  DateRangeField,
15
14
  BooleanField,
16
15
  TextField,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbcore
3
- Version: 1.59.5
3
+ Version: 1.59.5rc0
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: boto3==1.35.*
6
6
  Requires-Dist: celery[redis]==5.*
@@ -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=JtDxAolmiMYj_-HJqLVX5G7iN2jDm-oh4nbGeteydeY,4293
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=nYHncIbSqUu8nV6_5dzVQomTFYrxPhS_Hivfh6yYcl0,1418
1065
- wbcore/pandas/fields.py,sha256=_F-gATQs-MJewMVrK5ObNot3c8WYVX-HNn59Zeo8TwM,523
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.5.dist-info/METADATA,sha256=BWyOrTqsITe6VKpdkCd92iKrNjRj9ipPF1mZ6htWZ7Q,2332
1235
- wbcore-1.59.5.dist-info/WHEEL,sha256=aha0VrrYvgDJ3Xxl3db_g_MDIW-ZexDdrc_m-Hk8YY4,105
1236
- wbcore-1.59.5.dist-info/RECORD,,
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,,