Slackbot
03/07/2023, 10:55 AMIdo (Ploomber)
ploomber status ?Ido (Ploomber)
Eduardo
"""documentation for my script/notebook
"""Eduardo
Nil
03/08/2023, 8:21 AMNil
03/08/2023, 8:22 AMNil
03/08/2023, 8:48 AMNil
03/08/2023, 8:49 AM*def* func1():
...
*def* func2():
...
*if* __name__ *==* "__main__":
func1()
func2()Nil
03/08/2023, 8:49 AMEduardo
def func():
"""some comment"""
...
if you want to customize the output of ploomber status you can use the Python API, you can load your pipeline with this: https://docs.ploomber.io/en/latest/cookbook/spec-load-python.html
then call dag.status() and then you can manipulate the object, this is undocumented, so I can help if you have issues. here's the Table object that it'll return: https://github.com/ploomber/ploomber/blob/2a6287f1beea9f51ecbe59ddebac266cef6c77e8/src/ploomber/table.py#L69Nil
03/09/2023, 8:21 AMEduardo
Ido (Ploomber)