Commit 2c6c4ac
committed
refactor(rlsapi): drop redundant None assignments in response builders
- RlsapiV1InferData Optional fields already default to None via
Field(None, ...), so explicit None assignments are unnecessary
- Applies to _build_infer_response non-verbose branch and
_check_shield_moderation blocked response
Signed-off-by: Major Hayden <major@redhat.com>1 parent 7508746 commit 2c6c4ac
1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | 398 | | |
405 | 399 | | |
406 | 400 | | |
| |||
549 | 543 | | |
550 | 544 | | |
551 | 545 | | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | 546 | | |
559 | 547 | | |
560 | 548 | | |
| |||
0 commit comments