(src)
| 573 | |
| 574 | |
| 575 | def is_file(src): |
| 576 | try: |
| 577 | return ( |
| 578 | isinstance(src, str) and |
| 579 | os.path.isfile(src) |
| 580 | ) |
| 581 | except TypeError: # a data string will make isfile() raise a TypeError |
| 582 | return False |
| 583 | |
| 584 | |
| 585 | def _import_image_params(repo, tag, image=None, src=None, |
no outgoing calls
no test coverage detected