arkuhn commented on code in PR #2929:
URL: https://github.com/apache/thrift/pull/2929#discussion_r1615029436


##########
compiler/cpp/src/thrift/generate/t_py_generator.cc:
##########
@@ -2908,4 +3021,5 @@ THRIFT_REGISTER_GENERATOR(
     "                     Package prefix for generated files.\n"
     "    old_style:       Deprecated. Generate old-style classes.\n"
     "    enum:            Generates Python's IntEnum, connects thrift to 
python enums. Python 3.4 and higher.\n"
+    "    type_hints:      Generate type hints in write method, including 
IntEnum generation.\n"

Review Comment:
   I like this better than implicitly setting it to true, updated



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