(self, is_evaluating, init_from_env=None, stack_size=None)
return self.WRAPPER_CLS(env=env, env_bldr_that_built_me=self)
Args:
            init_from_env:              Optional.
                                        An instance of the same PokerEnv subclass to be created with this wrapper.
                                        Its deck, etc. is used to initialize the one to the exact same state and
                                        future randomness.

            is_evaluating (bool):       if True, no stack-size randomization is applied to the environment.

            stack_size (int):           Optional.
                                        list of n_seats ints. if provided: the environment will use these stack-
                                        sizes as the default starting point. If not provided, the env will use
                                        the standard stack sizes given by the EnvBuilder instance this is called in.

        Returns:
            EnvWrapper subclass instance
Args:
            init_from_env:              Optional.
                                        An instance of the same PokerEnv subclass to be created with this wrapper.
                                        Its deck, etc. is used to initialize the one to the exact same state and
                                        future randomness.
Args : init_from_env : Optional . An instance of the same PokerEnv subclass to be created with this wrapper . Its deck etc . is used to initialize the one to the exact same state and future randomness .
def get_new_wrapper(self, is_evaluating, init_from_env=None, stack_size=None):
        """
        Args:
            init_from_env:              Optional.
                                        An instance of the same PokerEnv subclass to be created with this wrapper.
                                        Its deck, etc. is used to initialize the one to the exact same state and
                                        future randomness.

            is_evaluating (bool):       if True, no stack-size randomization is applied to the environment.

            stack_size (int):           Optional.
                                        list of n_seats ints. if provided: the environment will use these stack-
                                        sizes as the default starting point. If not provided, the env will use
                                        the standard stack sizes given by the EnvBuilder instance this is called in.

        Returns:
            EnvWrapper subclass instance
        """
        if init_from_env is None:
            env = self.get_new_env(is_evaluating=is_evaluating, stack_size=stack_size)
        else:
            env = init_from_env
        return self.WRAPPER_CLS(env=env, env_bldr_that_built_me=self)
def get_new_wrapper ( self , is_evaluating , init_from_env = None , stack_size = None ) : if init_from_env is None : env = self . get_new_env ( is_evaluating = is_evaluating , stack_size = stack_size ) else : env = init_from_env return self . WRAPPER_CLS ( env = env , env_bldr_that_built_me = self )