sceptre/environment.py
def _get_available_stacks(self):
        """
        Returns all the stacks contained in the environment.

        :returns: A list of the environment's stacks.
        :rtype: list
        """
        config_files = glob(os.path.join(
            self.sceptre_dir, "config", self.path, "*.yaml"
        ))
        base_config_file_names = [
            os.path.basename(config_file).split(".")[0]
            for config_file in config_files
        ]
        stack_basenames = [
            basename for basename in base_config_file_names
            if basename != "config"
        ]
        available_stacks = [
            "/".join([self.path, basename])
            for basename in stack_basenames
        ]
        return available_stacks

        Returns all the stacks contained in the environment.

        :returns: A list of the environment's stacks.
        :rtype: list
        
Returns all the stacks contained in the environment.
Returns all the stacks contained in the environment .
def _get_available_stacks(self):
        config_files = glob(os.path.join(
            self.sceptre_dir, "config", self.path, "*.yaml"
        ))
        base_config_file_names = [
            os.path.basename(config_file).split(".")[0]
            for config_file in config_files
        ]
        stack_basenames = [
            basename for basename in base_config_file_names
            if basename != "config"
        ]
        available_stacks = [
            "/".join([self.path, basename])
            for basename in stack_basenames
        ]
        return available_stacks
def _get_available_stacks ( self ) : config_files = glob ( os . path . join ( self . sceptre_dir , "config" , self . path , "*.yaml" ) ) base_config_file_names = [ os . path . basename ( config_file ) . split ( "." ) [ 0 ] for config_file in config_files ] stack_basenames = [ basename for basename in base_config_file_names if basename != "config" ] available_stacks = [ "/" . join ( [ self . path , basename ] ) for basename in stack_basenames ] return available_stacks
Returns all the stacks contained in the environment.
Returns all the stacks contained in the environment .
"""
        Returns all the stacks contained in the environment.

        :returns: A list of the environment's stacks.
        :rtype: list
        """
A list of the environment's stacks.
A list of the environment ' s stacks .
list
self