Abacn commented on code in PR #38206:
URL: https://github.com/apache/beam/pull/38206#discussion_r3101037913


##########
sdks/python/apache_beam/typehints/schemas.py:
##########
@@ -255,6 +256,36 @@ def schema_field(
       description=description)
 
 
+def _python_any_schema_pb2():
+  return schema_pb2.FieldType(
+      logical_type=schema_pb2.LogicalType(
+          urn=PYTHON_ANY_URN,
+          representation=schema_pb2.FieldType(
+              nullable=False,
+              row_type=schema_pb2.RowType(
+                  schema=schema_pb2.Schema(
+                      fields=[
+                          schema_pb2.Field(
+                              name="type_byte",
+                              type=schema_pb2.FieldType(
+                                  atomic_type=schema_pb2.BYTE, 
nullable=False)),
+                          schema_pb2.Field(
+                              name="payload",

Review Comment:
   done; added a comment
   
   > A portable schema matches FastPrimitivesCoder encoded values 



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