Hi everyone,
I like to implement a function that uses the "search" function of the package refinitiv.dataplatform (rdp) whenever it is called. However, when I run such a function, python always gets freezed without posting an error message. The strange thing is that when I run the function in debug mode, it works fine.
Here is a minimal example:
import refinitiv.dataplatform as rdp Name="ADIDAS" def getRelevantCDAXProducts(Name): RDP_LOGIN = "<login>" RDP_PASSWORD = "<password>" APP_KEY = "<app_key>" session = rdp.open_platform_session( APP_KEY, rdp.GrantPassword( username = RDP_LOGIN, password = RDP_PASSWORD ) ) searchResults=rdp.search(view = rdp.SearchViews.EquityQuotes,query=Name) return searchResults results=getRelevantCDAXProducts(Name)
Has anybody an idea why this issue occurs? If not, I would be very grateful if someone would at least try to run the minimal example to see what happens ("please note that you have to add your credentials"). It would be interesting to see whether this is a general problem or not.
Thank you very much!