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

# @morph.func

By adding the `@morph.func` annotation, you can register the function to be executed with morph.

```python theme={"dark"}
@morph.func(
    name: str | None = None,
    description: str | None = None,
)
def func_name(context):
	# write your code here
```

## Parameters

<ParamField body="name" type="string" default="Function name">
  The name of the process, which can also be used as an alias when called from other files.
</ParamField>

<ParamField body="description" type="string">
  A description of the process can be written.
</ParamField>

## How to Use

```python theme={"dark"}
@morph.func(
    name="example_python_cell",
    description="Example Python cell",
)
def get_data_from_database(context):
    # write your code here
	return pd.DataFrame({
        "name": ["John", "Doe"],
        "age": [20, 30],
    })
```
