Commit 8c6284d
committed
refactor: accept only table name strings in _resolve_table
Every caller of BaseExpressionRenderer._resolve_table passes a normalized
model name string: this_model resolution passes the model's FQN, and the
resolve_table macro normalizes its argument with normalize_model_name first.
The exp.Expr branch was reachable only from a test that called the private
method directly, so narrow the signature to str and delete that test.
Signed-off-by: mday-io <mdaytn@gmail.com>1 parent 21adbfb commit 8c6284d
2 files changed
Lines changed: 2 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9900 | 9900 | | |
9901 | 9901 | | |
9902 | 9902 | | |
9903 | | - | |
9904 | | - | |
9905 | | - | |
9906 | | - | |
9907 | | - | |
9908 | | - | |
9909 | | - | |
9910 | | - | |
9911 | | - | |
9912 | | - | |
9913 | | - | |
9914 | | - | |
9915 | | - | |
9916 | | - | |
9917 | | - | |
9918 | | - | |
9919 | | - | |
9920 | | - | |
9921 | | - | |
9922 | | - | |
9923 | | - | |
9924 | | - | |
9925 | | - | |
9926 | | - | |
9927 | | - | |
9928 | | - | |
9929 | | - | |
9930 | | - | |
9931 | | - | |
9932 | | - | |
9933 | | - | |
9934 | | - | |
9935 | 9903 | | |
9936 | 9904 | | |
9937 | 9905 | | |
| |||
0 commit comments