File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed 
packages/models-library/src/models_library Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,18 @@ class LicensedResourceType(StrAutoEnum):
2626    VIP_MODEL  =  auto ()
2727
2828
29- VIP_FEATURES_EXAMPLE  =  {
30-     "name" : "Duke" ,
31-     "version" : "V2.0" ,
32-     "sex" : "Mas bien poco" ,
29+ _VIP_FEATURES_EXAMPLE  =  {
30+     # NOTE: this view is how it would be after parsed and validated 
3331    "age" : "34 years" ,
34-     "weight" : "70.2 Kg" ,
35-     "height" : "1.77 m" ,
3632    "date" : "2015-03-01" ,
3733    "ethnicity" : "Caucasian" ,
3834    "functionality" : "Static" ,
35+     "height" : "1.77 m" ,
36+     "name" : "Duke" ,
37+     "sex" : "Male" ,
38+     "version" : "V2.0" ,
39+     "weight" : "70.2 Kg" ,
40+     # other 
3941    "additional_field" : "allowed" ,
4042}
4143
@@ -58,7 +60,7 @@ class FeaturesDict(TypedDict):
5860    "id" : 1 ,
5961    "description" : "A detailed description of the VIP model" ,
6062    "thumbnail" : "https://example.com/thumbnail.jpg" ,
61-     "features" : VIP_FEATURES_EXAMPLE ,
63+     "features" : _VIP_FEATURES_EXAMPLE ,
6264    "doi" : "10.1000/xyz123" ,
6365    "license_key" : "ABC123XYZ" ,
6466    "license_version" : "1.0" ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments