mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-30 01:59:23 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.7 KiB
		
	
	
	
	
	
	
	
| title | slug | 
|---|---|
| Utils | /sdk/python/api-reference/utils | 
module utils
Helper functions to handle OpenMetadata Entities' properties
function format_name
format_name(name: str) → str
Given a name, replace all special characters by _ :param name: name to format :return: formatted string
function get_entity_type
get_entity_type(entity: Union[Type[~T], str]) → str
Given an Entity T, return its type. E.g., Table returns table, Dashboard returns dashboard...
Also allow to be the identity if we just receive a string
function model_str
model_str(arg: Any) → str
Default model stringifying method.
Some elements such as FQN, EntityName, UUID have the actual value under the pydantic base root
