Client APIs
Type Annotation
When the function has type annotation it's often possible to leave out all of the optional parameters.
Using `DuckDBPyType` we can implicitly convert many known types to DuckDBs type system.
For example:  
```python
import duckdb

def my_function(x: int) -> str:
return x

duckdb.create_function("my_func", my_function)
print(duckdb.sql("SELECT my_func(42)"))
```  
```text
┌─────────────┐
│ my_func(42) │
│   varchar   │
├─────────────┤
│ 42          │
└─────────────┘
```  
If only the parameter list types can be inferred, you'll need to pass in `None` as `parameters`.