User¶
Interface to operate the user.
-
class
rayvision_api.operators.user.
UserOperator
(connect)¶ Bases:
object
API user information operator.
-
get_hardware_config
(task_ids=None)¶ Get platform hardware configuration information.
Parameters: task_ids (list[str]) – Specify hardware configuration information for a task. Returns:
-
get_transfer_bid
()¶ Get user transfer BID.
Returns: - Transfer bid info.
- e.g.:
- {
- “config_bid”: “30201”, “output_bid”: “20201”, “input_bid”: “10201”
}
Return type: dict
-
info
¶
-
query_user_profile
()¶ Get user profile.
Returns: - User profile info.
- e.g.:
- {
- “userId”: 10001136, “userName”: “rayvision”, “platform”: 2, “phone”: “173333333333”, “email”: “”, “company”: “”, “name”: “”, “job”: “”, “communicationNumber”: “”, “softType”: 2000, “softStatus”: 1, “businessType”: 1, “status”: 1, “infoStatus”: 0, “accountType”: 1,
}
Return type: dict
-
query_user_setting
()¶ Get user setting.
Returns: - The information of the user settings.
- e.g.:
- {
- “infoStatus”: null, “accountType”: null, “shareMainCapital”: 0, “subDeleteTask”: 0, “useMainBalance”: 0, “singleNodeRenderFrames”: “1”, “maxIgnoreMapFlag”: “1”, “autoCommit”: “2”, “separateAccountFlag”: 0, “mifileSwitchFlag”: 0, “assfileSwitchFlag”: 0, “manuallyStartAnalysisFlag”: 0, “downloadDisable”: 0, “taskOverTime”: 12
}
Return type: dict
-
update_user_settings
(task_over_time)¶ Update user settings.
Parameters: task_over_time (int) – The task timeout is set in seconds.
-
user_id
¶
-