flytekit.core.class_based_resolver 
    
        0.1.dev2192+g7c539c3.d20250403
     
    flytekit.core.class_based_resolver 
Stores tasks inside a class variable. The class must be inherited from at the point of usage because the task
loading process basically relies on the same sequence of things happening.
    
        
    class  ClassStorageTaskResolver (
    args,
     kwargs,
 )  
  
      
          Parameter 
          Type 
       
   
  
      
          args*args 
      
          kwargs**kwargs 
   
  
      
          Method 
          Description 
       
   
  
      
          
add() 
           
      
          
find_lhs() 
           
      
          
get_all_tasks() 
          Future proof method. 
       
      
          
load_task() 
          Given the set of identifier keys, should return one Python Task or raise an error if not found. 
       
      
          
loader_args() 
          This is responsible for turning an instance of a task into args that the load_task function can reconstitute. 
       
      
          
name() 
           
      
          
task_name() 
          Overridable function that can optionally return a custom name for a given task. 
       
   
    
        
    def  add (
    t: flytekit. core. python_auto_container. PythonAutoContainerTask,
 )  
  
      
          Parameter 
          Type 
       
   
  
      
          tflytekit.core.python_auto_container.PythonAutoContainerTask 
   
Future proof method. Just making it easy to access all tasks (Not required today as we auto register them)
    
        
    def  load_task (
    loader_args: typing. List[str],
 ) ->  flytekit. core. python_auto_container. PythonAutoContainerTask  
Given the set of identifier keys, should return one Python Task or raise an error if not found
  
      
          Parameter 
          Type 
       
   
  
      
          loader_argstyping.List[str] 
   
    
        
    def  loader_args (
    settings: flytekit. configuration. SerializationSettings,
     t: flytekit. core. python_auto_container. PythonAutoContainerTask,
 ) ->  typing. List[str]  
This is responsible for turning an instance of a task into args that the load_task function can reconstitute.
  
      
          Parameter 
          Type 
       
   
  
      
          settingsflytekit.configuration.SerializationSettings 
      
          tflytekit.core.python_auto_container.PythonAutoContainerTask 
   
    
        
    def  task_name (
    t: flytekit. core. base_task. Task,
 ) ->  typing. Optional[str]  
Overridable function that can optionally return a custom name for a given task
  
      
          Parameter 
          Type 
       
   
  
      
          tflytekit.core.base_task.Task 
   
  
      
          Property 
          Type 
          Description 
       
   
  
      
          instantiated_in 
      
          lhs 
      
          location