Skip to main content

module utils

Helper functions to handle OpenMetadata Entities’ properties

function format_name

Given a name, replace all special characters by _ Args: name: name to format Returns: formatted string

function get_entity_type

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

Default model stringifying method. Some elements such as FQN, EntityName, UUID have the actual value under the pydantic base root