Commit 0ee0a78
committed
Fix typer signature inspection issue with CodegenSession
- Updated requires_auth decorator to hide session parameter from Typer's signature inspection
- This prevents the 'Type not yet supported: CodegenSession' runtime error
- Typer now only sees the actual CLI parameters, not the injected session parameter1 parent dc0f696 commit 0ee0a78
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
0 commit comments