wmill 1.518.1__tar.gz → 1.519.0__tar.gz
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-1.518.1 → wmill-1.519.0}/PKG-INFO +1 -1
- {wmill-1.518.1 → wmill-1.519.0}/pyproject.toml +1 -1
- {wmill-1.518.1 → wmill-1.519.0}/wmill/client.py +19 -0
- {wmill-1.518.1 → wmill-1.519.0}/README.md +0 -0
- {wmill-1.518.1 → wmill-1.519.0}/wmill/__init__.py +0 -0
- {wmill-1.518.1 → wmill-1.519.0}/wmill/py.typed +0 -0
- {wmill-1.518.1 → wmill-1.519.0}/wmill/s3_reader.py +0 -0
- {wmill-1.518.1 → wmill-1.519.0}/wmill/s3_types.py +0 -0
|
@@ -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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|