Commit f1b26ca
cli(proxy): lazily import flyte.remote to keep CLI startup fast
Addresses review feedback: the flyte.remote client stack is heavy and was imported
at module top, slowing every 'flyte' CLI invocation. Move it into the app command's
name-resolution branch so it only loads when resolving an app by name (the --url
path skips it entirely).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fe7405c commit f1b26ca
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments