Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the ore-python modules is missing the method: "setScriptLibrary" #258

Open
JulianGong opened this issue Jul 25, 2024 · 1 comment
Open

Comments

@JulianGong
Copy link

import ORE as ore
params = ore.InputParameters()
print(params.__dir__())

I found that it is missing the method: "setScriptLibrary".

@rkapl123
Copy link
Contributor

Hi Julian!

The ORE SWIG is missing a lot of methods (and classes), as stated in the "Contributing" section of https://github.com/OpenSourceRisk/ORE-SWIG "The easiest way to contribute additional interface files is through pull requests on GitHub. .... We're looking forward to your contributions."

Judging from the c++ code, a swig implementation for this should be straightforward and similar to

    void setTodaysMarketParams(const std::string& xml);
    void setTodaysMarketParamsFromFile(const std::string& fileName);

Besides contributing a pull request, if you're really interested in that method, a better place for this is https://github.com/OpenSourceRisk/ORE-SWIG/issues

-regards
Roland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants