(self, profile_name)
Create a profile using the project's profile_template.yml
Create a profile using the project's profile_template.yml
Create a profile using the project s profile_template . yml
def create_profile_using_project_profile_template(self, profile_name):
        """Create a profile using the project's profile_template.yml"""
        with open("profile_template.yml") as f:
            profile_template = yaml.safe_load(f)
        self.create_profile_from_profile_template(profile_template, profile_name)
        profiles_filepath = Path(flags.PROFILES_DIR) / Path("profiles.yml")
        fire_event(
            ProfileWrittenWithProjectTemplateYAML(
                name=profile_name,
                path=str(profiles_filepath)
            )
        )
def create_profile_using_project_profile_template ( self , profile_name ) : with open ( "profile_template.yml" ) as f : profile_template = yaml . safe_load ( f ) self . create_profile_from_profile_template ( profile_template , profile_name ) profiles_filepath = Path ( flags . PROFILES_DIR ) / Path ( "profiles.yml" ) fire_event ( ProfileWrittenWithProjectTemplateYAML ( name = profile_name , path = str ( profiles_filepath ) ) )