from typing import Dict
from typing import Any


def get_schema_type(arg_schema: Dict[str, Any]) -> str:
    """Returns the schema type for an argument.

    Args:
        arg_schema: dict(str, *). Schema for an argument.

    Returns:
        str. Returns schema type by extracting it from schema.
    """
    return arg_schema['schema']['type']