> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Client Utils

[<img src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />](https://github.com/open-metadata/OpenMetadata/tree/main/ingestion/src/metadata/ingestion/ometa/client_utils.py#L0")

# module `client_utils`

OMeta client create helpers

***

[<img src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />](https://github.com/open-metadata/OpenMetadata/tree/main/ingestion/src/metadata/ingestion/ometa/client_utils.py#L29")

## function `create_ometa_client`

```python theme={null}
create_ometa_client(metadata_config: OpenMetadataConnection) → OpenMetadata
```

Create an OpenMetadata client

**Args:**

* `metadata_config` (OpenMetadataConnection):  OM connection config

**Returns:**

* `OpenMetadata`:  an OM client

***

[<img src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />](https://github.com/open-metadata/OpenMetadata/tree/main/ingestion/src/metadata/ingestion/ometa/client_utils.py#L50")

## function `get_chart_entities_from_id`

```python theme={null}
get_chart_entities_from_id(
    chart_ids: List[str],
    metadata: OpenMetadata,
    service_name: str
) → List[EntityReference]
```

Method to get the chart entity using get\_by\_name api

***
