wmill 1.518.1__py3-none-any.whl → 1.519.0__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 wmill might be problematic. Click here for more details.

wmill/client.py CHANGED
@@ -1523,3 +1523,22 @@ def parse_variable_syntax(s: str) -> Optional[str]:
1523
1523
  if s.startswith("var://"):
1524
1524
  return s[6:]
1525
1525
  return None
1526
+
1527
+
1528
+ def append_to_result_stream(text: str) -> None:
1529
+ """Append a text to the result stream.
1530
+
1531
+ Args:
1532
+ text: text to append to the result stream
1533
+ """
1534
+ print(f"WM_STREAM: {text.replace(chr(10), '\\n')}")
1535
+
1536
+
1537
+ def stream_result(stream) -> None:
1538
+ """Stream to the result stream.
1539
+
1540
+ Args:
1541
+ stream: stream to stream to the result stream
1542
+ """
1543
+ for text in stream:
1544
+ append_to_result_stream(text)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.518.1
3
+ Version: 1.519.0
4
4
  Summary: A client library for accessing Windmill server wrapping the Windmill client API
5
5
  Home-page: https://windmill.dev
6
6
  License: Apache-2.0
@@ -1,8 +1,8 @@
1
1
  wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
2
- wmill/client.py,sha256=xGTljbaALXwQPxzZs0eYsMigRwbR1pBfNw_P3uYIJM8,49910
2
+ wmill/client.py,sha256=_aribIS-Fbdu1qKYfZGPSrTkhpWeqQB1nmSUHWNCUfs,50344
3
3
  wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
4
  wmill/s3_reader.py,sha256=Rq6m9T_SxReIi0OJA28FXSddHQRk2wUJCfbcw_FQ8Ao,2149
5
5
  wmill/s3_types.py,sha256=D4W1miV41Sa0YC_p7Jqr8j8Sp4Z2GgFAVsFR0ZYIrVM,1235
6
- wmill-1.518.1.dist-info/METADATA,sha256=0NAwJcAefFt8X5V3qS0XtZtoJ7QICEqiFqDz0j9GgzE,2693
7
- wmill-1.518.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8
- wmill-1.518.1.dist-info/RECORD,,
6
+ wmill-1.519.0.dist-info/METADATA,sha256=moUUrhbvG-PpkE5kaeeMJI43MWmcnpJ8ojim9NrIb1U,2693
7
+ wmill-1.519.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8
+ wmill-1.519.0.dist-info/RECORD,,