Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions 01_getting_started.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def main():
Panel(
Markdown(main.__doc__.strip()),
title="Prefect Workflow Guide",
border_style="blue",
border_style="bold blue",
padding=(1, 2),
)
)
Expand Down Expand Up @@ -76,9 +76,12 @@ def main():
show_footer=True,
box=box.ROUNDED,
)
table.add_column("Customer ID", style="cyan", footer="Total")
table.add_column("Customer ID", style="cyan", footer="Total", footer_style="bold")
table.add_column(
"Status", style="green", footer=f"[bold]{len(results)} Processed[/bold]"
"Status",
style="green",
footer=f"{len(results)} Processed",
footer_style="bold",
)

# Use zip to map results back to their original IDs more reliably
Expand All @@ -96,9 +99,10 @@ def main():
)
)

console.print(Rule("Next Step", style="blue"))
console.print()
console.print(Rule("πŸš€ Next Step", style="bold blue"))
console.print(
"Try running [cyan]python 02_logging.py[/cyan] to learn about logging in Prefect!"
"[bold blue]Try running [cyan]python 02_logging.py[/cyan] to learn about logging in Prefect![/bold blue]"
)

return results
Expand Down
14 changes: 9 additions & 5 deletions 02_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def main():
Panel(
Markdown(main.__doc__.strip()),
title="Prefect Workflow Guide",
border_style="blue",
border_style="bold blue",
padding=(1, 2),
)
)
Expand Down Expand Up @@ -85,9 +85,12 @@ def main():
show_footer=True,
box=box.ROUNDED,
)
table.add_column("Customer ID", style="cyan", footer="Total")
table.add_column("Customer ID", style="cyan", footer="Total", footer_style="bold")
table.add_column(
"Status", style="green", footer=f"[bold]{len(results)} Processed[/bold]"
"Status",
style="green",
footer=f"{len(results)} Processed",
footer_style="bold",
)

# Use zip to map results back to their original IDs more reliably
Expand All @@ -105,9 +108,10 @@ def main():
)
)

console.print(Rule("Finishing Up", style="blue"))
console.print()
console.print(Rule("πŸŽ‰ Finishing Up", style="bold blue"))
console.print(
"[bold blue]πŸŽ‰ You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/bold blue]"
"[bold blue]You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/bold blue]"
)

return results
Expand Down
Loading