mirror of
				https://github.com/clearml/clearml
				synced 2025-06-26 18:16:07 +00:00 
			
		
		
		
	Fix None values get casted to empty strings when connecting a dictionary
				
					
				
			This commit is contained in:
		
							parent
							
								
									603d74da57
								
							
						
					
					
						commit
						e53c4008a1
					
				| @ -1215,7 +1215,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin): | ||||
|                     section = hyperparams.get(section_name, dict()) | ||||
|                     org_param = org_hyperparams.get(section_name, dict()).get(key, None) | ||||
|                     param_type = params_types.get(org_k) or ( | ||||
|                         org_param.type if org_param is not None and org_param.type else | ||||
|                         org_param.type if org_param is not None and (org_param.type or v == "") else | ||||
|                         get_basic_type(v) if v is not None else None | ||||
|                     ) | ||||
|                     if param_type and not isinstance(param_type, str): | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 allegroai
						allegroai