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

"get_parameter_value_items" not working #135

Open
Mastomaki opened this issue Oct 11, 2024 · 1 comment
Open

"get_parameter_value_items" not working #135

Mastomaki opened this issue Oct 11, 2024 · 1 comment

Comments

@Mastomaki
Copy link

The following DB request does not work:

p = SpineInterface.run_request(db_url, "call_method", ("get_parameter_value_items",), Dict(
		"entity_class_name" => "model",
                "entity_byname" => ("kahvi",),
		"parameter_definition_name" => "model_end")
	)  

whereas the following works:

p = SpineInterface.run_request(db_url, "call_method", ("get_parameter_value_item",), Dict(
		"entity_class_name" => "model",
                "entity_byname" => ("kahvi",),
                "alternative_name" => "Base",
		"parameter_definition_name" => "model_end")
)  

Notice "item" vs. "items". These are both valid functions.

@Mastomaki
Copy link
Author

getparvaldb.json

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

1 participant