def METHOD_NAME(self, environment_spec):
    """
    Create an environment
    :param environment_spec: submarine environment spec
    :return: submarine environment
    """
    response = self.environment_api.METHOD_NAME(environment_spec=environment_spec)
    return response.result