https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nathan Warren

01/12/2023, 5:03 PM
Does anyone have examples or best practices on how to use the stats & logging properties of flytekit.current_context? I just see TODOs in the doc...
s

Samhita Alla

01/13/2023, 7:20 AM
flytekit.current_context().logging
should give a logging handler that you can use to log within a Flyte task. @Yee / @Eduardo Apolinario (eapolinario), would one of you be able to add examples to the API docs?
n

Nathan Warren

01/16/2023, 10:16 PM
and
flytekit.current_context().stats