sceptre/stack.py
def _get_template_details(self):
        """
        Returns the CloudFormation template location.

        Uploads the template to S3 and returns the object's URL, or returns
        the template itself.

        :returns: The location of the template.
        :rtype: dict
        """
        if "template_bucket_name" in self.environment_config:
            template_url = self.template.upload_to_s3(
                self.region,
                self.environment_config["template_bucket_name"],
                self.environment_config.get("template_key_prefix", ""),
                self._environment_path,
                self.external_name,
                self.connection_manager
            )
            return {"TemplateURL": template_url}
        else:
            return {"TemplateBody": self.template.cfn}

        Returns the CloudFormation template location.

        Uploads the template to S3 and returns the object's URL, or returns
        the template itself.

        :returns: The location of the template.
        :rtype: dict
        
Returns the CloudFormation template location.
Uploads the template to S3 and returns the object's URL, or returns
the template itself.
Returns the CloudFormation template location . Uploads the template to S3 and returns the object ' s URL or returns the template itself .
def _get_template_details(self):
        if "template_bucket_name" in self.environment_config:
            template_url = self.template.upload_to_s3(
                self.region,
                self.environment_config["template_bucket_name"],
                self.environment_config.get("template_key_prefix", ""),
                self._environment_path,
                self.external_name,
                self.connection_manager
            )
            return {"TemplateURL": template_url}
        else:
            return {"TemplateBody": self.template.cfn}
def _get_template_details ( self ) : if "template_bucket_name" in self . environment_config : template_url = self . template . upload_to_s3 ( self . region , self . environment_config [ "template_bucket_name" ] , self . environment_config . get ( "template_key_prefix" , "" ) , self . _environment_path , self . external_name , self . connection_manager ) return { "TemplateURL" : template_url } else : return { "TemplateBody" : self . template . cfn }
Returns the CloudFormation template location.
Returns the CloudFormation template location .
"""
        Returns the CloudFormation template location.

        Uploads the template to S3 and returns the object's URL, or returns
        the template itself.

        :returns: The location of the template.
        :rtype: dict
        """
The location of the template.
The location of the template .
dict
self