diff --git a/01_getting_started.py b/01_getting_started.py index 09a4026..707677f 100644 --- a/01_getting_started.py +++ b/01_getting_started.py @@ -67,6 +67,8 @@ def main(): # Explicitly wait for results to avoid AttributeErrors on futures results = [f.result() for f in futures] + # Add visual breathing room before results + console.print() duration = time.perf_counter() - start_time # Display results in a clean table for better readability @@ -99,6 +101,8 @@ def main(): ) console.print(Rule("Next Step", style="blue")) + console.print( + "Try running [cyan]python 02_logging.py[/cyan] to learn about logging in Prefect!" console.print( "Try running [cyan]python 02_logging.py[/cyan] to learn about logging in Prefect!" console.print() diff --git a/02_logging.py b/02_logging.py index 72e087a..c967a05 100644 --- a/02_logging.py +++ b/02_logging.py @@ -76,6 +76,8 @@ def main(): # Explicitly wait for results to avoid AttributeErrors on futures results = [f.result() for f in futures] + # Add visual breathing room before results + console.print() duration = time.perf_counter() - start_time # Display results in a clean table for better readability @@ -98,6 +100,9 @@ def main(): console.print() duration = time.perf_counter() - start_time + console.print( + Panel.fit( + f"[bold green]✨ Successfully processed {len(results)} customers with detailed logging in {duration:.2f}s![/bold green]", console.print( Panel.fit( @@ -107,6 +112,7 @@ def main(): ) ) + console.print(Rule("Conclusion", style="blue")) console.print(Rule("Next Step", style="blue")) console.print(Rule("Conclusion", style="blue")) console.print( @@ -114,7 +120,7 @@ def main(): 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]" + "🎉 You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features." ) return results