You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with finding the parameter by name.
using something like: prm = wb_parameters.get_parameter_by_name(param)
I have changed the following and it works:
def get_parameter_by_name(self, parameter_name: str) -> TableauParameter:
for p in self._parameters:
# if self.parameters[p].name == parameter_name: ##CHANGE MB
if p == parameter_name:
return self._parameters[p]
else:
raise NoMatchFoundException('No parameter named {}'.format(parameter_name))
Another this is that i was used to just put the (string)data in the parameter and it worked. Now I seem to convert is to its proper type. Problem with list-parameters though...
Hi I love the toolset!
I have a problem with finding the parameter by name.
using something like: prm = wb_parameters.get_parameter_by_name(param)
I have changed the following and it works:
Another this is that i was used to just put the (string)data in the parameter and it worked. Now I seem to convert is to its proper type. Problem with list-parameters though...
The text was updated successfully, but these errors were encountered: