We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67346fe commit 722e057Copy full SHA for 722e057
1 file changed
python/borinud/v1/utils.py
@@ -28,5 +28,17 @@ def params2record(p):
28
if k1 in p and p.get(k1) != "*" and p.get(k1) is not None
29
}}
30
31
+ # https://github.com/ARPA-SIMC/dballe/issues/201
32
+ #Viene aggiunta la possibilità di specificare
33
+ #leveltype2=MISSING_INT-1 o leveltype2="-", per significare "il
34
+ #valore nel database deve essere "mancante" invece di "qualunque"
35
+
36
+ # solo per sistemi a 64 bit
37
+ REQUIRED_MISSING_INT = 2147483646
38
39
+ for tl2 in ("leveltype2","l2"):
40
+ if (tl2 in q):
41
+ if (q[tl2] is None):
42
+ q[tl2]= REQUIRED_MISSING_INT
43
44
return q
0 commit comments