Instructions

  • For the open classes described in this section, the same class instance is used in a single thread. Do not use the same class instance in different threads.
  • Note that the length of a function whose input is of the collection data type must be limited based on performance and actual service requirements to prevent potential memory problems.
  • The JSON content passed to APIs cannot contain comments. Otherwise, parsing fails.
  • If there are same key-value pairs of a single object in JSON, APIs retain the last key-value pair as the parsing result by default.
  • Before using Python data structures and methods, ensure that the correct module has been imported.
  • In this section, if the overloaded functions (such as SendData) or the functions have a default value (such as get_result), the parameter names in the functions are defined only to describe the parameter meaning. The input parameters of the actual functions are defined as *args. Do not specify the parameter name when passing parameters.

Python Inference Data Flowchart

Figure 1 Inference data flowchart