john-jac commented on code in PR #66545:
URL: https://github.com/apache/airflow/pull/66545#discussion_r3204353216


##########
providers/amazon/docs/operators/s3_vectors.rst:
##########
@@ -82,3 +82,11 @@ Reference
 ---------
 
 * `AWS boto3 Library Documentation for S3 Vectors 
<https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html>`__
+
+.. _howto/operator:S3VectorsPutVectorsOperator:
+
+Put Vectors
+-----------
+
+To insert vectors into an Amazon S3 Vectors index, use
+:class:`~airflow.providers.amazon.aws.operators.s3_vectors.S3VectorsPutVectorsOperator`.

Review Comment:
   Added the exampleinclude block referencing the [START 
howto_operator_s3vectors_put_vectors] marker.



##########
providers/amazon/tests/unit/amazon/aws/operators/test_s3_vectors.py:
##########
@@ -222,3 +223,31 @@ def test_execute(self):
 
     def test_template_fields(self):
         validate_template_fields(self.operator)
+
+
+VECTORS = [{"key": "vec1", "data": {"float32": [0.1, 0.2, 0.3]}}]

Review Comment:
   Moved VECTORS inside the test class as a class attribute (self.VECTORS).



-- 
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