amoghrajesh commented on code in PR #56187:
URL: https://github.com/apache/airflow/pull/56187#discussion_r2589773229


##########
task-sdk/docs/api.rst:
##########
@@ -158,6 +158,10 @@ Execution Time Components
 
 .. autofunction:: airflow.sdk.log.mask_secret
 
+Observability
+-------------
+.. autoapiclass:: airflow.sdk.Trace

Review Comment:
   Yeah, you can check sphinx autoapi docs here: 
https://sphinx-autoapi.readthedocs.io/en/stable/reference/directives.html
   
   
   it talks about:
   > You can opt to write API documentation yourself using autodoc style 
directives. These directives work similarly to autodoc, but docstrings are 
retrieved through static analysis instead of through imports.
   
   static is the key above



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