(obj: Optional[Dict])
| 553 | |
| 554 | |
| 555 | def object_to_array(obj: Optional[Dict]) -> Optional[List[NameValue]]: |
| 556 | if not obj: |
| 557 | return None |
| 558 | result = [] |
| 559 | for key, value in obj.items(): |
| 560 | result.append(NameValue(name=key, value=str(value))) |
| 561 | return result |
| 562 | |
| 563 | |
| 564 | def is_file_payload(value: Optional[Any]) -> bool: |
no test coverage detected