generating python code from openapi-v2.yaml

Hello,

I’m trying to generate python code from the openapi-v2.yaml file.

For that I installed GitHub - openapi-generators/openapi-python-client: Generate modern Python clients from OpenAPI This seems to convert the yaml, yet the generated readme contains examples that don’t work, e.g.:

from pipedrive_api_v_2_client.models import MyDataModel
from pipedrive_api_v_2_client.api.my_tag import get_my_data_model
from pipedrive_api_v_2_client.types import Response

get_my_data_model for example is nowhere to be found, neither anything that looks like that.

Pipedrive suggests GitHub - jscott1989/python-pipedrive: Python API for interacting with the pipedrive.com API but that’s a v1 library.

Any ideas?