Skip to content

Commit 22bc7fa

Browse files
yt-msMidnighter
authored andcommitted
fix: restore main() in big_bank.py (PR feedback)
1 parent cb851ee commit 22bc7fa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

examples/big_bank.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
from structurizr.view import ElementStyle, PaperSize, RelationshipStyle, Shape
2929

3030

31-
def create_big_bank():
31+
def main():
32+
"""Standard entry point for examples. Do not rename."""
33+
return create_big_bank_workspace()
34+
35+
36+
def create_big_bank_workspace():
3237
"""Create the big bank example."""
3338

3439
workspace = Workspace(
@@ -464,4 +469,4 @@ def create_big_bank():
464469

465470
if __name__ == "__main__":
466471
logging.basicConfig(level="INFO")
467-
create_big_bank()
472+
main()

0 commit comments

Comments
 (0)