74. التعديل: التحقق من "Equation"
mutation VerifyEquation {
verifyEquation(input: {
dataVariables: [{
variable: "yield_vol"
sampleValue: 1.1
}, {
variable: "prod"
sampleValue: 2.2
}]
equationAsText: """calculated = yield_vol/prod + 3.5
if calculated >= 30:
result = 35
elif calculated >= 20 and calculated < 30:
result = 25
else:
result = 15
"""
equationResultVariable: "result"
}) {
executed
result
errorMessage
}
}Previous73. الاستعلام: الحصول على البيانات الشبكية مع المخزن المؤقت المحددNext75. التعديل: إنشاء "EquationMap" بشكل غير متزامن
Last updated
Was this helpful?