The page you navigated to   does not exist, so we brought you to the closest page to it.
           
        
flytekit.remote.lazy_entity  
        
 
    
        0.1.dev2192+g7c539c3.d20250403
     
    flytekit.remote.lazy_entity 
  
      
          Class 
          Description 
       
   
  
      
          
LazyEntity 
          Fetches the entity when the entity is called or when the entity is retrieved. 
       
   
  
      
          Property 
          Type 
          Description 
       
   
  
      
          T 
          TypeVar 
           
       
   
Fetches the entity when the entity is called or when the entity is retrieved.
The entity is derived from RemoteEntity so that it behaves exactly like the mimicked entity.
    
         
    
    class  LazyEntity (
    name: str,
     getter: typing. Callable[[], ~ T],
     args,
     kwargs,
 )  
 
  
      
          Parameter 
          Type 
       
   
  
      
          name 
          str 
       
      
          getter 
          typing.Callable[[], ~T] 
       
      
          args 
          *args 
       
      
          kwargs 
          **kwargs 
       
   
    
         
    
    def  compile (
    ctx: flytekit. core. context_manager. FlyteContext,
     args,
     kwargs,
 )  
 
  
      
          Parameter 
          Type 
       
   
  
      
          ctx 
          flytekit.core.context_manager.FlyteContext 
       
      
          args 
          *args 
       
      
          kwargs 
          **kwargs 
       
   
    
         
    
    def  construct_node_metadata () 
 
Used when constructing the node that encapsulates this task as part of a broader workflow definition.
    
         
    
    def  execute (
    kwargs,
 ) ->  typing. Any  
 
  
      
          Parameter 
          Type 
       
   
  
      
          kwargs 
          **kwargs 
       
   
    
         
    
    def  local_execute (
    ctx: flytekit. core. context_manager. FlyteContext,
     kwargs,
 ) ->  typing. Union[typing. Tuple[flytekit. core. promise. Promise], flytekit. core. promise. Promise, flytekit. core. promise. VoidPromise, NoneType]  
 
  
      
          Parameter 
          Type 
       
   
  
      
          ctx 
          flytekit.core.context_manager.FlyteContext 
       
      
          kwargs 
          **kwargs 
       
   
    
         
    
    def  local_execution_mode () 
 
  
      
          Property 
          Type 
          Description 
       
   
  
      
          entity 
           
          If not already fetched / available, then the entity will be force fetched.
 
       
      
          id 
           
           
       
      
          name 
           
           
       
      
          python_interface