Hi,
I was trying to merge tickets using the HubSpot Client pacakage in python. But I kept getting the error message:
AttributeError: ‘Discovery’ object has no attribute ‘public_object_api’
But I could merge tickets using the requests package making the post call. I then found that in the file hubspot/discovery/crm/tickets/discovery.py it’s missing the lines
@property
def public_object_api(self) → api_client.PublicObjectApi:
return self._configure_api_client(api_client, “PublicObjectApi”)
This was missing in the source code available online too. I copied that from the same file in companies. After adding that I could perform a merge using the code as described in the API reference
I wanted to flag this both for other people having the same issue and as a bug to be fixed by HubSpot