Skip to content

Commit f989794

Browse files
fix(snippets): Enable ignore unknown fields setting (#64)
1 parent 477ce28 commit f989794

16 files changed

+16
-0
lines changed

examples/afi_optimizer_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def main():
2727
config.host = host
2828
config.username = username
2929
config.password = password
30+
config.discard_unknown_keys = True
3031
# add proxy and/or disable ssl verification according to your development environment
3132
# config.proxy = "<proxyUrl>"
3233
config.verify_ssl = False

examples/axp_optimizer_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def main():
2929
config.host = host
3030
config.username = username
3131
config.password = password
32+
config.discard_unknown_keys = True
3233
# add proxy and/or disable ssl verification according to your development environment
3334
# config.proxy = "<proxyUrl>"
3435
config.verify_ssl = False

examples/bpm_optimizer_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def main():
2727
config.host = host
2828
config.username = username
2929
config.password = password
30+
config.discard_unknown_keys = True
3031
# add proxy and/or disable ssl verification according to your development environment
3132
# config.proxy = "<proxyUrl>"
3233
config.verify_ssl = False

examples/fi_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def main():
2626
config.host = host
2727
config.username = username
2828
config.password = password
29+
config.discard_unknown_keys = True
2930
# add proxy and/or disable ssl verification according to your development environment
3031
# config.proxy = "<proxyUrl>"
3132
config.verify_ssl = False

examples/fpo_optimizer_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def main():
3030
config.host = host
3131
config.username = username
3232
config.password = password
33+
config.discard_unknown_keys = True
3334
# add proxy and/or disable ssl verification according to your development environment
3435
# config.proxy = "<proxyUrl>"
3536
config.verify_ssl = False

examples/pa_engine_multiple_unit_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def main():
2828
config.host = host
2929
config.username = username
3030
config.password = password
31+
config.discard_unknown_keys = True
3132
# add proxy and/or disable ssl verification according to your development environment
3233
# config.proxy = "<proxyUrl>"
3334
config.verify_ssl = False

examples/pa_engine_single_unit_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def main():
2828
config.host = host
2929
config.username = username
3030
config.password = password
31+
config.discard_unknown_keys = True
3132
# add proxy and/or disable ssl verification according to your development environment
3233
# config.proxy = "<proxyUrl>"
3334
config.verify_ssl = False

examples/pub_engine_multiple_unit_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def main():
2323
config.host = host
2424
config.username = username
2525
config.password = password
26+
config.discard_unknown_keys = True
2627
# add proxy and/or disable ssl verification according to your development environment
2728
# config.proxy = "<proxyUrl>"
2829
config.verify_ssl = False

examples/pub_engine_single_unit_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def main():
2323
config.host = host
2424
config.username = username
2525
config.password = password
26+
config.discard_unknown_keys = True
2627
# add proxy and/or disable ssl verification according to your development environment
2728
# config.proxy = "<proxyUrl>"
2829
config.verify_ssl = False

examples/quant_engine_single_unit_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def main():
2929
config.host = host
3030
config.username = username
3131
config.password = password
32+
config.discard_unknown_keys = True
3233
# add proxy and/or disable ssl verification according to your development environment
3334
# config.proxy = "<proxyUrl>"
3435
config.verify_ssl = False

0 commit comments

Comments
 (0)