pyapacheatlas icon indicating copy to clipboard operation
pyapacheatlas copied to clipboard

Request timed out

Open EdoMatt opened this issue 2 years ago • 1 comments

I want to extract my glossary, more or less 6000 terms. The request for the glossary needs too much time to complete. I tried to set a timeout, like in the picture below, but it doesn't work.

How can I solve the problem? image

EdoMatt avatar Aug 01 '22 13:08 EdoMatt

Hi, @EdoMatt ! Thank you for using PyApacheAtlas. This looks to be a server side issue unfortunately.

Have you considered using the export option instead? https://wjohnson.github.io/pyapacheatlas-docs/latest/pyapacheatlas.core.html#pyapacheatlas.core.client.PurviewClient.export_terms

The only challenge with this is that you have to coordinate based on Term Templates. You cannot mix two terms from different term templates in the same export.

Alternatively, set detailed=False and then you could call each glossary term individually via https://wjohnson.github.io/pyapacheatlas-docs/latest/pyapacheatlas.core.html#pyapacheatlas.core.glossary.GlossaryClient.get_term

Definitely not efficient but you'd certainly avoid the timeout issue.

wjohnson avatar Aug 01 '22 16:08 wjohnson

Closed, over 30 days with no follow up.

wjohnson avatar Sep 04 '22 04:09 wjohnson