74. Mutace: Ověřit "Equation"
mutace 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"
}) {
provedeno
výsledek
chybováZpráva
}
}Previous73. Dotaz: Získat mřížová data s vybraným bufferemNext75. Mutace: Asynchronně vygenerovat "EquationMap"
Last updated
Was this helpful?