File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
tableauserverclient/models Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,5 +161,5 @@ def as_reference(id_: str) -> ResourceReference:
161161
162162    def  to_reference (self : Self ) ->  ResourceReference :
163163        if  self .id  is  None :
164-             raise  ValueError ("UserItem  must have id to be converted to reference"
164+             raise  ValueError (f" { self . __class__ . __qualname__ } 
165165        return  ResourceReference (self .id , self .tag_name )
Original file line number Diff line number Diff line change @@ -55,5 +55,5 @@ def as_reference(id_: str) -> ResourceReference:
5555
5656    def  to_reference (self : Self ) ->  ResourceReference :
5757        if  self .id  is  None :
58-             raise  ValueError ("UserItem  must have id to be converted to reference"
58+             raise  ValueError (f" { self . __class__ . __qualname__ } 
5959        return  ResourceReference (self .id , self .tag_name )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments