(value: Any)
| 415 | (aspect_ratio, image_size) 归一化后的值 |
| 416 | """ |
| 417 | def _normalize_str(value: Any) -> Optional[str]: |
| 418 | if not isinstance(value, str): |
| 419 | return None |
| 420 | text = value.strip() |
| 421 | return text if text else None |
| 422 | |
| 423 | def _read_value(obj: Any, *keys: str) -> Any: |
| 424 | if obj is None: |
no outgoing calls
no test coverage detected