(args: Dict)
| 374 | |
| 375 | |
| 376 | def locals_to_params(args: Dict) -> Dict: |
| 377 | copy = {} |
| 378 | for key in args: |
| 379 | if key == "self": |
| 380 | continue |
| 381 | if args[key] is not None: |
| 382 | copy[key] = ( |
| 383 | args[key] |
| 384 | if not isinstance(args[key], Dict) |
| 385 | else locals_to_params(args[key]) |
| 386 | ) |
| 387 | return copy |
| 388 | |
| 389 | |
| 390 | def monotonic_time() -> int: |
no outgoing calls
no test coverage detected