This is an automated email from the ASF dual-hosted git repository.

chenhang pushed a commit to branch branch-2.8
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 105fe87a4d8c97f1fed1962a45efb9fc19b6f93a
Author: congbo <[email protected]>
AuthorDate: Fri Aug 6 19:56:07 2021 +0800

    Fix python doc generate (#11585)
    
    (cherry picked from commit ddb5fb0e062c2fe0967efce2a443a31f9cd12c07)
---
 pulsar-client-cpp/python/pulsar/schema/schema_avro.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-client-cpp/python/pulsar/schema/schema_avro.py 
b/pulsar-client-cpp/python/pulsar/schema/schema_avro.py
index d2b57cb..e76fc51 100644
--- a/pulsar-client-cpp/python/pulsar/schema/schema_avro.py
+++ b/pulsar-client-cpp/python/pulsar/schema/schema_avro.py
@@ -59,7 +59,7 @@ if HAS_AVRO:
             fastavro.schemaless_writer(buffer, self._schema, m)
             return buffer.getvalue()
 
-        def encode_dict(self, d: dict):
+        def encode_dict(self, d):
             obj = {}
             for k, v in d.items():
                 obj[k] = self._get_serialized_value(v)

Reply via email to