Skip to content

fix: remove Panel border from work-pool create sample code output#20906

Open
Br1an67 wants to merge 1 commit intoPrefectHQ:mainfrom
Br1an67:fix/work-pool-create-remove-panel-border
Open

fix: remove Panel border from work-pool create sample code output#20906
Br1an67 wants to merge 1 commit intoPrefectHQ:mainfrom
Br1an67:fix/work-pool-create-remove-panel-border

Conversation

@Br1an67
Copy link

@Br1an67 Br1an67 commented Mar 1, 2026

Remove the rich.Panel border that wraps the example deploy script printed by prefect work-pool create --provision-infra. The bordered output ( bars on every line) makes the sample code difficult to copy-paste from the terminal.

The Syntax block is now rendered directly (still syntax-highlighted, just without the box). The filename is preserved as a # example_deploy_script.py comment at the top of the code block. Applied consistently across ECS, Cloud Run, and Azure Container Instance provisioners.

Closes #20228

Checklist

  • This pull request references any related issue by including "closes #20228"
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

Replace Panel-wrapped Syntax blocks with plain Syntax blocks in the
ECS, Cloud Run, and Azure Container Instance provisioners. The Panel
borders made the example code difficult to copy-paste from the terminal.
The filename is now included as a Python comment in the code block.

Closes PrefectHQ#20228
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 1, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing Br1an67:fix/work-pool-create-remove-panel-border (e2c839f) with main (13e96b7)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prefect work-pool create output uselessy outputs a border around sample code

1 participant