def _get_image_name(self, uses: Optional[str]):
    import os
    test_pip = (os.getenv('JINA_K8S_USE_TEST_PIP') is not None)
    image_name = ('jinaai/jina:test-pip' if test_pip else f'jinaai/jina:{self.version}-py38-perf')
    if ((uses is not None) and (uses != __default_executor__)):
        image_name = get_image_name(uses)
    return image_name
def _get_image_name(self, uses: Optional[str]):
    import os
    test_pip = (os.getenv('JINA_K8S_USE_TEST_PIP') is not None)
    image_name = ('jinaai/jina:test-pip' if test_pip else f'jinaai/jina:{self.version}-py38-perf')
    if ((uses is not None) and (uses != __default_executor__)):
        image_name = get_image_name(uses)
    return image_name