Skip to content

version? red.search() returns "TypeError: search() takes 0 positional arguments but 1 was given" #1

@jeff-anderson-sp

Description

@jeff-anderson-sp

Are you using the version available on pypi (refinitiv-dataplatform 1.0.0a0) or do you have a different version from the Early Access Program,etc?

I am using python 3.7 & pip installed refinitiv-dataplatform 1.0.0a0 today, however the rdp.search() & rdp.get_search_metadata() functionality do not work. I can however use other functionality such as rdp.get_historical_price_summaries() & return expected results. Any suggestions as to what is causing this? Code & returned errors below.

import refinitiv.dataplatform as rdp
rdp.open_desktop_session(my_app_key)

rdp.search('TSLA')

"TypeError: search() takes 0 positional arguments but 1 was given"

rdp.get_search_metadata(view = rdp.SearchViews.GovCorpInstruments)

"AttributeError: module 'refinitiv.dataplatform' has no attribute 'get_search_metadata'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions