kaxil commented on code in PR #77646:
URL: https://github.com/apache/airflow/pull/77646#discussion_r4724705956


##########
providers/huggingface/docs/changelog.rst:
##########
@@ -27,6 +27,13 @@
 Changelog
 ---------
 
+.. note::
+    ``StreamDatasetOperator`` now passes ``embed_external_files=False`` to 
``push_to_hub`` when the source
+    is a Hub repository. Rows that reference a media file by path are 
published with that path, not the
+    file's bytes. With Datasets 5.0 and 5.1 this includes a Hub image folder, 
which those versions stream

Review Comment:
   Linked it to the Datasets docs in a17c3dd95fb.



##########
providers/huggingface/tests/unit/huggingface/operators/test_datasets.py:
##########
@@ -333,6 +365,7 @@ def __getitem__(self, asset):
     push_to_hub.assert_called_once()
     kwargs = push_to_hub.call_args.kwargs
     assert reference["fingerprint"] in kwargs["commit_message"]
+    assert kwargs.get("embed_external_files") is False

Review Comment:
   Added in a17c3dd95fb.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to