(ctx, timeline_id)
Show details for a timeline.

    Args:
        ctx: Click CLI context object.
        timeline_id: Timeline ID from argument.
Show details for a timeline.
Show details for a timeline .
def describe_timeline(ctx, timeline_id):
    """Show details for a timeline.

    Args:
        ctx: Click CLI context object.
        timeline_id: Timeline ID from argument.
    """
    sketch = ctx.obj.sketch
    # TODO (berggren): Add more details to the output, e.g. the data_sources
    timeline = sketch.get_timeline(timeline_id=timeline_id)
    if not timeline:
        click.echo('No such timeline')
        return
    click.echo(f'Name: {timeline.name}')
    click.echo(f'Index: {timeline.index_name}')
def describe_timeline ( ctx , timeline_id ) : sketch = ctx . obj . sketch # TODO (berggren): Add more details to the output, e.g. the data_sources timeline = sketch . get_timeline ( timeline_id = timeline_id ) if not timeline : click . echo ( 'No such timeline' ) return click . echo ( f'Name: {timeline.name}' ) click . echo ( f'Index: {timeline.index_name}' )