File size: 348 Bytes
153d007
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Template for custom function or Pydantic model."""

from pydantic import BaseModel
from pydantic import Field


def my_function(arg1: str, arg2: int) -> int:
    """My function. Docstrings and arguments are useful for function calls.

    Args:
        arg1: The first argument.
        arg2: The second argument.
    """
    return arg1 + arg2