Flowfile 0.3.3.1__py3-none-any.whl → 0.3.3.2__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 Flowfile might be problematic. Click here for more details.

flowfile/__init__.py CHANGED
@@ -7,7 +7,7 @@ This package ties together the FlowFile ecosystem components:
7
7
  - flowfile_worker: Computation engine
8
8
  """
9
9
 
10
- __version__ = "0.3.3.1"
10
+ __version__ = "0.3.3.2"
11
11
 
12
12
  import os
13
13
  import logging
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: Flowfile
3
- Version: 0.3.3.1
3
+ Version: 0.3.3.2
4
4
  Summary: Project combining flowfile core (backend) and flowfile_worker (compute offloader) and flowfile_frame (api)
5
5
  Author: Edward van Eechoud
6
6
  Author-email: evaneechoud@gmail.com
@@ -1,7 +1,7 @@
1
1
  build_backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  build_backends/main.py,sha256=hLmfqTeHLSTiwwZ5mUuoLQgtO40Igvl1_4NbnvzWSgI,9912
3
3
  build_backends/main_prd.py,sha256=JR2tYCMWM5ThooQjv5pw6nwVKMQjgsiHgKMhYn9NXWI,6927
4
- flowfile/__init__.py,sha256=e-OVTnJOMsnqBbMt5WTGQmAYjHBt2YA6ODlkoIpCj20,2447
4
+ flowfile/__init__.py,sha256=_14hPglWuwEhNHQ8vXQFHT_0GMN6a5xhbUNwzxpcY1E,2447
5
5
  flowfile/__main__.py,sha256=hAMeyORHhLnw1lIXe6-EYDwgUi2odW0Rb4eDkcNtBiM,2612
6
6
  flowfile/api.py,sha256=grbo8pUF8NNEGoqDQX-BTjWXC61mSIgJoD-w-GVeD4Y,15298
7
7
  flowfile/readme.md,sha256=n93Cpp9DPIBfe2jxKcUVokl5PTobxnE1mWHfRD018xE,4137
@@ -256,7 +256,7 @@ flowfile_frame/__init__.py,sha256=L2-jTwdtPEtdIS4c1foVXwnh5T0jDzpkgn3CBJvOPHg,15
256
256
  flowfile_frame/adapters.py,sha256=C6JZZKANoKbHHmwMaF9AqAcZvITvQeb2Dklcpg5JAdY,530
257
257
  flowfile_frame/adding_expr.py,sha256=K9KdF3WCbPy2YO5radyEBXQ0yi6SOI4nviaPwXmKW0k,12428
258
258
  flowfile_frame/config.py,sha256=Tl_4V8byUiO1y3ANesW2E9qeTtZvtKYJl8KU00hc1Cg,176
259
- flowfile_frame/expr.py,sha256=5Qz_IKV-5FvnlMGv-10D82cBKMlEyUCq2CXnsmJUrfk,56695
259
+ flowfile_frame/expr.py,sha256=09o-uIle1hXDXPbTlyOs3ZPINW5BY2L-5_-T3FG3ufM,58022
260
260
  flowfile_frame/expr.pyi,sha256=HR1qBfGIlei-6Lt3qztGUR_XfyiQJMUbUWCMY1pEBYo,87903
261
261
  flowfile_frame/expr_name.py,sha256=0VZZwC3xc6tiwOJPu7emQ86Xp2mVu7U-j-jrsMjbc2Y,9852
262
262
  flowfile_frame/flow_frame.py,sha256=My05BjxYIPiokRItV1asSSI3q5_QhKg0nrv0FaRIq68,88112
@@ -306,8 +306,8 @@ test_utils/__init__.py,sha256=8WwOgIuKw6YtOc1GWR1DqIhQ8BhlLWqsMyQJSpxnzKk,66
306
306
  test_utils/postgres/__init__.py,sha256=y3V_6a9N1Pvm5NIBaA8CFf3i4mvPVY-H1teHA-rg0VU,33
307
307
  test_utils/postgres/commands.py,sha256=4oA8EHW3EqwGkG02HSqEGbXEBGM01sUW5FsyHm86W4k,4347
308
308
  test_utils/postgres/fixtures.py,sha256=kR8UBjQr3pgbe-xM-V8x8VseTHCPv0EmDEzPHl5Qc8Y,13507
309
- flowfile-0.3.3.1.dist-info/LICENSE,sha256=pCfLAA27jMHReYk_wGiirZxWRRXz_Bm7PVInRCa9P5g,1075
310
- flowfile-0.3.3.1.dist-info/METADATA,sha256=0FNb6Bf0qD5R4iD1gVM6ACB59eFkdl2-5R5l_uP_RIE,7998
311
- flowfile-0.3.3.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
312
- flowfile-0.3.3.1.dist-info/entry_points.txt,sha256=Q3CEYNk33UaWlA9D-8yXYH0FwjKBsrtNuzzzHxhwnNI,333
313
- flowfile-0.3.3.1.dist-info/RECORD,,
309
+ flowfile-0.3.3.2.dist-info/LICENSE,sha256=pCfLAA27jMHReYk_wGiirZxWRRXz_Bm7PVInRCa9P5g,1075
310
+ flowfile-0.3.3.2.dist-info/METADATA,sha256=WexdLHU4CO5kdZ8aDWzUf7mr11E6e-8W-Lz6uNdEMGM,7998
311
+ flowfile-0.3.3.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
312
+ flowfile-0.3.3.2.dist-info/entry_points.txt,sha256=Q3CEYNk33UaWlA9D-8yXYH0FwjKBsrtNuzzzHxhwnNI,333
313
+ flowfile-0.3.3.2.dist-info/RECORD,,
flowfile_frame/expr.py CHANGED
@@ -126,6 +126,25 @@ class StringMethods:
126
126
  res_expr = self.expr.to_titlecase() if self.expr is not None else None
127
127
  return self._create_next_expr(method_name="to_titlecase", result_expr=res_expr, is_complex=True)
128
128
 
129
+ def to_date(self, format: str, *, strict: bool = True, exact: bool = True, cache: bool = True):
130
+ res_expr = self.expr.to_date(format, strict=strict, exact=exact, cache=cache) if self.expr is not None else None
131
+ return self._create_next_expr(method_name="to_date", result_expr=res_expr, is_complex=True,
132
+ format=format, strict=strict, exact=exact, cache=cache)
133
+
134
+ def to_datetime(self, format: str | None = None,
135
+ *,
136
+ time_unit: Literal["ns", "us", "ms"] | None = None,
137
+ time_zone: str | None = None,
138
+ strict: bool = True,
139
+ exact: bool = True,
140
+ cache: bool = True,
141
+ ambiguous: Literal["earliest", "latest", "raise", "null"] | Expr = "raise",):
142
+ res_expr = self.expr.to_datetime(format, time_unit=time_unit, time_zone=time_zone, strict=strict,
143
+ exact=exact, cache=cache, ambiguous=ambiguous)
144
+ return self._create_next_expr(method_name="to_datetime", result_expr=res_expr, is_complex=True,
145
+ format=format, time_unit=time_unit, time_zone=time_zone, strict=strict,
146
+ exact=exact, cache=cache, ambiguous=ambiguous)
147
+
129
148
  def __getattr__(self, name):
130
149
  if self.expr is None or not hasattr(self.expr, name):
131
150
  if self.expr is None: