code: async def retry_create_artifact(*args, **kwargs):
      
      await retry_async(
          create_artifact,
          retry_exceptions=(
              ScriptWorkerRetryException,
              aiohttp.ClientError
          ),
          args=args,
          kwargs=kwargs
      )
docs: Retry create_artifact() calls.
  
      Args:
          *args: the args to pass on to create_artifact
          **kwargs: the args to pass on to create_artifact