Initializing help system before first use

xpressinsight.scenario.ScalarUpdate

Purpose
Representation of an update to be applied to the value of a scalar entity.
Synopsis
class xpressinsight.ScalarUpdate(scenario.EntityUpdate)
Arguments
entity_name: str 
The name of the entity being updated.
value: Union[str, int, float, bool] 
The new value for the scalar. Must match the type of the entity in the target scenario.
Example
Update the value of the entity MAX_HOURS_PER_WEEK in the scenario 570b9100-46e3-4643-baee-2e24aa538f25 to 40.5.
>>> with ins.InsightRestClient(insight_url='http://localhost:8080/') as client:
...     client.update_scenario_data('570b9100-46e3-4643-baee-2e24aa538f25', [
...         ScalarUpdate('MAX_HOURS_PER_WEEK', 40.5)])			
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.