class_docstr: Manages Custom added Skills and tracks used skills for the query
class_docstr_tok: ["Manages","Custom","added","Skills","and","tracks","used","skills","for","the","query"]
docstr: Get a skill by its name.
  
  Args:
      name (str): The name of the skill to retrieve.
  
  Returns:
      Skill or None: The skill with the given name, or None if not found.
docstr_tok: ["Get","a","skill","by","its","name",".","Args",":","name","(","str",")",":","The","name","of","the","skill","to","retrieve",".","Returns",":","Skill","or","None",":","The","skill","with","the","given","name",",","or","None","if","not","found","."]
code: def get_skill_by_func_name(self, name: str):
      """
      Get a skill by its name.
  
      Args:
          name (str): The name of the skill to retrieve.
  
      Returns:
          Skill or None: The skill with the given name, or None if not found.
      """
      return next(
          (skill for skill in self._skills if skill.name == name), None
      )
  
file_path: pandas-ai/pandasai/helpers/skills_manager.py
imports: from typing import List, Optional
  from pandasai.skills import Skill
label_desc: Use image node_id 4 for calling the SkillsManager obj's underlying member method code with example usage: obj.get_skill_by_func_name(name) and returns: next