from typing import Dict
from typing import Any


def get_type(property_description: Dict[str, Any]) -> str:
    """
    Translate (json)schema property type to something Python understands
    :param property_description: from schema
    :return: string containing Python type
    """
    type_name = property_description['type']

    abstract_type = ''
    if 'items' in property_description and 'type' in property_description['items']:
        abstract_type = property_description['items']['type']
    if type_name == 'array':
        return f'List[{abstract_type}]'
    if type_name == 'object':
        return 'Dict[str, Any]'
    if type_name == 'string':
        return 'str'
    if type_name == 'integer':
        return 'int'
    return 'str'