<#784 fixes codegen plugin &amp; CLI docs generati...
# flyte-github
a
#784 fixes codegen plugin &amp; CLI docs generation Pull request opened by samhita-alla codegen plugin: • removes network access config parameter from the README • replaces “agent SDK” with “agent mode” adds
sys.stdout.flush()
at the end of
markdown()
in
_gen.py
to ensure all output is written before
os._exit(0)
kills the process. this was causing some flyte CLI commands not to render in the docs. this happens because we recently changed the print logic from a single large write to many smaller writes. when stdout is piped (as in the docs renderer using
subprocess.run
), python uses block buffering, and
os._exit(0)
in
InvokeBaseMixin
terminates the process without flushing that buffer. flyteorg/flyte-sdk