def test(ctx: ClickContext): app: 'App' = ctx.find_root().obj app.print()
def __init__(self, ctx: ClickContext): self.app: App = ctx.find_root().obj or App() self.ctx: ClickContext = ctx