From 92bc4e4b3a8d2d83607204031e7389f9b0ee03e7 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Wed, 5 Feb 2025 07:48:21 -0600 Subject: [PATCH 01/10] Add Python 3.13 support --- .../run_examples_using_pypi_uploads/action.yml | 2 +- .travis.yml | 3 ++- build/templates/setup.py.mako | 1 + build/templates/tox-system_tests.ini.mako | 6 +++--- generated/nidcpower/setup.py | 1 + generated/nidcpower/tox-system_tests.ini | 4 ++-- generated/nidigital/setup.py | 1 + generated/nidigital/tox-system_tests.ini | 6 +++--- generated/nidmm/setup.py | 1 + generated/nidmm/tox-system_tests.ini | 4 ++-- generated/nifake/setup.py | 1 + generated/nifake/tox-system_tests.ini | 6 +++--- generated/nifgen/setup.py | 1 + generated/nifgen/tox-system_tests.ini | 6 +++--- generated/nimodinst/setup.py | 1 + generated/nimodinst/tox-system_tests.ini | 4 ++-- generated/niscope/setup.py | 1 + generated/niscope/tox-system_tests.ini | 6 +++--- generated/nise/setup.py | 1 + generated/nise/tox-system_tests.ini | 4 ++-- generated/niswitch/setup.py | 1 + generated/niswitch/tox-system_tests.ini | 4 ++-- generated/nitclk/setup.py | 1 + generated/nitclk/tox-system_tests.ini | 6 +++--- tox-travis.ini | 16 ++++++++-------- tox.ini | 16 ++++++++-------- 26 files changed, 58 insertions(+), 46 deletions(-) diff --git a/.github/actions/run_examples_using_pypi_uploads/action.yml b/.github/actions/run_examples_using_pypi_uploads/action.yml index f112987cb..d46cb5dc9 100644 --- a/.github/actions/run_examples_using_pypi_uploads/action.yml +++ b/.github/actions/run_examples_using_pypi_uploads/action.yml @@ -15,7 +15,7 @@ runs: steps: # The local wheel installation and single environment would have made using tox-system_tests.ini difficult. # To keep things simple, we just use pip and pytest directly for a single Python version. - - run: py -3.12 -m venv --clear .venv + - run: py -3.13 -m venv --clear .venv shell: powershell - run: | .venv\Scripts\Activate.ps1 diff --git a/.travis.yml b/.travis.yml index 39a66604f..198a2c1c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,11 @@ matrix: include: # We run tests on the latest supported version of Python first. # This is where additional tests are run so we give it more time. - - python: "3.12" + - python: "3.13" - python: "3.9" - python: "3.10" - python: "3.11" + - python: "3.12" install: - travis_retry sudo apt-get -y install python3-pip diff --git a/build/templates/setup.py.mako b/build/templates/setup.py.mako index e9f05f726..6b4f40070 100644 --- a/build/templates/setup.py.mako +++ b/build/templates/setup.py.mako @@ -63,6 +63,7 @@ setup( "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/build/templates/tox-system_tests.ini.mako b/build/templates/tox-system_tests.ini.mako index cd3f27d5a..4070299d6 100644 --- a/build/templates/tox-system_tests.ini.mako +++ b/build/templates/tox-system_tests.ini.mako @@ -11,7 +11,7 @@ wheel_env_no_py = '{}-wheel_dep'.format(module_name) # We only actually need to build it once, but we specify multiple versions here # to prevent tox from trying to build the wheel with an unsupported (earlier) Python version - wheel_env = 'py{39,310,311,312}-' + wheel_env_no_py + ',' + wheel_env = 'py{39,310,311,312,313}-' + wheel_env_no_py + ',' uses_other_wheel = True if module_name == 'nitclk': # nitclk system tests use niscope @@ -28,7 +28,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/${module_name}) [tox] -envlist = ${wheel_env}py{39,310,311,312}-${module_name}-system_tests, py312-${module_name}-coverage +envlist = ${wheel_env}py{39,310,311,312,313}-${module_name}-system_tests, py313-${module_name}-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -87,7 +87,7 @@ deps = ${module_name}-coverage: coverage depends = - ${module_name}-coverage: py{39,310,311,312}-${module_name}-system_tests + ${module_name}-coverage: py{39,310,311,312,313}-${module_name}-system_tests % if uses_other_wheel: ${module_name}-system_tests: ${wheel_env} % endif diff --git a/generated/nidcpower/setup.py b/generated/nidcpower/setup.py index b91691c21..0f58eed30 100644 --- a/generated/nidcpower/setup.py +++ b/generated/nidcpower/setup.py @@ -52,6 +52,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nidcpower/tox-system_tests.ini b/generated/nidcpower/tox-system_tests.ini index a10b36735..2fc11e0b7 100644 --- a/generated/nidcpower/tox-system_tests.ini +++ b/generated/nidcpower/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nidcpower) [tox] -envlist = py{39,310,311,312}-nidcpower-system_tests, py312-nidcpower-coverage +envlist = py{39,310,311,312,313}-nidcpower-system_tests, py313-nidcpower-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -43,7 +43,7 @@ deps = nidcpower-coverage: coverage depends = - nidcpower-coverage: py{39,310,311,312}-nidcpower-system_tests + nidcpower-coverage: py{39,310,311,312,313}-nidcpower-system_tests passenv = GIT_BRANCH diff --git a/generated/nidigital/setup.py b/generated/nidigital/setup.py index 33bea8ae5..99537df95 100644 --- a/generated/nidigital/setup.py +++ b/generated/nidigital/setup.py @@ -53,6 +53,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nidigital/tox-system_tests.ini b/generated/nidigital/tox-system_tests.ini index 4bcef3a22..a0e1d4f9c 100644 --- a/generated/nidigital/tox-system_tests.ini +++ b/generated/nidigital/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nidigital) [tox] -envlist = py{39,310,311,312}-nidigital-wheel_dep,py{39,310,311,312}-nidigital-system_tests, py312-nidigital-coverage +envlist = py{39,310,311,312,313}-nidigital-wheel_dep,py{39,310,311,312,313}-nidigital-system_tests, py313-nidigital-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -50,8 +50,8 @@ deps = nidigital-coverage: coverage depends = - nidigital-coverage: py{39,310,311,312}-nidigital-system_tests - nidigital-system_tests: py{39,310,311,312}-nidigital-wheel_dep, + nidigital-coverage: py{39,310,311,312,313}-nidigital-system_tests + nidigital-system_tests: py{39,310,311,312,313}-nidigital-wheel_dep, passenv = GIT_BRANCH diff --git a/generated/nidmm/setup.py b/generated/nidmm/setup.py index 62bb6aa65..2a5783a19 100644 --- a/generated/nidmm/setup.py +++ b/generated/nidmm/setup.py @@ -52,6 +52,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nidmm/tox-system_tests.ini b/generated/nidmm/tox-system_tests.ini index 3a3f88b93..87bdc8e6f 100644 --- a/generated/nidmm/tox-system_tests.ini +++ b/generated/nidmm/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nidmm) [tox] -envlist = py{39,310,311,312}-nidmm-system_tests, py312-nidmm-coverage +envlist = py{39,310,311,312,313}-nidmm-system_tests, py313-nidmm-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -43,7 +43,7 @@ deps = nidmm-coverage: coverage depends = - nidmm-coverage: py{39,310,311,312}-nidmm-system_tests + nidmm-coverage: py{39,310,311,312,313}-nidmm-system_tests passenv = GIT_BRANCH diff --git a/generated/nifake/setup.py b/generated/nifake/setup.py index cb551df17..4ef6d0606 100644 --- a/generated/nifake/setup.py +++ b/generated/nifake/setup.py @@ -53,6 +53,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nifake/tox-system_tests.ini b/generated/nifake/tox-system_tests.ini index b7be0467e..540b2bd20 100644 --- a/generated/nifake/tox-system_tests.ini +++ b/generated/nifake/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nifake) [tox] -envlist = py{39,310,311,312}-nifake-wheel_dep,py{39,310,311,312}-nifake-system_tests, py312-nifake-coverage +envlist = py{39,310,311,312,313}-nifake-wheel_dep,py{39,310,311,312,313}-nifake-system_tests, py313-nifake-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -50,8 +50,8 @@ deps = nifake-coverage: coverage depends = - nifake-coverage: py{39,310,311,312}-nifake-system_tests - nifake-system_tests: py{39,310,311,312}-nifake-wheel_dep, + nifake-coverage: py{39,310,311,312,313}-nifake-system_tests + nifake-system_tests: py{39,310,311,312,313}-nifake-wheel_dep, passenv = GIT_BRANCH diff --git a/generated/nifgen/setup.py b/generated/nifgen/setup.py index 6c0c9b489..7b1511d5e 100644 --- a/generated/nifgen/setup.py +++ b/generated/nifgen/setup.py @@ -53,6 +53,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nifgen/tox-system_tests.ini b/generated/nifgen/tox-system_tests.ini index 1572fbc08..ca9a84c27 100644 --- a/generated/nifgen/tox-system_tests.ini +++ b/generated/nifgen/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nifgen) [tox] -envlist = py{39,310,311,312}-nifgen-wheel_dep,py{39,310,311,312}-nifgen-system_tests, py312-nifgen-coverage +envlist = py{39,310,311,312,313}-nifgen-wheel_dep,py{39,310,311,312,313}-nifgen-system_tests, py313-nifgen-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -50,8 +50,8 @@ deps = nifgen-coverage: coverage depends = - nifgen-coverage: py{39,310,311,312}-nifgen-system_tests - nifgen-system_tests: py{39,310,311,312}-nifgen-wheel_dep, + nifgen-coverage: py{39,310,311,312,313}-nifgen-system_tests + nifgen-system_tests: py{39,310,311,312,313}-nifgen-wheel_dep, passenv = GIT_BRANCH diff --git a/generated/nimodinst/setup.py b/generated/nimodinst/setup.py index 02c8fb049..59efa3822 100644 --- a/generated/nimodinst/setup.py +++ b/generated/nimodinst/setup.py @@ -46,6 +46,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nimodinst/tox-system_tests.ini b/generated/nimodinst/tox-system_tests.ini index f48dcebea..422c5918e 100644 --- a/generated/nimodinst/tox-system_tests.ini +++ b/generated/nimodinst/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nimodinst) [tox] -envlist = py{39,310,311,312}-nimodinst-system_tests, py312-nimodinst-coverage +envlist = py{39,310,311,312,313}-nimodinst-system_tests, py313-nimodinst-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -42,7 +42,7 @@ deps = nimodinst-coverage: coverage depends = - nimodinst-coverage: py{39,310,311,312}-nimodinst-system_tests + nimodinst-coverage: py{39,310,311,312,313}-nimodinst-system_tests passenv = GIT_BRANCH diff --git a/generated/niscope/setup.py b/generated/niscope/setup.py index 3ebb546cf..0a414d18a 100644 --- a/generated/niscope/setup.py +++ b/generated/niscope/setup.py @@ -53,6 +53,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/niscope/tox-system_tests.ini b/generated/niscope/tox-system_tests.ini index a2a99de8e..a6a59b6a0 100644 --- a/generated/niscope/tox-system_tests.ini +++ b/generated/niscope/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/niscope) [tox] -envlist = py{39,310,311,312}-niscope-wheel_dep,py{39,310,311,312}-niscope-system_tests, py312-niscope-coverage +envlist = py{39,310,311,312,313}-niscope-wheel_dep,py{39,310,311,312,313}-niscope-system_tests, py313-niscope-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -50,8 +50,8 @@ deps = niscope-coverage: coverage depends = - niscope-coverage: py{39,310,311,312}-niscope-system_tests - niscope-system_tests: py{39,310,311,312}-niscope-wheel_dep, + niscope-coverage: py{39,310,311,312,313}-niscope-system_tests + niscope-system_tests: py{39,310,311,312,313}-niscope-wheel_dep, passenv = GIT_BRANCH diff --git a/generated/nise/setup.py b/generated/nise/setup.py index 79b5eaf6c..735df6b4c 100644 --- a/generated/nise/setup.py +++ b/generated/nise/setup.py @@ -46,6 +46,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nise/tox-system_tests.ini b/generated/nise/tox-system_tests.ini index 04fabd029..7c5b7adb0 100644 --- a/generated/nise/tox-system_tests.ini +++ b/generated/nise/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nise) [tox] -envlist = py{39,310,311,312}-nise-system_tests, py312-nise-coverage +envlist = py{39,310,311,312,313}-nise-system_tests, py313-nise-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -42,7 +42,7 @@ deps = nise-coverage: coverage depends = - nise-coverage: py{39,310,311,312}-nise-system_tests + nise-coverage: py{39,310,311,312,313}-nise-system_tests passenv = GIT_BRANCH diff --git a/generated/niswitch/setup.py b/generated/niswitch/setup.py index 9cad4ee76..23c8b89cb 100644 --- a/generated/niswitch/setup.py +++ b/generated/niswitch/setup.py @@ -52,6 +52,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/niswitch/tox-system_tests.ini b/generated/niswitch/tox-system_tests.ini index e8c6f8afd..7b7527617 100644 --- a/generated/niswitch/tox-system_tests.ini +++ b/generated/niswitch/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/niswitch) [tox] -envlist = py{39,310,311,312}-niswitch-system_tests, py312-niswitch-coverage +envlist = py{39,310,311,312,313}-niswitch-system_tests, py313-niswitch-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -43,7 +43,7 @@ deps = niswitch-coverage: coverage depends = - niswitch-coverage: py{39,310,311,312}-niswitch-system_tests + niswitch-coverage: py{39,310,311,312,313}-niswitch-system_tests passenv = GIT_BRANCH diff --git a/generated/nitclk/setup.py b/generated/nitclk/setup.py index 216466c63..8890cfd98 100644 --- a/generated/nitclk/setup.py +++ b/generated/nitclk/setup.py @@ -46,6 +46,7 @@ def read_contents(file_to_read): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: System :: Hardware :: Hardware Drivers" ], diff --git a/generated/nitclk/tox-system_tests.ini b/generated/nitclk/tox-system_tests.ini index dd05deb4f..c360ec5e9 100644 --- a/generated/nitclk/tox-system_tests.ini +++ b/generated/nitclk/tox-system_tests.ini @@ -3,7 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nitclk) [tox] -envlist = py{39,310,311,312}-nitclk-wheel_dep,py{39,310,311,312}-nitclk-system_tests, py312-nitclk-coverage +envlist = py{39,310,311,312,313}-nitclk-wheel_dep,py{39,310,311,312,313}-nitclk-system_tests, py313-nitclk-coverage skip_missing_interpreters=True ignore_basepython_conflict=True # We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo @@ -49,8 +49,8 @@ deps = nitclk-coverage: coverage depends = - nitclk-coverage: py{39,310,311,312}-nitclk-system_tests - nitclk-system_tests: py{39,310,311,312}-nitclk-wheel_dep, + nitclk-coverage: py{39,310,311,312,313}-nitclk-system_tests + nitclk-system_tests: py{39,310,311,312,313}-nitclk-wheel_dep, passenv = GIT_BRANCH diff --git a/tox-travis.ini b/tox-travis.ini index 8e3311b39..292d1ac19 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -7,9 +7,9 @@ # tox-travis.ini will have pyXX-clean and all pyXX-installers in the default envlist, while the developer tox.ini # does not have clean and only has one pyXX-installers # Uncomment this line for tox.ini -# envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312}-test,py312-flake8,py312-docs,py312-pkg +# envlist = py313-build_test,py313-codegen,py313-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg # Uncomment this line for tox-travis.ini -envlist = py312-clean,py312-build_test,py312-codegen,py{39,310,311,312}-installers,py{39,310,311,312}-test,py312-flake8,py312-docs,py312-pkg +envlist = py313-clean,py313-build_test,py313-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg skip_missing_interpreters=True ignore_basepython_conflict=True skipsdist = true @@ -157,12 +157,12 @@ deps = pkg: twine depends = - codegen: py312-clean - installers: py312-codegen - flake8: py312-codegen - docs: py312-codegen - test: py312-installers - pkg: py312-installers + codegen: py313-clean + installers: py313-codegen + flake8: py313-codegen + docs: py313-codegen + test: py313-installers + pkg: py313-installers allowlist_externals = build_test: mv diff --git a/tox.ini b/tox.ini index a7cd94b32..eacce359f 100644 --- a/tox.ini +++ b/tox.ini @@ -7,9 +7,9 @@ # tox-travis.ini will have pyXX-clean and all pyXX-installers in the default envlist, while the developer tox.ini # does not have clean and only has one pyXX-installers # Uncomment this line for tox.ini -envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312}-test,py312-flake8,py312-docs,py312-pkg +envlist = py313-build_test,py313-codegen,py313-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg # Uncomment this line for tox-travis.ini -# envlist = py312-clean,py312-build_test,py312-codegen,py{39,310,311,312}-installers,py{39,310,311,312}-test,py312-flake8,py312-docs,py312-pkg +# envlist = py313-clean,py313-build_test,py313-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg skip_missing_interpreters=True ignore_basepython_conflict=True skipsdist = true @@ -157,12 +157,12 @@ deps = pkg: twine depends = - codegen: py312-clean - installers: py312-codegen - flake8: py312-codegen - docs: py312-codegen - test: py312-installers - pkg: py312-installers + codegen: py313-clean + installers: py313-codegen + flake8: py313-codegen + docs: py313-codegen + test: py313-installers + pkg: py313-installers allowlist_externals = build_test: mv From 5da1719ca984975ab77baa303823cea7d230de01 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Wed, 5 Feb 2025 08:33:54 -0600 Subject: [PATCH 02/10] Update grpc dependencies for 3.13 compatibility --- build/templates/setup.py.mako | 2 +- .../nidcpower/nidcpower/nidcpower_pb2.py | 29 +- .../nidcpower/nidcpower/nidcpower_pb2_grpc.py | 2667 +++++++++++++---- generated/nidcpower/nidcpower/nidevice_pb2.py | 17 +- .../nidcpower/nidcpower/nidevice_pb2_grpc.py | 20 + generated/nidcpower/nidcpower/session_pb2.py | 17 +- .../nidcpower/nidcpower/session_pb2_grpc.py | 111 +- generated/nidcpower/setup.py | 2 +- generated/nidigital/nidigital/nidevice_pb2.py | 17 +- .../nidigital/nidigital/nidevice_pb2_grpc.py | 20 + .../nidigital/nidigitalpattern_pb2.py | 25 +- .../nidigital/nidigitalpattern_pb2_grpc.py | 2361 +++++++++++---- generated/nidigital/nidigital/session_pb2.py | 17 +- .../nidigital/nidigital/session_pb2_grpc.py | 111 +- generated/nidigital/setup.py | 2 +- generated/nidmm/nidmm/nidevice_pb2.py | 17 +- generated/nidmm/nidmm/nidevice_pb2_grpc.py | 20 + generated/nidmm/nidmm/nidmm_pb2.py | 33 +- generated/nidmm/nidmm/nidmm_pb2_grpc.py | 1551 +++++++--- generated/nidmm/nidmm/session_pb2.py | 17 +- generated/nidmm/nidmm/session_pb2_grpc.py | 111 +- generated/nidmm/setup.py | 2 +- generated/nifake/nifake/nidevice_pb2.py | 17 +- generated/nifake/nifake/nidevice_pb2_grpc.py | 20 + generated/nifake/nifake/nifake_pb2.py | 25 +- generated/nifake/nifake/nifake_pb2_grpc.py | 1767 ++++++++--- generated/nifake/nifake/session_pb2.py | 17 +- generated/nifake/nifake/session_pb2_grpc.py | 111 +- generated/nifake/setup.py | 2 +- generated/nifgen/nifgen/nidevice_pb2.py | 17 +- generated/nifgen/nifgen/nidevice_pb2_grpc.py | 20 + generated/nifgen/nifgen/nifgen_pb2.py | 37 +- generated/nifgen/nifgen/nifgen_pb2_grpc.py | 2343 +++++++++++---- generated/nifgen/nifgen/session_pb2.py | 17 +- generated/nifgen/nifgen/session_pb2_grpc.py | 111 +- generated/nifgen/setup.py | 2 +- generated/niscope/niscope/nidevice_pb2.py | 17 +- .../niscope/niscope/nidevice_pb2_grpc.py | 20 + generated/niscope/niscope/niscope_pb2.py | 33 +- generated/niscope/niscope/niscope_pb2_grpc.py | 1641 +++++++--- generated/niscope/niscope/session_pb2.py | 17 +- generated/niscope/niscope/session_pb2_grpc.py | 111 +- generated/niscope/setup.py | 2 +- generated/niswitch/niswitch/nidevice_pb2.py | 17 +- .../niswitch/niswitch/nidevice_pb2_grpc.py | 20 + generated/niswitch/niswitch/niswitch_pb2.py | 33 +- .../niswitch/niswitch/niswitch_pb2_grpc.py | 1101 +++++-- generated/niswitch/niswitch/session_pb2.py | 17 +- .../niswitch/niswitch/session_pb2_grpc.py | 111 +- generated/niswitch/setup.py | 2 +- tox-travis.ini | 6 +- tox.ini | 6 +- 52 files changed, 11612 insertions(+), 3217 deletions(-) diff --git a/build/templates/setup.py.mako b/build/templates/setup.py.mako index 6b4f40070..6c921be1c 100644 --- a/build/templates/setup.py.mako +++ b/build/templates/setup.py.mako @@ -46,7 +46,7 @@ setup( extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, % endif diff --git a/generated/nidcpower/nidcpower/nidcpower_pb2.py b/generated/nidcpower/nidcpower/nidcpower_pb2.py index 535f40c34..7f5a186d4 100644 --- a/generated/nidcpower/nidcpower/nidcpower_pb2.py +++ b/generated/nidcpower/nidcpower/nidcpower_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidcpower.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidcpower.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,15 +31,15 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidcpower_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\023com.ni.grpc.dcpowerB\tNiDCPowerP\001\252\002 NationalInstruments.Grpc.DCPower' - _NIDCPOWERINT32ATTRIBUTEVALUES._options = None - _NIDCPOWERINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._options = None - _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE.fields_by_name['error_message']._options = None - _INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\023com.ni.grpc.dcpowerB\tNiDCPowerP\001\252\002 NationalInstruments.Grpc.DCPower' + _globals['_NIDCPOWERINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIDCPOWERINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDCPOWERATTRIBUTE']._serialized_start=28538 _globals['_NIDCPOWERATTRIBUTE']._serialized_end=40784 _globals['_CURRENTLIMITBEHAVIOR']._serialized_start=40787 diff --git a/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py b/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py index 79c2ea265..bfc17121d 100644 --- a/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import nidcpower_pb2 as nidcpower__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidcpower_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiDCPowerStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,737 +38,737 @@ def __init__(self, channel): '/nidcpower_grpc.NiDCPower/InitializeWithChannels', request_serializer=nidcpower__pb2.InitializeWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitializeWithChannelsResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Close', request_serializer=nidcpower__pb2.CloseRequest.SerializeToString, response_deserializer=nidcpower__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.ConfigureSourceMode = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', request_serializer=nidcpower__pb2.ConfigureSourceModeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSourceModeResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputFunction = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', request_serializer=nidcpower__pb2.ConfigureOutputFunctionRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputFunctionResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputEnabled = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', request_serializer=nidcpower__pb2.ConfigureOutputEnabledRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputEnabledResponse.FromString, - ) + _registered_method=True) self.SetSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetSequence', request_serializer=nidcpower__pb2.SetSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetSequenceResponse.FromString, - ) + _registered_method=True) self.ConfigureVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', request_serializer=nidcpower__pb2.ConfigureVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLevelResponse.FromString, - ) + _registered_method=True) self.ConfigureCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', request_serializer=nidcpower__pb2.ConfigureCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLimitResponse.FromString, - ) + _registered_method=True) self.ConfigureVoltageLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', request_serializer=nidcpower__pb2.ConfigureVoltageLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLevelRangeResponse.FromString, - ) + _registered_method=True) self.ConfigureCurrentLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', request_serializer=nidcpower__pb2.ConfigureCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLimitRangeResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputResistance = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', request_serializer=nidcpower__pb2.ConfigureOutputResistanceRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputResistanceResponse.FromString, - ) + _registered_method=True) self.ConfigureCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', request_serializer=nidcpower__pb2.ConfigureCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLevelResponse.FromString, - ) + _registered_method=True) self.ConfigureCurrentLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', request_serializer=nidcpower__pb2.ConfigureCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLevelRangeResponse.FromString, - ) + _registered_method=True) self.ConfigureVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', request_serializer=nidcpower__pb2.ConfigureVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLimitResponse.FromString, - ) + _registered_method=True) self.ConfigureVoltageLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', request_serializer=nidcpower__pb2.ConfigureVoltageLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLimitRangeResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLevelResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLimitResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseBiasVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', request_serializer=nidcpower__pb2.ConfigurePulseBiasVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasVoltageLevelResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseBiasCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', request_serializer=nidcpower__pb2.ConfigurePulseBiasCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasCurrentLimitResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseVoltageLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLevelRangeResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseCurrentLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLimitRangeResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLevelResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLimitResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseBiasCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', request_serializer=nidcpower__pb2.ConfigurePulseBiasCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasCurrentLevelResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseBiasVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', request_serializer=nidcpower__pb2.ConfigurePulseBiasVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasVoltageLimitResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseCurrentLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLevelRangeResponse.FromString, - ) + _registered_method=True) self.ConfigurePulseVoltageLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLimitRangeResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', request_serializer=nidcpower__pb2.CreateAdvancedSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedSequenceStep = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', request_serializer=nidcpower__pb2.CreateAdvancedSequenceStepRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceStepResponse.FromString, - ) + _registered_method=True) self.DeleteAdvancedSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', request_serializer=nidcpower__pb2.DeleteAdvancedSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.DeleteAdvancedSequenceResponse.FromString, - ) + _registered_method=True) self.ConfigureApertureTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', request_serializer=nidcpower__pb2.ConfigureApertureTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureApertureTimeResponse.FromString, - ) + _registered_method=True) self.ConfigureAutoZero = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', request_serializer=nidcpower__pb2.ConfigureAutoZeroRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureAutoZeroResponse.FromString, - ) + _registered_method=True) self.ConfigurePowerLineFrequency = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', request_serializer=nidcpower__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePowerLineFrequencyResponse.FromString, - ) + _registered_method=True) self.ConfigureSense = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSense', request_serializer=nidcpower__pb2.ConfigureSenseRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSenseResponse.FromString, - ) + _registered_method=True) self.Measure = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Measure', request_serializer=nidcpower__pb2.MeasureRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureResponse.FromString, - ) + _registered_method=True) self.MeasureMultiple = channel.unary_unary( '/nidcpower_grpc.NiDCPower/MeasureMultiple', request_serializer=nidcpower__pb2.MeasureMultipleRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureMultipleResponse.FromString, - ) + _registered_method=True) self.FetchMultiple = channel.unary_unary( '/nidcpower_grpc.NiDCPower/FetchMultiple', request_serializer=nidcpower__pb2.FetchMultipleRequest.SerializeToString, response_deserializer=nidcpower__pb2.FetchMultipleResponse.FromString, - ) + _registered_method=True) self.MeasureMultipleLCR = channel.unary_unary( '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', request_serializer=nidcpower__pb2.MeasureMultipleLCRRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureMultipleLCRResponse.FromString, - ) + _registered_method=True) self.FetchMultipleLCR = channel.unary_unary( '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', request_serializer=nidcpower__pb2.FetchMultipleLCRRequest.SerializeToString, response_deserializer=nidcpower__pb2.FetchMultipleLCRResponse.FromString, - ) + _registered_method=True) self.QueryInCompliance = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryInCompliance', request_serializer=nidcpower__pb2.QueryInComplianceRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryInComplianceResponse.FromString, - ) + _registered_method=True) self.QueryOutputState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryOutputState', request_serializer=nidcpower__pb2.QueryOutputStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryOutputStateResponse.FromString, - ) + _registered_method=True) self.QueryLatchedOutputCutoffState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', request_serializer=nidcpower__pb2.QueryLatchedOutputCutoffStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryLatchedOutputCutoffStateResponse.FromString, - ) + _registered_method=True) self.ClearLatchedOutputCutoffState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', request_serializer=nidcpower__pb2.ClearLatchedOutputCutoffStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearLatchedOutputCutoffStateResponse.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Commit', request_serializer=nidcpower__pb2.CommitRequest.SerializeToString, response_deserializer=nidcpower__pb2.CommitResponse.FromString, - ) + _registered_method=True) self.Initiate = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Initiate', request_serializer=nidcpower__pb2.InitiateRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitiateResponse.FromString, - ) + _registered_method=True) self.Abort = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Abort', request_serializer=nidcpower__pb2.AbortRequest.SerializeToString, response_deserializer=nidcpower__pb2.AbortResponse.FromString, - ) + _registered_method=True) self.QueryMaxCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', request_serializer=nidcpower__pb2.QueryMaxCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMaxCurrentLimitResponse.FromString, - ) + _registered_method=True) self.QueryMaxVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', request_serializer=nidcpower__pb2.QueryMaxVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMaxVoltageLevelResponse.FromString, - ) + _registered_method=True) self.QueryMinCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', request_serializer=nidcpower__pb2.QueryMinCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMinCurrentLimitResponse.FromString, - ) + _registered_method=True) self.CalSelfCalibrate = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', request_serializer=nidcpower__pb2.CalSelfCalibrateRequest.SerializeToString, response_deserializer=nidcpower__pb2.CalSelfCalibrateResponse.FromString, - ) + _registered_method=True) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', request_serializer=nidcpower__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalRecommendedIntervalResponse.FromString, - ) + _registered_method=True) self.GetExtCalLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', request_serializer=nidcpower__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalLastDateAndTimeResponse.FromString, - ) + _registered_method=True) self.ReadCurrentTemperature = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', request_serializer=nidcpower__pb2.ReadCurrentTemperatureRequest.SerializeToString, response_deserializer=nidcpower__pb2.ReadCurrentTemperatureResponse.FromString, - ) + _registered_method=True) self.GetExtCalLastTemp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', request_serializer=nidcpower__pb2.GetExtCalLastTempRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalLastTempResponse.FromString, - ) + _registered_method=True) self.GetSelfCalLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', request_serializer=nidcpower__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - ) + _registered_method=True) self.GetSelfCalLastTemp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', request_serializer=nidcpower__pb2.GetSelfCalLastTempRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetSelfCalLastTempResponse.FromString, - ) + _registered_method=True) self.GetLCRCompensationLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', request_serializer=nidcpower__pb2.GetLCRCompensationLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCompensationLastDateAndTimeResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.DisableStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableStartTrigger', request_serializer=nidcpower__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerResponse.FromString, - ) + _registered_method=True) self.DisableSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.DisableSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSequenceAdvanceTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerResponse.FromString, - ) + _registered_method=True) self.DisableSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', request_serializer=nidcpower__pb2.DisableSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSourceTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeMeasureTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeMeasureTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerResponse.FromString, - ) + _registered_method=True) self.DisablePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', request_serializer=nidcpower__pb2.DisablePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisablePulseTriggerResponse.FromString, - ) + _registered_method=True) self.ExportSignal = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportSignal', request_serializer=nidcpower__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportSignalResponse.FromString, - ) + _registered_method=True) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', request_serializer=nidcpower__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.SendSoftwareEdgeTriggerResponse.FromString, - ) + _registered_method=True) self.WaitForEvent = channel.unary_unary( '/nidcpower_grpc.NiDCPower/WaitForEvent', request_serializer=nidcpower__pb2.WaitForEventRequest.SerializeToString, response_deserializer=nidcpower__pb2.WaitForEventResponse.FromString, - ) + _registered_method=True) self.Disable = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Disable', request_serializer=nidcpower__pb2.DisableRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Reset', request_serializer=nidcpower__pb2.ResetRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.ResetDevice = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetDevice', request_serializer=nidcpower__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetDeviceResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SelfTest', request_serializer=nidcpower__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidcpower__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.RevisionQuery = channel.unary_unary( '/nidcpower_grpc.NiDCPower/RevisionQuery', request_serializer=nidcpower__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nidcpower__pb2.RevisionQueryResponse.FromString, - ) + _registered_method=True) self.ResetWithDefaults = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetWithDefaults', request_serializer=nidcpower__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetWithDefaultsResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetChannelName', request_serializer=nidcpower__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.GetChannelNameFromString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', request_serializer=nidcpower__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetChannelNameFromStringResponse.FromString, - ) + _registered_method=True) self.GetNextCoercionRecord = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', request_serializer=nidcpower__pb2.GetNextCoercionRecordRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetNextCoercionRecordResponse.FromString, - ) + _registered_method=True) self.ClearInterchangeWarnings = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', request_serializer=nidcpower__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearInterchangeWarningsResponse.FromString, - ) + _registered_method=True) self.ResetInterchangeCheck = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', request_serializer=nidcpower__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetInterchangeCheckResponse.FromString, - ) + _registered_method=True) self.GetNextInterchangeWarning = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', request_serializer=nidcpower__pb2.GetNextInterchangeWarningRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetNextInterchangeWarningResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetError', request_serializer=nidcpower__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.ClearError = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearError', request_serializer=nidcpower__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearErrorResponse.FromString, - ) + _registered_method=True) self.ErrorMessage = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ErrorMessage', request_serializer=nidcpower__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nidcpower__pb2.ErrorMessageResponse.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', request_serializer=nidcpower__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', request_serializer=nidcpower__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', request_serializer=nidcpower__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViString', request_serializer=nidcpower__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViSession', request_serializer=nidcpower__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', request_serializer=nidcpower__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', request_serializer=nidcpower__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViInt64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', request_serializer=nidcpower__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', request_serializer=nidcpower__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViString', request_serializer=nidcpower__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViSession', request_serializer=nidcpower__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', request_serializer=nidcpower__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', request_serializer=nidcpower__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidcpower__pb2.ImportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', request_serializer=nidcpower__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', request_serializer=nidcpower__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidcpower__pb2.ImportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', request_serializer=nidcpower__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.PerformLCROpenCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', request_serializer=nidcpower__pb2.PerformLCROpenCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCROpenCompensationResponse.FromString, - ) + _registered_method=True) self.PerformLCRShortCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', request_serializer=nidcpower__pb2.PerformLCRShortCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRShortCompensationResponse.FromString, - ) + _registered_method=True) self.PerformLCRLoadCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', request_serializer=nidcpower__pb2.PerformLCRLoadCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRLoadCompensationResponse.FromString, - ) + _registered_method=True) self.ConfigureLCRCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', request_serializer=nidcpower__pb2.ConfigureLCRCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureLCRCompensationResponse.FromString, - ) + _registered_method=True) self.PerformLCROpenCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', request_serializer=nidcpower__pb2.PerformLCROpenCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCROpenCustomCableCompensationResponse.FromString, - ) + _registered_method=True) self.PerformLCRShortCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', request_serializer=nidcpower__pb2.PerformLCRShortCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRShortCustomCableCompensationResponse.FromString, - ) + _registered_method=True) self.GetLCRCompensationData = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', request_serializer=nidcpower__pb2.GetLCRCompensationDataRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCompensationDataResponse.FromString, - ) + _registered_method=True) self.InitializeWithIndependentChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', request_serializer=nidcpower__pb2.InitializeWithIndependentChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitializeWithIndependentChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSourceModeWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', request_serializer=nidcpower__pb2.ConfigureSourceModeWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSourceModeWithChannelsResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedSequenceWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceWithChannelsResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedSequenceStepWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedSequenceCommitStepWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsResponse.FromString, - ) + _registered_method=True) self.DeleteAdvancedSequenceWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', request_serializer=nidcpower__pb2.DeleteAdvancedSequenceWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DeleteAdvancedSequenceWithChannelsResponse.FromString, - ) + _registered_method=True) self.CommitWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CommitWithChannels', request_serializer=nidcpower__pb2.CommitWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CommitWithChannelsResponse.FromString, - ) + _registered_method=True) self.InitiateWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InitiateWithChannels', request_serializer=nidcpower__pb2.InitiateWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitiateWithChannelsResponse.FromString, - ) + _registered_method=True) self.AbortWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/AbortWithChannels', request_serializer=nidcpower__pb2.AbortWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.AbortWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.DisableStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', request_serializer=nidcpower__pb2.DisableStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableStartTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.DisableSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.DisableSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', request_serializer=nidcpower__pb2.DisableSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSourceTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeMeasureTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeMeasureTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.DisablePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', request_serializer=nidcpower__pb2.DisablePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisablePulseTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.DisableShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.DisableShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableShutdownTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.ExportSignalWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', request_serializer=nidcpower__pb2.ExportSignalWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportSignalWithChannelsResponse.FromString, - ) + _registered_method=True) self.SendSoftwareEdgeTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', request_serializer=nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsResponse.FromString, - ) + _registered_method=True) self.WaitForEventWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', request_serializer=nidcpower__pb2.WaitForEventWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.WaitForEventWithChannelsResponse.FromString, - ) + _registered_method=True) self.ResetWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetWithChannels', request_serializer=nidcpower__pb2.ResetWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetWithChannelsResponse.FromString, - ) + _registered_method=True) self.InvalidateAllAttributes = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', request_serializer=nidcpower__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nidcpower__pb2.InvalidateAllAttributesResponse.FromString, - ) + _registered_method=True) self.ConfigureOvp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOvp', request_serializer=nidcpower__pb2.ConfigureOvpRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOvpResponse.FromString, - ) + _registered_method=True) self.ErrorQuery = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ErrorQuery', request_serializer=nidcpower__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=nidcpower__pb2.ErrorQueryResponse.FromString, - ) + _registered_method=True) self.GetLCRCustomCableCompensationData = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', request_serializer=nidcpower__pb2.GetLCRCustomCableCompensationDataRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCustomCableCompensationDataResponse.FromString, - ) + _registered_method=True) self.ConfigureLCRCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', request_serializer=nidcpower__pb2.ConfigureLCRCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureLCRCustomCableCompensationResponse.FromString, - ) + _registered_method=True) class NiDCPowerServicer(object): @@ -2378,6 +2398,7 @@ def add_NiDCPowerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidcpower_grpc.NiDCPower', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidcpower_grpc.NiDCPower', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2395,11 +2416,21 @@ def InitializeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitializeWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/InitializeWithChannels', nidcpower__pb2.InitializeWithChannelsRequest.SerializeToString, nidcpower__pb2.InitializeWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -2412,11 +2443,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Close', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Close', nidcpower__pb2.CloseRequest.SerializeToString, nidcpower__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSourceMode(request, @@ -2429,11 +2470,21 @@ def ConfigureSourceMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', nidcpower__pb2.ConfigureSourceModeRequest.SerializeToString, nidcpower__pb2.ConfigureSourceModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputFunction(request, @@ -2446,11 +2497,21 @@ def ConfigureOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', nidcpower__pb2.ConfigureOutputFunctionRequest.SerializeToString, nidcpower__pb2.ConfigureOutputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputEnabled(request, @@ -2463,11 +2524,21 @@ def ConfigureOutputEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', nidcpower__pb2.ConfigureOutputEnabledRequest.SerializeToString, nidcpower__pb2.ConfigureOutputEnabledResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetSequence(request, @@ -2480,11 +2551,21 @@ def SetSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetSequence', nidcpower__pb2.SetSequenceRequest.SerializeToString, nidcpower__pb2.SetSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVoltageLevel(request, @@ -2497,11 +2578,21 @@ def ConfigureVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', nidcpower__pb2.ConfigureVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCurrentLimit(request, @@ -2514,11 +2605,21 @@ def ConfigureCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', nidcpower__pb2.ConfigureCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVoltageLevelRange(request, @@ -2531,11 +2632,21 @@ def ConfigureVoltageLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', nidcpower__pb2.ConfigureVoltageLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLevelRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCurrentLimitRange(request, @@ -2548,11 +2659,21 @@ def ConfigureCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', nidcpower__pb2.ConfigureCurrentLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLimitRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputResistance(request, @@ -2565,11 +2686,21 @@ def ConfigureOutputResistance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', nidcpower__pb2.ConfigureOutputResistanceRequest.SerializeToString, nidcpower__pb2.ConfigureOutputResistanceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCurrentLevel(request, @@ -2582,11 +2713,21 @@ def ConfigureCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', nidcpower__pb2.ConfigureCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCurrentLevelRange(request, @@ -2599,11 +2740,21 @@ def ConfigureCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', nidcpower__pb2.ConfigureCurrentLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLevelRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVoltageLimit(request, @@ -2616,11 +2767,21 @@ def ConfigureVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', nidcpower__pb2.ConfigureVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVoltageLimitRange(request, @@ -2633,11 +2794,21 @@ def ConfigureVoltageLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', nidcpower__pb2.ConfigureVoltageLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLimitRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseVoltageLevel(request, @@ -2650,11 +2821,21 @@ def ConfigurePulseVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', nidcpower__pb2.ConfigurePulseVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseCurrentLimit(request, @@ -2667,11 +2848,21 @@ def ConfigurePulseCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', nidcpower__pb2.ConfigurePulseCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseBiasVoltageLevel(request, @@ -2684,11 +2875,21 @@ def ConfigurePulseBiasVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', nidcpower__pb2.ConfigurePulseBiasVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasVoltageLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseBiasCurrentLimit(request, @@ -2701,11 +2902,21 @@ def ConfigurePulseBiasCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', nidcpower__pb2.ConfigurePulseBiasCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseVoltageLevelRange(request, @@ -2718,11 +2929,21 @@ def ConfigurePulseVoltageLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', nidcpower__pb2.ConfigurePulseVoltageLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLevelRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseCurrentLimitRange(request, @@ -2735,11 +2956,21 @@ def ConfigurePulseCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', nidcpower__pb2.ConfigurePulseCurrentLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLimitRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseCurrentLevel(request, @@ -2752,11 +2983,21 @@ def ConfigurePulseCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', nidcpower__pb2.ConfigurePulseCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseVoltageLimit(request, @@ -2769,11 +3010,21 @@ def ConfigurePulseVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', nidcpower__pb2.ConfigurePulseVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseBiasCurrentLevel(request, @@ -2786,11 +3037,21 @@ def ConfigurePulseBiasCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', nidcpower__pb2.ConfigurePulseBiasCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasCurrentLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseBiasVoltageLimit(request, @@ -2803,11 +3064,21 @@ def ConfigurePulseBiasVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', nidcpower__pb2.ConfigurePulseBiasVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasVoltageLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseCurrentLevelRange(request, @@ -2820,11 +3091,21 @@ def ConfigurePulseCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', nidcpower__pb2.ConfigurePulseCurrentLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLevelRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePulseVoltageLimitRange(request, @@ -2837,11 +3118,21 @@ def ConfigurePulseVoltageLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', nidcpower__pb2.ConfigurePulseVoltageLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLimitRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedSequence(request, @@ -2854,11 +3145,21 @@ def CreateAdvancedSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', nidcpower__pb2.CreateAdvancedSequenceRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedSequenceStep(request, @@ -2871,11 +3172,21 @@ def CreateAdvancedSequenceStep(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', nidcpower__pb2.CreateAdvancedSequenceStepRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceStepResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteAdvancedSequence(request, @@ -2888,11 +3199,21 @@ def DeleteAdvancedSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', nidcpower__pb2.DeleteAdvancedSequenceRequest.SerializeToString, nidcpower__pb2.DeleteAdvancedSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureApertureTime(request, @@ -2905,11 +3226,21 @@ def ConfigureApertureTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', nidcpower__pb2.ConfigureApertureTimeRequest.SerializeToString, nidcpower__pb2.ConfigureApertureTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureAutoZero(request, @@ -2922,11 +3253,21 @@ def ConfigureAutoZero(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', nidcpower__pb2.ConfigureAutoZeroRequest.SerializeToString, nidcpower__pb2.ConfigureAutoZeroResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePowerLineFrequency(request, @@ -2939,11 +3280,21 @@ def ConfigurePowerLineFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', nidcpower__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, nidcpower__pb2.ConfigurePowerLineFrequencyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSense(request, @@ -2956,11 +3307,21 @@ def ConfigureSense(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSense', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSense', nidcpower__pb2.ConfigureSenseRequest.SerializeToString, nidcpower__pb2.ConfigureSenseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Measure(request, @@ -2973,11 +3334,21 @@ def Measure(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Measure', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Measure', nidcpower__pb2.MeasureRequest.SerializeToString, nidcpower__pb2.MeasureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MeasureMultiple(request, @@ -2990,11 +3361,21 @@ def MeasureMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/MeasureMultiple', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/MeasureMultiple', nidcpower__pb2.MeasureMultipleRequest.SerializeToString, nidcpower__pb2.MeasureMultipleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchMultiple(request, @@ -3007,11 +3388,21 @@ def FetchMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/FetchMultiple', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/FetchMultiple', nidcpower__pb2.FetchMultipleRequest.SerializeToString, nidcpower__pb2.FetchMultipleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MeasureMultipleLCR(request, @@ -3024,11 +3415,21 @@ def MeasureMultipleLCR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', nidcpower__pb2.MeasureMultipleLCRRequest.SerializeToString, nidcpower__pb2.MeasureMultipleLCRResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchMultipleLCR(request, @@ -3041,11 +3442,21 @@ def FetchMultipleLCR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', nidcpower__pb2.FetchMultipleLCRRequest.SerializeToString, nidcpower__pb2.FetchMultipleLCRResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryInCompliance(request, @@ -3058,11 +3469,21 @@ def QueryInCompliance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryInCompliance', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryInCompliance', nidcpower__pb2.QueryInComplianceRequest.SerializeToString, nidcpower__pb2.QueryInComplianceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryOutputState(request, @@ -3075,11 +3496,21 @@ def QueryOutputState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryOutputState', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryOutputState', nidcpower__pb2.QueryOutputStateRequest.SerializeToString, nidcpower__pb2.QueryOutputStateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryLatchedOutputCutoffState(request, @@ -3092,11 +3523,21 @@ def QueryLatchedOutputCutoffState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', nidcpower__pb2.QueryLatchedOutputCutoffStateRequest.SerializeToString, nidcpower__pb2.QueryLatchedOutputCutoffStateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearLatchedOutputCutoffState(request, @@ -3109,11 +3550,21 @@ def ClearLatchedOutputCutoffState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', nidcpower__pb2.ClearLatchedOutputCutoffStateRequest.SerializeToString, nidcpower__pb2.ClearLatchedOutputCutoffStateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -3126,11 +3577,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Commit', nidcpower__pb2.CommitRequest.SerializeToString, nidcpower__pb2.CommitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Initiate(request, @@ -3143,11 +3604,21 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Initiate', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Initiate', nidcpower__pb2.InitiateRequest.SerializeToString, nidcpower__pb2.InitiateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Abort(request, @@ -3160,11 +3631,21 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Abort', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Abort', nidcpower__pb2.AbortRequest.SerializeToString, nidcpower__pb2.AbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryMaxCurrentLimit(request, @@ -3177,11 +3658,21 @@ def QueryMaxCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', nidcpower__pb2.QueryMaxCurrentLimitRequest.SerializeToString, nidcpower__pb2.QueryMaxCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryMaxVoltageLevel(request, @@ -3194,11 +3685,21 @@ def QueryMaxVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', nidcpower__pb2.QueryMaxVoltageLevelRequest.SerializeToString, nidcpower__pb2.QueryMaxVoltageLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryMinCurrentLimit(request, @@ -3211,11 +3712,21 @@ def QueryMinCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', nidcpower__pb2.QueryMinCurrentLimitRequest.SerializeToString, nidcpower__pb2.QueryMinCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CalSelfCalibrate(request, @@ -3228,11 +3739,21 @@ def CalSelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', nidcpower__pb2.CalSelfCalibrateRequest.SerializeToString, nidcpower__pb2.CalSelfCalibrateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalRecommendedInterval(request, @@ -3245,11 +3766,21 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', nidcpower__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nidcpower__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalLastDateAndTime(request, @@ -3262,11 +3793,21 @@ def GetExtCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', nidcpower__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetExtCalLastDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadCurrentTemperature(request, @@ -3279,11 +3820,21 @@ def ReadCurrentTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', nidcpower__pb2.ReadCurrentTemperatureRequest.SerializeToString, nidcpower__pb2.ReadCurrentTemperatureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalLastTemp(request, @@ -3296,11 +3847,21 @@ def GetExtCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', nidcpower__pb2.GetExtCalLastTempRequest.SerializeToString, nidcpower__pb2.GetExtCalLastTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalLastDateAndTime(request, @@ -3313,11 +3874,21 @@ def GetSelfCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', nidcpower__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalLastTemp(request, @@ -3330,11 +3901,21 @@ def GetSelfCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', nidcpower__pb2.GetSelfCalLastTempRequest.SerializeToString, nidcpower__pb2.GetSelfCalLastTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetLCRCompensationLastDateAndTime(request, @@ -3347,11 +3928,21 @@ def GetLCRCompensationLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', nidcpower__pb2.GetLCRCompensationLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetLCRCompensationLastDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -3364,11 +3955,21 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', nidcpower__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -3381,11 +3982,21 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableStartTrigger(request, @@ -3398,11 +4009,21 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableStartTrigger', nidcpower__pb2.DisableStartTriggerRequest.SerializeToString, nidcpower__pb2.DisableStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeSequenceAdvanceTrigger(request, @@ -3415,11 +4036,21 @@ def ConfigureDigitalEdgeSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeSequenceAdvanceTrigger(request, @@ -3432,11 +4063,21 @@ def ConfigureSoftwareEdgeSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableSequenceAdvanceTrigger(request, @@ -3449,11 +4090,21 @@ def DisableSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', nidcpower__pb2.DisableSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.DisableSequenceAdvanceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeSourceTrigger(request, @@ -3466,11 +4117,21 @@ def ConfigureDigitalEdgeSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeSourceTrigger(request, @@ -3483,11 +4144,21 @@ def ConfigureSoftwareEdgeSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableSourceTrigger(request, @@ -3500,11 +4171,21 @@ def DisableSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', nidcpower__pb2.DisableSourceTriggerRequest.SerializeToString, nidcpower__pb2.DisableSourceTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeMeasureTrigger(request, @@ -3517,11 +4198,21 @@ def ConfigureDigitalEdgeMeasureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeMeasureTrigger(request, @@ -3534,11 +4225,21 @@ def ConfigureSoftwareEdgeMeasureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgePulseTrigger(request, @@ -3551,11 +4252,21 @@ def ConfigureDigitalEdgePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', nidcpower__pb2.ConfigureDigitalEdgePulseTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgePulseTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgePulseTrigger(request, @@ -3568,11 +4279,21 @@ def ConfigureSoftwareEdgePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisablePulseTrigger(request, @@ -3585,11 +4306,21 @@ def DisablePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', nidcpower__pb2.DisablePulseTriggerRequest.SerializeToString, nidcpower__pb2.DisablePulseTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportSignal(request, @@ -3602,11 +4333,21 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportSignal', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ExportSignal', nidcpower__pb2.ExportSignalRequest.SerializeToString, nidcpower__pb2.ExportSignalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -3619,11 +4360,21 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', nidcpower__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nidcpower__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitForEvent(request, @@ -3636,11 +4387,21 @@ def WaitForEvent(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/WaitForEvent', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/WaitForEvent', nidcpower__pb2.WaitForEventRequest.SerializeToString, nidcpower__pb2.WaitForEventResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disable(request, @@ -3653,11 +4414,21 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Disable', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Disable', nidcpower__pb2.DisableRequest.SerializeToString, nidcpower__pb2.DisableResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -3670,11 +4441,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/Reset', nidcpower__pb2.ResetRequest.SerializeToString, nidcpower__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetDevice(request, @@ -3687,11 +4468,21 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetDevice', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ResetDevice', nidcpower__pb2.ResetDeviceRequest.SerializeToString, nidcpower__pb2.ResetDeviceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -3704,11 +4495,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SelfTest', nidcpower__pb2.SelfTestRequest.SerializeToString, nidcpower__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RevisionQuery(request, @@ -3721,11 +4522,21 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/RevisionQuery', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/RevisionQuery', nidcpower__pb2.RevisionQueryRequest.SerializeToString, nidcpower__pb2.RevisionQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetWithDefaults(request, @@ -3738,11 +4549,21 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ResetWithDefaults', nidcpower__pb2.ResetWithDefaultsRequest.SerializeToString, nidcpower__pb2.ResetWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -3755,11 +4576,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetChannelName', nidcpower__pb2.GetChannelNameRequest.SerializeToString, nidcpower__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelNameFromString(request, @@ -3772,11 +4603,21 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', nidcpower__pb2.GetChannelNameFromStringRequest.SerializeToString, nidcpower__pb2.GetChannelNameFromStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetNextCoercionRecord(request, @@ -3789,11 +4630,21 @@ def GetNextCoercionRecord(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', nidcpower__pb2.GetNextCoercionRecordRequest.SerializeToString, nidcpower__pb2.GetNextCoercionRecordResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearInterchangeWarnings(request, @@ -3806,11 +4657,21 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', nidcpower__pb2.ClearInterchangeWarningsRequest.SerializeToString, nidcpower__pb2.ClearInterchangeWarningsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetInterchangeCheck(request, @@ -3823,11 +4684,21 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', nidcpower__pb2.ResetInterchangeCheckRequest.SerializeToString, nidcpower__pb2.ResetInterchangeCheckResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetNextInterchangeWarning(request, @@ -3840,11 +4711,21 @@ def GetNextInterchangeWarning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', nidcpower__pb2.GetNextInterchangeWarningRequest.SerializeToString, nidcpower__pb2.GetNextInterchangeWarningResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -3857,11 +4738,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetError', nidcpower__pb2.GetErrorRequest.SerializeToString, nidcpower__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearError(request, @@ -3874,11 +4765,21 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearError', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ClearError', nidcpower__pb2.ClearErrorRequest.SerializeToString, nidcpower__pb2.ClearErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorMessage(request, @@ -3891,11 +4792,21 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ErrorMessage', nidcpower__pb2.ErrorMessageRequest.SerializeToString, nidcpower__pb2.ErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -3908,11 +4819,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', nidcpower__pb2.SetAttributeViInt32Request.SerializeToString, nidcpower__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt64(request, @@ -3925,11 +4846,21 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', nidcpower__pb2.SetAttributeViInt64Request.SerializeToString, nidcpower__pb2.SetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -3942,11 +4873,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', nidcpower__pb2.SetAttributeViReal64Request.SerializeToString, nidcpower__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -3959,11 +4900,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViString', nidcpower__pb2.SetAttributeViStringRequest.SerializeToString, nidcpower__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -3976,11 +4927,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViSession', nidcpower__pb2.SetAttributeViSessionRequest.SerializeToString, nidcpower__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -3993,11 +4954,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', nidcpower__pb2.SetAttributeViBooleanRequest.SerializeToString, nidcpower__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -4010,11 +4981,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', nidcpower__pb2.GetAttributeViInt32Request.SerializeToString, nidcpower__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt64(request, @@ -4027,11 +5008,21 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', nidcpower__pb2.GetAttributeViInt64Request.SerializeToString, nidcpower__pb2.GetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -4044,11 +5035,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', nidcpower__pb2.GetAttributeViReal64Request.SerializeToString, nidcpower__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -4061,11 +5062,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViString', nidcpower__pb2.GetAttributeViStringRequest.SerializeToString, nidcpower__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -4078,11 +5089,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViSession', nidcpower__pb2.GetAttributeViSessionRequest.SerializeToString, nidcpower__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -4095,11 +5116,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', nidcpower__pb2.GetAttributeViBooleanRequest.SerializeToString, nidcpower__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationFile(request, @@ -4112,11 +5143,21 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', nidcpower__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nidcpower__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationFile(request, @@ -4129,11 +5170,21 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', nidcpower__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nidcpower__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -4146,11 +5197,21 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', nidcpower__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nidcpower__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -4163,11 +5224,21 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', nidcpower__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nidcpower__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformLCROpenCompensation(request, @@ -4180,11 +5251,21 @@ def PerformLCROpenCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', nidcpower__pb2.PerformLCROpenCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCROpenCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformLCRShortCompensation(request, @@ -4197,11 +5278,21 @@ def PerformLCRShortCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', nidcpower__pb2.PerformLCRShortCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRShortCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformLCRLoadCompensation(request, @@ -4214,11 +5305,21 @@ def PerformLCRLoadCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', nidcpower__pb2.PerformLCRLoadCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRLoadCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureLCRCompensation(request, @@ -4231,11 +5332,21 @@ def ConfigureLCRCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', nidcpower__pb2.ConfigureLCRCompensationRequest.SerializeToString, nidcpower__pb2.ConfigureLCRCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformLCROpenCustomCableCompensation(request, @@ -4248,11 +5359,21 @@ def PerformLCROpenCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', nidcpower__pb2.PerformLCROpenCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCROpenCustomCableCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformLCRShortCustomCableCompensation(request, @@ -4265,11 +5386,21 @@ def PerformLCRShortCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', nidcpower__pb2.PerformLCRShortCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRShortCustomCableCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetLCRCompensationData(request, @@ -4282,11 +5413,21 @@ def GetLCRCompensationData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', nidcpower__pb2.GetLCRCompensationDataRequest.SerializeToString, nidcpower__pb2.GetLCRCompensationDataResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitializeWithIndependentChannels(request, @@ -4299,11 +5440,21 @@ def InitializeWithIndependentChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', nidcpower__pb2.InitializeWithIndependentChannelsRequest.SerializeToString, nidcpower__pb2.InitializeWithIndependentChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSourceModeWithChannels(request, @@ -4316,11 +5467,21 @@ def ConfigureSourceModeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', nidcpower__pb2.ConfigureSourceModeWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSourceModeWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedSequenceWithChannels(request, @@ -4333,11 +5494,21 @@ def CreateAdvancedSequenceWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', nidcpower__pb2.CreateAdvancedSequenceWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedSequenceStepWithChannels(request, @@ -4350,11 +5521,21 @@ def CreateAdvancedSequenceStepWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedSequenceCommitStepWithChannels(request, @@ -4367,11 +5548,21 @@ def CreateAdvancedSequenceCommitStepWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteAdvancedSequenceWithChannels(request, @@ -4384,11 +5575,21 @@ def DeleteAdvancedSequenceWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', nidcpower__pb2.DeleteAdvancedSequenceWithChannelsRequest.SerializeToString, nidcpower__pb2.DeleteAdvancedSequenceWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CommitWithChannels(request, @@ -4401,11 +5602,21 @@ def CommitWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CommitWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/CommitWithChannels', nidcpower__pb2.CommitWithChannelsRequest.SerializeToString, nidcpower__pb2.CommitWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitiateWithChannels(request, @@ -4418,11 +5629,21 @@ def InitiateWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitiateWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/InitiateWithChannels', nidcpower__pb2.InitiateWithChannelsRequest.SerializeToString, nidcpower__pb2.InitiateWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AbortWithChannels(request, @@ -4435,11 +5656,21 @@ def AbortWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/AbortWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/AbortWithChannels', nidcpower__pb2.AbortWithChannelsRequest.SerializeToString, nidcpower__pb2.AbortWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeStartTriggerWithChannels(request, @@ -4452,11 +5683,21 @@ def ConfigureDigitalEdgeStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeStartTriggerWithChannels(request, @@ -4469,11 +5710,21 @@ def ConfigureSoftwareEdgeStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableStartTriggerWithChannels(request, @@ -4486,11 +5737,21 @@ def DisableStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', nidcpower__pb2.DisableStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableStartTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels(request, @@ -4503,11 +5764,21 @@ def ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels(request, @@ -4520,11 +5791,21 @@ def ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableSequenceAdvanceTriggerWithChannels(request, @@ -4537,11 +5818,21 @@ def DisableSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeSourceTriggerWithChannels(request, @@ -4554,11 +5845,21 @@ def ConfigureDigitalEdgeSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeSourceTriggerWithChannels(request, @@ -4571,11 +5872,21 @@ def ConfigureSoftwareEdgeSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableSourceTriggerWithChannels(request, @@ -4588,11 +5899,21 @@ def DisableSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', nidcpower__pb2.DisableSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableSourceTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeMeasureTriggerWithChannels(request, @@ -4605,11 +5926,21 @@ def ConfigureDigitalEdgeMeasureTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeMeasureTriggerWithChannels(request, @@ -4622,11 +5953,21 @@ def ConfigureSoftwareEdgeMeasureTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgePulseTriggerWithChannels(request, @@ -4639,11 +5980,21 @@ def ConfigureDigitalEdgePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgePulseTriggerWithChannels(request, @@ -4656,11 +6007,21 @@ def ConfigureSoftwareEdgePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisablePulseTriggerWithChannels(request, @@ -4673,11 +6034,21 @@ def DisablePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', nidcpower__pb2.DisablePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisablePulseTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeShutdownTriggerWithChannels(request, @@ -4690,11 +6061,21 @@ def ConfigureDigitalEdgeShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeShutdownTriggerWithChannels(request, @@ -4707,11 +6088,21 @@ def ConfigureSoftwareEdgeShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableShutdownTriggerWithChannels(request, @@ -4724,11 +6115,21 @@ def DisableShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', nidcpower__pb2.DisableShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableShutdownTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportSignalWithChannels(request, @@ -4741,11 +6142,21 @@ def ExportSignalWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', nidcpower__pb2.ExportSignalWithChannelsRequest.SerializeToString, nidcpower__pb2.ExportSignalWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareEdgeTriggerWithChannels(request, @@ -4758,11 +6169,21 @@ def SendSoftwareEdgeTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitForEventWithChannels(request, @@ -4775,11 +6196,21 @@ def WaitForEventWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', nidcpower__pb2.WaitForEventWithChannelsRequest.SerializeToString, nidcpower__pb2.WaitForEventWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetWithChannels(request, @@ -4792,11 +6223,21 @@ def ResetWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ResetWithChannels', nidcpower__pb2.ResetWithChannelsRequest.SerializeToString, nidcpower__pb2.ResetWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InvalidateAllAttributes(request, @@ -4809,11 +6250,21 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', nidcpower__pb2.InvalidateAllAttributesRequest.SerializeToString, nidcpower__pb2.InvalidateAllAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOvp(request, @@ -4826,11 +6277,21 @@ def ConfigureOvp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOvp', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureOvp', nidcpower__pb2.ConfigureOvpRequest.SerializeToString, nidcpower__pb2.ConfigureOvpResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorQuery(request, @@ -4843,11 +6304,21 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ErrorQuery', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ErrorQuery', nidcpower__pb2.ErrorQueryRequest.SerializeToString, nidcpower__pb2.ErrorQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetLCRCustomCableCompensationData(request, @@ -4860,11 +6331,21 @@ def GetLCRCustomCableCompensationData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', nidcpower__pb2.GetLCRCustomCableCompensationDataRequest.SerializeToString, nidcpower__pb2.GetLCRCustomCableCompensationDataResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureLCRCustomCableCompensation(request, @@ -4877,8 +6358,18 @@ def ConfigureLCRCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', + return grpc.experimental.unary_unary( + request, + target, + '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', nidcpower__pb2.ConfigureLCRCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.ConfigureLCRCustomCableCompensationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidcpower/nidcpower/nidevice_pb2.py b/generated/nidcpower/nidcpower/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/nidcpower/nidcpower/nidevice_pb2.py +++ b/generated/nidcpower/nidcpower/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py b/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/nidcpower/nidcpower/session_pb2.py b/generated/nidcpower/nidcpower/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/nidcpower/nidcpower/session_pb2.py +++ b/generated/nidcpower/nidcpower/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidcpower/nidcpower/session_pb2_grpc.py b/generated/nidcpower/nidcpower/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/nidcpower/nidcpower/session_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidcpower/setup.py b/generated/nidcpower/setup.py index 0f58eed30..064352292 100644 --- a/generated/nidcpower/setup.py +++ b/generated/nidcpower/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nidigital/nidigital/nidevice_pb2.py b/generated/nidigital/nidigital/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/nidigital/nidigital/nidevice_pb2.py +++ b/generated/nidigital/nidigital/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidigital/nidigital/nidevice_pb2_grpc.py b/generated/nidigital/nidigital/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/nidigital/nidigital/nidevice_pb2_grpc.py +++ b/generated/nidigital/nidigital/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/nidigital/nidigital/nidigitalpattern_pb2.py b/generated/nidigital/nidigital/nidigitalpattern_pb2.py index 2f8bec885..984ee781f 100644 --- a/generated/nidigital/nidigital/nidigitalpattern_pb2.py +++ b/generated/nidigital/nidigital/nidigitalpattern_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidigitalpattern.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidigitalpattern.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,13 +30,13 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidigitalpattern_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\025com.ni.grpc.nidigitalB\tNiDigitalP\001\252\002 NationalInstruments.Grpc.Digital' - _INITRESPONSE.fields_by_name['error_message']._options = None - _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\025com.ni.grpc.nidigitalB\tNiDigitalP\001\252\002 NationalInstruments.Grpc.Digital' + _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDIGITALATTRIBUTE']._serialized_start=25129 _globals['_NIDIGITALATTRIBUTE']._serialized_end=29749 _globals['_PPMUAPERTURETIMEUNITS']._serialized_start=29751 diff --git a/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py b/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py index b19dea54d..f82275bfa 100644 --- a/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py +++ b/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import nidigitalpattern_pb2 as nidigitalpattern__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidigitalpattern_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiDigitalStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,652 +38,652 @@ def __init__(self, channel): '/nidigitalpattern_grpc.NiDigital/Init', request_serializer=nidigitalpattern__pb2.InitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/InitWithOptions', request_serializer=nidigitalpattern__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Close', request_serializer=nidigitalpattern__pb2.CloseRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Reset', request_serializer=nidigitalpattern__pb2.ResetRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.ResetDevice = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ResetDevice', request_serializer=nidigitalpattern__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetDeviceResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelfTest', request_serializer=nidigitalpattern__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetError', request_serializer=nidigitalpattern__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.ClearError = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClearError', request_serializer=nidigitalpattern__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClearErrorResponse.FromString, - ) + _registered_method=True) self.ErrorMessage = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ErrorMessage', request_serializer=nidigitalpattern__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ErrorMessageResponse.FromString, - ) + _registered_method=True) self.SelfCalibrate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', request_serializer=nidigitalpattern__pb2.SelfCalibrateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelfCalibrateResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', request_serializer=nidigitalpattern__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViInt64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', request_serializer=nidigitalpattern__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', request_serializer=nidigitalpattern__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', request_serializer=nidigitalpattern__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', request_serializer=nidigitalpattern__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', request_serializer=nidigitalpattern__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', request_serializer=nidigitalpattern__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', request_serializer=nidigitalpattern__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', request_serializer=nidigitalpattern__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', request_serializer=nidigitalpattern__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', request_serializer=nidigitalpattern__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', request_serializer=nidigitalpattern__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.ResetAttribute = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ResetAttribute', request_serializer=nidigitalpattern__pb2.ResetAttributeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetAttributeResponse.FromString, - ) + _registered_method=True) self.LoadPinMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadPinMap', request_serializer=nidigitalpattern__pb2.LoadPinMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadPinMapResponse.FromString, - ) + _registered_method=True) self.EnableSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EnableSites', request_serializer=nidigitalpattern__pb2.EnableSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EnableSitesResponse.FromString, - ) + _registered_method=True) self.DisableSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableSites', request_serializer=nidigitalpattern__pb2.DisableSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableSitesResponse.FromString, - ) + _registered_method=True) self.IsSiteEnabled = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', request_serializer=nidigitalpattern__pb2.IsSiteEnabledRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.IsSiteEnabledResponse.FromString, - ) + _registered_method=True) self.CreatePinMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreatePinMap', request_serializer=nidigitalpattern__pb2.CreatePinMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreatePinMapResponse.FromString, - ) + _registered_method=True) self.CreatePinGroup = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', request_serializer=nidigitalpattern__pb2.CreatePinGroupRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreatePinGroupResponse.FromString, - ) + _registered_method=True) self.CreateChannelMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', request_serializer=nidigitalpattern__pb2.CreateChannelMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateChannelMapResponse.FromString, - ) + _registered_method=True) self.MapPinToChannel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', request_serializer=nidigitalpattern__pb2.MapPinToChannelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.MapPinToChannelResponse.FromString, - ) + _registered_method=True) self.EndChannelMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EndChannelMap', request_serializer=nidigitalpattern__pb2.EndChannelMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EndChannelMapResponse.FromString, - ) + _registered_method=True) self.GetPinName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPinName', request_serializer=nidigitalpattern__pb2.GetPinNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPinNameResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetChannelName', request_serializer=nidigitalpattern__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.SelectFunction = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelectFunction', request_serializer=nidigitalpattern__pb2.SelectFunctionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelectFunctionResponse.FromString, - ) + _registered_method=True) self.ReadStatic = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadStatic', request_serializer=nidigitalpattern__pb2.ReadStaticRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadStaticResponse.FromString, - ) + _registered_method=True) self.WriteStatic = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteStatic', request_serializer=nidigitalpattern__pb2.WriteStaticRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteStaticResponse.FromString, - ) + _registered_method=True) self.ClockGeneratorGenerateClock = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', request_serializer=nidigitalpattern__pb2.ClockGeneratorGenerateClockRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorGenerateClockResponse.FromString, - ) + _registered_method=True) self.ClockGeneratorInitiate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', request_serializer=nidigitalpattern__pb2.ClockGeneratorInitiateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorInitiateResponse.FromString, - ) + _registered_method=True) self.ClockGeneratorAbort = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', request_serializer=nidigitalpattern__pb2.ClockGeneratorAbortRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorAbortResponse.FromString, - ) + _registered_method=True) self.LoadSpecifications = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', request_serializer=nidigitalpattern__pb2.LoadSpecificationsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadSpecificationsResponse.FromString, - ) + _registered_method=True) self.UnloadSpecifications = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', request_serializer=nidigitalpattern__pb2.UnloadSpecificationsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.UnloadSpecificationsResponse.FromString, - ) + _registered_method=True) self.LoadLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadLevels', request_serializer=nidigitalpattern__pb2.LoadLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadLevelsResponse.FromString, - ) + _registered_method=True) self.LoadTiming = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadTiming', request_serializer=nidigitalpattern__pb2.LoadTimingRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadTimingResponse.FromString, - ) + _registered_method=True) self.ApplyLevelsAndTiming = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', request_serializer=nidigitalpattern__pb2.ApplyLevelsAndTimingRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ApplyLevelsAndTimingResponse.FromString, - ) + _registered_method=True) self.ConfigureVoltageLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', request_serializer=nidigitalpattern__pb2.ConfigureVoltageLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureVoltageLevelsResponse.FromString, - ) + _registered_method=True) self.ConfigureActiveLoadLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', request_serializer=nidigitalpattern__pb2.ConfigureActiveLoadLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureActiveLoadLevelsResponse.FromString, - ) + _registered_method=True) self.ConfigureTerminationMode = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', request_serializer=nidigitalpattern__pb2.ConfigureTerminationModeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTerminationModeResponse.FromString, - ) + _registered_method=True) self.CreateTimeSet = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', request_serializer=nidigitalpattern__pb2.CreateTimeSetRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateTimeSetResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetPeriod = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetPeriodRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetPeriodResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetDriveEdges = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetCompareEdgesStrobe = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetDriveFormat = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveFormatRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveFormatResponse.FromString, - ) + _registered_method=True) self.DeleteAllTimeSets = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', request_serializer=nidigitalpattern__pb2.DeleteAllTimeSetsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DeleteAllTimeSetsResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetEdgeMultiplier = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetDriveEdges2x = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetCompareEdgesStrobe2x = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xResponse.FromString, - ) + _registered_method=True) self.ConfigureTimeSetEdge = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeResponse.FromString, - ) + _registered_method=True) self.GetTimeSetPeriod = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', request_serializer=nidigitalpattern__pb2.GetTimeSetPeriodRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetPeriodResponse.FromString, - ) + _registered_method=True) self.GetTimeSetEdge = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', request_serializer=nidigitalpattern__pb2.GetTimeSetEdgeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetEdgeResponse.FromString, - ) + _registered_method=True) self.GetTimeSetEdgeMultiplier = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', request_serializer=nidigitalpattern__pb2.GetTimeSetEdgeMultiplierRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetEdgeMultiplierResponse.FromString, - ) + _registered_method=True) self.GetTimeSetDriveFormat = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', request_serializer=nidigitalpattern__pb2.GetTimeSetDriveFormatRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetDriveFormatResponse.FromString, - ) + _registered_method=True) self.GetTimeSetName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', request_serializer=nidigitalpattern__pb2.GetTimeSetNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetNameResponse.FromString, - ) + _registered_method=True) self.TDR = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/TDR', request_serializer=nidigitalpattern__pb2.TDRRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.TDRResponse.FromString, - ) + _registered_method=True) self.ApplyTDROffsets = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', request_serializer=nidigitalpattern__pb2.ApplyTDROffsetsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ApplyTDROffsetsResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureOutputFunction = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', request_serializer=nidigitalpattern__pb2.PPMUConfigureOutputFunctionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureOutputFunctionResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureApertureTime = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', request_serializer=nidigitalpattern__pb2.PPMUConfigureApertureTimeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureApertureTimeResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureVoltageLevel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', request_serializer=nidigitalpattern__pb2.PPMUConfigureVoltageLevelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureVoltageLevelResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureCurrentLimit = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureCurrentLimitRange = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureCurrentLevel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureCurrentLevelRange = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeResponse.FromString, - ) + _registered_method=True) self.PPMUConfigureVoltageLimits = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', request_serializer=nidigitalpattern__pb2.PPMUConfigureVoltageLimitsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureVoltageLimitsResponse.FromString, - ) + _registered_method=True) self.PPMUSource = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUSource', request_serializer=nidigitalpattern__pb2.PPMUSourceRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUSourceResponse.FromString, - ) + _registered_method=True) self.PPMUMeasure = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', request_serializer=nidigitalpattern__pb2.PPMUMeasureRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUMeasureResponse.FromString, - ) + _registered_method=True) self.LoadPattern = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadPattern', request_serializer=nidigitalpattern__pb2.LoadPatternRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadPatternResponse.FromString, - ) + _registered_method=True) self.UnloadAllPatterns = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', request_serializer=nidigitalpattern__pb2.UnloadAllPatternsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.UnloadAllPatternsResponse.FromString, - ) + _registered_method=True) self.ConfigureStartLabel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', request_serializer=nidigitalpattern__pb2.ConfigureStartLabelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureStartLabelResponse.FromString, - ) + _registered_method=True) self.ConfigurePatternBurstSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', request_serializer=nidigitalpattern__pb2.ConfigurePatternBurstSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigurePatternBurstSitesResponse.FromString, - ) + _registered_method=True) self.GetPatternPinIndexes = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', request_serializer=nidigitalpattern__pb2.GetPatternPinIndexesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternPinIndexesResponse.FromString, - ) + _registered_method=True) self.GetPatternPinList = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', request_serializer=nidigitalpattern__pb2.GetPatternPinListRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternPinListResponse.FromString, - ) + _registered_method=True) self.GetPatternName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternName', request_serializer=nidigitalpattern__pb2.GetPatternNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternNameResponse.FromString, - ) + _registered_method=True) self.BurstPattern = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/BurstPattern', request_serializer=nidigitalpattern__pb2.BurstPatternRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.BurstPatternResponse.FromString, - ) + _registered_method=True) self.BurstPatternSynchronized = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', request_serializer=nidigitalpattern__pb2.BurstPatternSynchronizedRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.BurstPatternSynchronizedResponse.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Commit', request_serializer=nidigitalpattern__pb2.CommitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CommitResponse.FromString, - ) + _registered_method=True) self.Initiate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Initiate', request_serializer=nidigitalpattern__pb2.InitiateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitiateResponse.FromString, - ) + _registered_method=True) self.IsDone = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/IsDone', request_serializer=nidigitalpattern__pb2.IsDoneRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.IsDoneResponse.FromString, - ) + _registered_method=True) self.WaitUntilDone = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', request_serializer=nidigitalpattern__pb2.WaitUntilDoneRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WaitUntilDoneResponse.FromString, - ) + _registered_method=True) self.Abort = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Abort', request_serializer=nidigitalpattern__pb2.AbortRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.AbortResponse.FromString, - ) + _registered_method=True) self.AbortKeepAlive = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', request_serializer=nidigitalpattern__pb2.AbortKeepAliveRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.AbortKeepAliveResponse.FromString, - ) + _registered_method=True) self.ConfigurePatternLabelHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureCycleNumberHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureFirstFailureHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureHistoryRAMCyclesToAcquire = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', request_serializer=nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireResponse.FromString, - ) + _registered_method=True) self.GetHistoryRAMSampleCount = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', request_serializer=nidigitalpattern__pb2.GetHistoryRAMSampleCountRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetHistoryRAMSampleCountResponse.FromString, - ) + _registered_method=True) self.FetchHistoryRAMCycleInformation = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMCycleInformationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMCycleInformationResponse.FromString, - ) + _registered_method=True) self.FetchHistoryRAMCyclePinData = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataResponse.FromString, - ) + _registered_method=True) self.FetchHistoryRAMScanCycleNumber = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberResponse.FromString, - ) + _registered_method=True) self.CreateSourceWaveformParallel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformParallelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformParallelResponse.FromString, - ) + _registered_method=True) self.CreateSourceWaveformSerial = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformSerialRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformSerialResponse.FromString, - ) + _registered_method=True) self.CreateSourceWaveformFromFileTDMS = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSResponse.FromString, - ) + _registered_method=True) self.WriteSourceWaveformBroadcastU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Response.FromString, - ) + _registered_method=True) self.WriteSourceWaveformSiteUniqueU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Response.FromString, - ) + _registered_method=True) self.WriteSourceWaveformDataFromFileTDMS = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSResponse.FromString, - ) + _registered_method=True) self.CreateCaptureWaveformParallel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformParallelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformParallelResponse.FromString, - ) + _registered_method=True) self.CreateCaptureWaveformSerial = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformSerialRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformSerialResponse.FromString, - ) + _registered_method=True) self.CreateCaptureWaveformFromFileDigicapture = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureResponse.FromString, - ) + _registered_method=True) self.FetchCaptureWaveformU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', request_serializer=nidigitalpattern__pb2.FetchCaptureWaveformU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchCaptureWaveformU32Response.FromString, - ) + _registered_method=True) self.ExportSignal = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ExportSignal', request_serializer=nidigitalpattern__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ExportSignalResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', request_serializer=nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', request_serializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.DisableStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', request_serializer=nidigitalpattern__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerResponse.FromString, - ) + _registered_method=True) self.DisableConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.DisableConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableConditionalJumpTriggerResponse.FromString, - ) + _registered_method=True) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', request_serializer=nidigitalpattern__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SendSoftwareEdgeTriggerResponse.FromString, - ) + _registered_method=True) self.WriteSequencerFlag = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', request_serializer=nidigitalpattern__pb2.WriteSequencerFlagRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerFlagResponse.FromString, - ) + _registered_method=True) self.WriteSequencerFlagSynchronized = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', request_serializer=nidigitalpattern__pb2.WriteSequencerFlagSynchronizedRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerFlagSynchronizedResponse.FromString, - ) + _registered_method=True) self.ReadSequencerFlag = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', request_serializer=nidigitalpattern__pb2.ReadSequencerFlagRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadSequencerFlagResponse.FromString, - ) + _registered_method=True) self.WriteSequencerRegister = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', request_serializer=nidigitalpattern__pb2.WriteSequencerRegisterRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerRegisterResponse.FromString, - ) + _registered_method=True) self.ReadSequencerRegister = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', request_serializer=nidigitalpattern__pb2.ReadSequencerRegisterRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadSequencerRegisterResponse.FromString, - ) + _registered_method=True) self.EnableMatchFailCombination = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', request_serializer=nidigitalpattern__pb2.EnableMatchFailCombinationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EnableMatchFailCombinationResponse.FromString, - ) + _registered_method=True) self.GetSitePassFail = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', request_serializer=nidigitalpattern__pb2.GetSitePassFailRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetSitePassFailResponse.FromString, - ) + _registered_method=True) self.GetFailCount = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetFailCount', request_serializer=nidigitalpattern__pb2.GetFailCountRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetFailCountResponse.FromString, - ) + _registered_method=True) self.GetPinResultsPinInformation = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', request_serializer=nidigitalpattern__pb2.GetPinResultsPinInformationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPinResultsPinInformationResponse.FromString, - ) + _registered_method=True) self.GetSiteResultsSiteNumbers = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', request_serializer=nidigitalpattern__pb2.GetSiteResultsSiteNumbersRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetSiteResultsSiteNumbersResponse.FromString, - ) + _registered_method=True) self.FrequencyCounterConfigureMeasurementTime = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', request_serializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeResponse.FromString, - ) + _registered_method=True) self.FrequencyCounterConfigureMeasurementMode = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', request_serializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeResponse.FromString, - ) + _registered_method=True) self.FrequencyCounterMeasureFrequency = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', request_serializer=nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyResponse.FromString, - ) + _registered_method=True) self.GetChannelNameFromString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', request_serializer=nidigitalpattern__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetChannelNameFromStringResponse.FromString, - ) + _registered_method=True) class NiDigitalServicer(object): @@ -2106,6 +2126,7 @@ def add_NiDigitalServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidigitalpattern_grpc.NiDigital', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidigitalpattern_grpc.NiDigital', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2123,11 +2144,21 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Init', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Init', nidigitalpattern__pb2.InitRequest.SerializeToString, nidigitalpattern__pb2.InitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -2140,11 +2171,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/InitWithOptions', nidigitalpattern__pb2.InitWithOptionsRequest.SerializeToString, nidigitalpattern__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -2157,11 +2198,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Close', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Close', nidigitalpattern__pb2.CloseRequest.SerializeToString, nidigitalpattern__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -2174,11 +2225,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Reset', nidigitalpattern__pb2.ResetRequest.SerializeToString, nidigitalpattern__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetDevice(request, @@ -2191,11 +2252,21 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ResetDevice', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ResetDevice', nidigitalpattern__pb2.ResetDeviceRequest.SerializeToString, nidigitalpattern__pb2.ResetDeviceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -2208,11 +2279,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SelfTest', nidigitalpattern__pb2.SelfTestRequest.SerializeToString, nidigitalpattern__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -2225,11 +2306,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetError', nidigitalpattern__pb2.GetErrorRequest.SerializeToString, nidigitalpattern__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearError(request, @@ -2242,11 +2333,21 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClearError', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ClearError', nidigitalpattern__pb2.ClearErrorRequest.SerializeToString, nidigitalpattern__pb2.ClearErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorMessage(request, @@ -2259,11 +2360,21 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ErrorMessage', nidigitalpattern__pb2.ErrorMessageRequest.SerializeToString, nidigitalpattern__pb2.ErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfCalibrate(request, @@ -2276,11 +2387,21 @@ def SelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', nidigitalpattern__pb2.SelfCalibrateRequest.SerializeToString, nidigitalpattern__pb2.SelfCalibrateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -2293,11 +2414,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', nidigitalpattern__pb2.GetAttributeViInt32Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt64(request, @@ -2310,11 +2441,21 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', nidigitalpattern__pb2.GetAttributeViInt64Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -2327,11 +2468,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', nidigitalpattern__pb2.GetAttributeViReal64Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -2344,11 +2495,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', nidigitalpattern__pb2.GetAttributeViStringRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -2361,11 +2522,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', nidigitalpattern__pb2.GetAttributeViSessionRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -2378,11 +2549,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', nidigitalpattern__pb2.GetAttributeViBooleanRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -2395,11 +2576,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', nidigitalpattern__pb2.SetAttributeViInt32Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt64(request, @@ -2412,11 +2603,21 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', nidigitalpattern__pb2.SetAttributeViInt64Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -2429,11 +2630,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', nidigitalpattern__pb2.SetAttributeViReal64Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -2446,11 +2657,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', nidigitalpattern__pb2.SetAttributeViStringRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -2463,11 +2684,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', nidigitalpattern__pb2.SetAttributeViSessionRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -2480,11 +2711,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', nidigitalpattern__pb2.SetAttributeViBooleanRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetAttribute(request, @@ -2497,11 +2738,21 @@ def ResetAttribute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ResetAttribute', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ResetAttribute', nidigitalpattern__pb2.ResetAttributeRequest.SerializeToString, nidigitalpattern__pb2.ResetAttributeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def LoadPinMap(request, @@ -2514,11 +2765,21 @@ def LoadPinMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadPinMap', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/LoadPinMap', nidigitalpattern__pb2.LoadPinMapRequest.SerializeToString, nidigitalpattern__pb2.LoadPinMapResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnableSites(request, @@ -2531,11 +2792,21 @@ def EnableSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EnableSites', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/EnableSites', nidigitalpattern__pb2.EnableSitesRequest.SerializeToString, nidigitalpattern__pb2.EnableSitesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableSites(request, @@ -2548,11 +2819,21 @@ def DisableSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableSites', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/DisableSites', nidigitalpattern__pb2.DisableSitesRequest.SerializeToString, nidigitalpattern__pb2.DisableSitesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsSiteEnabled(request, @@ -2565,11 +2846,21 @@ def IsSiteEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', nidigitalpattern__pb2.IsSiteEnabledRequest.SerializeToString, nidigitalpattern__pb2.IsSiteEnabledResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreatePinMap(request, @@ -2582,11 +2873,21 @@ def CreatePinMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreatePinMap', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreatePinMap', nidigitalpattern__pb2.CreatePinMapRequest.SerializeToString, nidigitalpattern__pb2.CreatePinMapResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreatePinGroup(request, @@ -2599,11 +2900,21 @@ def CreatePinGroup(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', nidigitalpattern__pb2.CreatePinGroupRequest.SerializeToString, nidigitalpattern__pb2.CreatePinGroupResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateChannelMap(request, @@ -2616,11 +2927,21 @@ def CreateChannelMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', nidigitalpattern__pb2.CreateChannelMapRequest.SerializeToString, nidigitalpattern__pb2.CreateChannelMapResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MapPinToChannel(request, @@ -2633,11 +2954,21 @@ def MapPinToChannel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', nidigitalpattern__pb2.MapPinToChannelRequest.SerializeToString, nidigitalpattern__pb2.MapPinToChannelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EndChannelMap(request, @@ -2650,11 +2981,21 @@ def EndChannelMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EndChannelMap', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/EndChannelMap', nidigitalpattern__pb2.EndChannelMapRequest.SerializeToString, nidigitalpattern__pb2.EndChannelMapResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPinName(request, @@ -2667,11 +3008,21 @@ def GetPinName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPinName', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetPinName', nidigitalpattern__pb2.GetPinNameRequest.SerializeToString, nidigitalpattern__pb2.GetPinNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -2684,11 +3035,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetChannelName', nidigitalpattern__pb2.GetChannelNameRequest.SerializeToString, nidigitalpattern__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelectFunction(request, @@ -2701,11 +3062,21 @@ def SelectFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelectFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SelectFunction', nidigitalpattern__pb2.SelectFunctionRequest.SerializeToString, nidigitalpattern__pb2.SelectFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadStatic(request, @@ -2718,11 +3089,21 @@ def ReadStatic(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadStatic', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ReadStatic', nidigitalpattern__pb2.ReadStaticRequest.SerializeToString, nidigitalpattern__pb2.ReadStaticResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteStatic(request, @@ -2735,11 +3116,21 @@ def WriteStatic(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteStatic', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteStatic', nidigitalpattern__pb2.WriteStaticRequest.SerializeToString, nidigitalpattern__pb2.WriteStaticResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClockGeneratorGenerateClock(request, @@ -2752,11 +3143,21 @@ def ClockGeneratorGenerateClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', nidigitalpattern__pb2.ClockGeneratorGenerateClockRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorGenerateClockResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClockGeneratorInitiate(request, @@ -2769,11 +3170,21 @@ def ClockGeneratorInitiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', nidigitalpattern__pb2.ClockGeneratorInitiateRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorInitiateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClockGeneratorAbort(request, @@ -2786,11 +3197,21 @@ def ClockGeneratorAbort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', nidigitalpattern__pb2.ClockGeneratorAbortRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorAbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def LoadSpecifications(request, @@ -2803,11 +3224,21 @@ def LoadSpecifications(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', nidigitalpattern__pb2.LoadSpecificationsRequest.SerializeToString, nidigitalpattern__pb2.LoadSpecificationsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UnloadSpecifications(request, @@ -2820,11 +3251,21 @@ def UnloadSpecifications(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', nidigitalpattern__pb2.UnloadSpecificationsRequest.SerializeToString, nidigitalpattern__pb2.UnloadSpecificationsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def LoadLevels(request, @@ -2837,11 +3278,21 @@ def LoadLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadLevels', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/LoadLevels', nidigitalpattern__pb2.LoadLevelsRequest.SerializeToString, nidigitalpattern__pb2.LoadLevelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def LoadTiming(request, @@ -2854,11 +3305,21 @@ def LoadTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadTiming', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/LoadTiming', nidigitalpattern__pb2.LoadTimingRequest.SerializeToString, nidigitalpattern__pb2.LoadTimingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyLevelsAndTiming(request, @@ -2871,11 +3332,21 @@ def ApplyLevelsAndTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', nidigitalpattern__pb2.ApplyLevelsAndTimingRequest.SerializeToString, nidigitalpattern__pb2.ApplyLevelsAndTimingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVoltageLevels(request, @@ -2888,11 +3359,21 @@ def ConfigureVoltageLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', nidigitalpattern__pb2.ConfigureVoltageLevelsRequest.SerializeToString, nidigitalpattern__pb2.ConfigureVoltageLevelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureActiveLoadLevels(request, @@ -2905,11 +3386,21 @@ def ConfigureActiveLoadLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', nidigitalpattern__pb2.ConfigureActiveLoadLevelsRequest.SerializeToString, nidigitalpattern__pb2.ConfigureActiveLoadLevelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTerminationMode(request, @@ -2922,11 +3413,21 @@ def ConfigureTerminationMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', nidigitalpattern__pb2.ConfigureTerminationModeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTerminationModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateTimeSet(request, @@ -2939,11 +3440,21 @@ def CreateTimeSet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', nidigitalpattern__pb2.CreateTimeSetRequest.SerializeToString, nidigitalpattern__pb2.CreateTimeSetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetPeriod(request, @@ -2956,11 +3467,21 @@ def ConfigureTimeSetPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', nidigitalpattern__pb2.ConfigureTimeSetPeriodRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetPeriodResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetDriveEdges(request, @@ -2973,11 +3494,21 @@ def ConfigureTimeSetDriveEdges(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetCompareEdgesStrobe(request, @@ -2990,11 +3521,21 @@ def ConfigureTimeSetCompareEdgesStrobe(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetDriveFormat(request, @@ -3007,11 +3548,21 @@ def ConfigureTimeSetDriveFormat(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', nidigitalpattern__pb2.ConfigureTimeSetDriveFormatRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveFormatResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteAllTimeSets(request, @@ -3024,11 +3575,21 @@ def DeleteAllTimeSets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', nidigitalpattern__pb2.DeleteAllTimeSetsRequest.SerializeToString, nidigitalpattern__pb2.DeleteAllTimeSetsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetEdgeMultiplier(request, @@ -3041,11 +3602,21 @@ def ConfigureTimeSetEdgeMultiplier(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetDriveEdges2x(request, @@ -3058,11 +3629,21 @@ def ConfigureTimeSetDriveEdges2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetCompareEdgesStrobe2x(request, @@ -3075,11 +3656,21 @@ def ConfigureTimeSetCompareEdgesStrobe2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTimeSetEdge(request, @@ -3092,11 +3683,21 @@ def ConfigureTimeSetEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', nidigitalpattern__pb2.ConfigureTimeSetEdgeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetEdgeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetTimeSetPeriod(request, @@ -3109,11 +3710,21 @@ def GetTimeSetPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', nidigitalpattern__pb2.GetTimeSetPeriodRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetPeriodResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetTimeSetEdge(request, @@ -3126,11 +3737,21 @@ def GetTimeSetEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', nidigitalpattern__pb2.GetTimeSetEdgeRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetEdgeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetTimeSetEdgeMultiplier(request, @@ -3143,11 +3764,21 @@ def GetTimeSetEdgeMultiplier(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', nidigitalpattern__pb2.GetTimeSetEdgeMultiplierRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetEdgeMultiplierResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetTimeSetDriveFormat(request, @@ -3160,11 +3791,21 @@ def GetTimeSetDriveFormat(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', nidigitalpattern__pb2.GetTimeSetDriveFormatRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetDriveFormatResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetTimeSetName(request, @@ -3177,11 +3818,21 @@ def GetTimeSetName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', nidigitalpattern__pb2.GetTimeSetNameRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TDR(request, @@ -3194,11 +3845,21 @@ def TDR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/TDR', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/TDR', nidigitalpattern__pb2.TDRRequest.SerializeToString, nidigitalpattern__pb2.TDRResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ApplyTDROffsets(request, @@ -3211,11 +3872,21 @@ def ApplyTDROffsets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', nidigitalpattern__pb2.ApplyTDROffsetsRequest.SerializeToString, nidigitalpattern__pb2.ApplyTDROffsetsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureOutputFunction(request, @@ -3228,11 +3899,21 @@ def PPMUConfigureOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', nidigitalpattern__pb2.PPMUConfigureOutputFunctionRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureOutputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureApertureTime(request, @@ -3245,11 +3926,21 @@ def PPMUConfigureApertureTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', nidigitalpattern__pb2.PPMUConfigureApertureTimeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureApertureTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureVoltageLevel(request, @@ -3262,11 +3953,21 @@ def PPMUConfigureVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', nidigitalpattern__pb2.PPMUConfigureVoltageLevelRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureVoltageLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureCurrentLimit(request, @@ -3279,11 +3980,21 @@ def PPMUConfigureCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', nidigitalpattern__pb2.PPMUConfigureCurrentLimitRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLimitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureCurrentLimitRange(request, @@ -3296,11 +4007,21 @@ def PPMUConfigureCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureCurrentLevel(request, @@ -3313,11 +4034,21 @@ def PPMUConfigureCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', nidigitalpattern__pb2.PPMUConfigureCurrentLevelRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureCurrentLevelRange(request, @@ -3330,11 +4061,21 @@ def PPMUConfigureCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUConfigureVoltageLimits(request, @@ -3347,11 +4088,21 @@ def PPMUConfigureVoltageLimits(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', nidigitalpattern__pb2.PPMUConfigureVoltageLimitsRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureVoltageLimitsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUSource(request, @@ -3364,11 +4115,21 @@ def PPMUSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUSource', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUSource', nidigitalpattern__pb2.PPMUSourceRequest.SerializeToString, nidigitalpattern__pb2.PPMUSourceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PPMUMeasure(request, @@ -3381,11 +4142,21 @@ def PPMUMeasure(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', nidigitalpattern__pb2.PPMUMeasureRequest.SerializeToString, nidigitalpattern__pb2.PPMUMeasureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def LoadPattern(request, @@ -3398,11 +4169,21 @@ def LoadPattern(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadPattern', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/LoadPattern', nidigitalpattern__pb2.LoadPatternRequest.SerializeToString, nidigitalpattern__pb2.LoadPatternResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UnloadAllPatterns(request, @@ -3415,11 +4196,21 @@ def UnloadAllPatterns(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', nidigitalpattern__pb2.UnloadAllPatternsRequest.SerializeToString, nidigitalpattern__pb2.UnloadAllPatternsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureStartLabel(request, @@ -3432,11 +4223,21 @@ def ConfigureStartLabel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', nidigitalpattern__pb2.ConfigureStartLabelRequest.SerializeToString, nidigitalpattern__pb2.ConfigureStartLabelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePatternBurstSites(request, @@ -3449,11 +4250,21 @@ def ConfigurePatternBurstSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', nidigitalpattern__pb2.ConfigurePatternBurstSitesRequest.SerializeToString, nidigitalpattern__pb2.ConfigurePatternBurstSitesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPatternPinIndexes(request, @@ -3466,11 +4277,21 @@ def GetPatternPinIndexes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', nidigitalpattern__pb2.GetPatternPinIndexesRequest.SerializeToString, nidigitalpattern__pb2.GetPatternPinIndexesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPatternPinList(request, @@ -3483,11 +4304,21 @@ def GetPatternPinList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', nidigitalpattern__pb2.GetPatternPinListRequest.SerializeToString, nidigitalpattern__pb2.GetPatternPinListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPatternName(request, @@ -3500,11 +4331,21 @@ def GetPatternName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternName', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetPatternName', nidigitalpattern__pb2.GetPatternNameRequest.SerializeToString, nidigitalpattern__pb2.GetPatternNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def BurstPattern(request, @@ -3517,11 +4358,21 @@ def BurstPattern(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/BurstPattern', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/BurstPattern', nidigitalpattern__pb2.BurstPatternRequest.SerializeToString, nidigitalpattern__pb2.BurstPatternResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def BurstPatternSynchronized(request, @@ -3534,11 +4385,21 @@ def BurstPatternSynchronized(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', nidigitalpattern__pb2.BurstPatternSynchronizedRequest.SerializeToString, nidigitalpattern__pb2.BurstPatternSynchronizedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -3551,11 +4412,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Commit', nidigitalpattern__pb2.CommitRequest.SerializeToString, nidigitalpattern__pb2.CommitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Initiate(request, @@ -3568,11 +4439,21 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Initiate', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Initiate', nidigitalpattern__pb2.InitiateRequest.SerializeToString, nidigitalpattern__pb2.InitiateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsDone(request, @@ -3585,11 +4466,21 @@ def IsDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/IsDone', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/IsDone', nidigitalpattern__pb2.IsDoneRequest.SerializeToString, nidigitalpattern__pb2.IsDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitUntilDone(request, @@ -3602,11 +4493,21 @@ def WaitUntilDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', nidigitalpattern__pb2.WaitUntilDoneRequest.SerializeToString, nidigitalpattern__pb2.WaitUntilDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Abort(request, @@ -3619,11 +4520,21 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Abort', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/Abort', nidigitalpattern__pb2.AbortRequest.SerializeToString, nidigitalpattern__pb2.AbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AbortKeepAlive(request, @@ -3636,11 +4547,21 @@ def AbortKeepAlive(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', nidigitalpattern__pb2.AbortKeepAliveRequest.SerializeToString, nidigitalpattern__pb2.AbortKeepAliveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePatternLabelHistoryRAMTrigger(request, @@ -3653,11 +4574,21 @@ def ConfigurePatternLabelHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCycleNumberHistoryRAMTrigger(request, @@ -3670,11 +4601,21 @@ def ConfigureCycleNumberHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureFirstFailureHistoryRAMTrigger(request, @@ -3687,11 +4628,21 @@ def ConfigureFirstFailureHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureHistoryRAMCyclesToAcquire(request, @@ -3704,11 +4655,21 @@ def ConfigureHistoryRAMCyclesToAcquire(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireRequest.SerializeToString, nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetHistoryRAMSampleCount(request, @@ -3721,11 +4682,21 @@ def GetHistoryRAMSampleCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', nidigitalpattern__pb2.GetHistoryRAMSampleCountRequest.SerializeToString, nidigitalpattern__pb2.GetHistoryRAMSampleCountResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchHistoryRAMCycleInformation(request, @@ -3738,11 +4709,21 @@ def FetchHistoryRAMCycleInformation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', nidigitalpattern__pb2.FetchHistoryRAMCycleInformationRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMCycleInformationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchHistoryRAMCyclePinData(request, @@ -3755,11 +4736,21 @@ def FetchHistoryRAMCyclePinData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchHistoryRAMScanCycleNumber(request, @@ -3772,11 +4763,21 @@ def FetchHistoryRAMScanCycleNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateSourceWaveformParallel(request, @@ -3789,11 +4790,21 @@ def CreateSourceWaveformParallel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', nidigitalpattern__pb2.CreateSourceWaveformParallelRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformParallelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateSourceWaveformSerial(request, @@ -3806,11 +4817,21 @@ def CreateSourceWaveformSerial(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', nidigitalpattern__pb2.CreateSourceWaveformSerialRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformSerialResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateSourceWaveformFromFileTDMS(request, @@ -3823,11 +4844,21 @@ def CreateSourceWaveformFromFileTDMS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSourceWaveformBroadcastU32(request, @@ -3840,11 +4871,21 @@ def WriteSourceWaveformBroadcastU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Request.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSourceWaveformSiteUniqueU32(request, @@ -3857,11 +4898,21 @@ def WriteSourceWaveformSiteUniqueU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Request.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSourceWaveformDataFromFileTDMS(request, @@ -3874,11 +4925,21 @@ def WriteSourceWaveformDataFromFileTDMS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSRequest.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateCaptureWaveformParallel(request, @@ -3891,11 +4952,21 @@ def CreateCaptureWaveformParallel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', nidigitalpattern__pb2.CreateCaptureWaveformParallelRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformParallelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateCaptureWaveformSerial(request, @@ -3908,11 +4979,21 @@ def CreateCaptureWaveformSerial(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', nidigitalpattern__pb2.CreateCaptureWaveformSerialRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformSerialResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateCaptureWaveformFromFileDigicapture(request, @@ -3925,11 +5006,21 @@ def CreateCaptureWaveformFromFileDigicapture(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchCaptureWaveformU32(request, @@ -3942,11 +5033,21 @@ def FetchCaptureWaveformU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', nidigitalpattern__pb2.FetchCaptureWaveformU32Request.SerializeToString, nidigitalpattern__pb2.FetchCaptureWaveformU32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportSignal(request, @@ -3959,11 +5060,21 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ExportSignal', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ExportSignal', nidigitalpattern__pb2.ExportSignalRequest.SerializeToString, nidigitalpattern__pb2.ExportSignalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -3976,11 +5087,21 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -3993,11 +5114,21 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableStartTrigger(request, @@ -4010,11 +5141,21 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', nidigitalpattern__pb2.DisableStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.DisableStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeConditionalJumpTrigger(request, @@ -4027,11 +5168,21 @@ def ConfigureDigitalEdgeConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeConditionalJumpTrigger(request, @@ -4044,11 +5195,21 @@ def ConfigureSoftwareEdgeConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableConditionalJumpTrigger(request, @@ -4061,11 +5222,21 @@ def DisableConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', nidigitalpattern__pb2.DisableConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.DisableConditionalJumpTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -4078,11 +5249,21 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', nidigitalpattern__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nidigitalpattern__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSequencerFlag(request, @@ -4095,11 +5276,21 @@ def WriteSequencerFlag(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', nidigitalpattern__pb2.WriteSequencerFlagRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerFlagResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSequencerFlagSynchronized(request, @@ -4112,11 +5303,21 @@ def WriteSequencerFlagSynchronized(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', nidigitalpattern__pb2.WriteSequencerFlagSynchronizedRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerFlagSynchronizedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadSequencerFlag(request, @@ -4129,11 +5330,21 @@ def ReadSequencerFlag(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', nidigitalpattern__pb2.ReadSequencerFlagRequest.SerializeToString, nidigitalpattern__pb2.ReadSequencerFlagResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteSequencerRegister(request, @@ -4146,11 +5357,21 @@ def WriteSequencerRegister(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', nidigitalpattern__pb2.WriteSequencerRegisterRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerRegisterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadSequencerRegister(request, @@ -4163,11 +5384,21 @@ def ReadSequencerRegister(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', nidigitalpattern__pb2.ReadSequencerRegisterRequest.SerializeToString, nidigitalpattern__pb2.ReadSequencerRegisterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnableMatchFailCombination(request, @@ -4180,11 +5411,21 @@ def EnableMatchFailCombination(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', nidigitalpattern__pb2.EnableMatchFailCombinationRequest.SerializeToString, nidigitalpattern__pb2.EnableMatchFailCombinationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSitePassFail(request, @@ -4197,11 +5438,21 @@ def GetSitePassFail(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', nidigitalpattern__pb2.GetSitePassFailRequest.SerializeToString, nidigitalpattern__pb2.GetSitePassFailResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetFailCount(request, @@ -4214,11 +5465,21 @@ def GetFailCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetFailCount', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetFailCount', nidigitalpattern__pb2.GetFailCountRequest.SerializeToString, nidigitalpattern__pb2.GetFailCountResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPinResultsPinInformation(request, @@ -4231,11 +5492,21 @@ def GetPinResultsPinInformation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', nidigitalpattern__pb2.GetPinResultsPinInformationRequest.SerializeToString, nidigitalpattern__pb2.GetPinResultsPinInformationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSiteResultsSiteNumbers(request, @@ -4248,11 +5519,21 @@ def GetSiteResultsSiteNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', nidigitalpattern__pb2.GetSiteResultsSiteNumbersRequest.SerializeToString, nidigitalpattern__pb2.GetSiteResultsSiteNumbersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FrequencyCounterConfigureMeasurementTime(request, @@ -4265,11 +5546,21 @@ def FrequencyCounterConfigureMeasurementTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FrequencyCounterConfigureMeasurementMode(request, @@ -4282,11 +5573,21 @@ def FrequencyCounterConfigureMeasurementMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FrequencyCounterMeasureFrequency(request, @@ -4299,11 +5600,21 @@ def FrequencyCounterMeasureFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelNameFromString(request, @@ -4316,8 +5627,18 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', + return grpc.experimental.unary_unary( + request, + target, + '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', nidigitalpattern__pb2.GetChannelNameFromStringRequest.SerializeToString, nidigitalpattern__pb2.GetChannelNameFromStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidigital/nidigital/session_pb2.py b/generated/nidigital/nidigital/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/nidigital/nidigital/session_pb2.py +++ b/generated/nidigital/nidigital/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidigital/nidigital/session_pb2_grpc.py b/generated/nidigital/nidigital/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/nidigital/nidigital/session_pb2_grpc.py +++ b/generated/nidigital/nidigital/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidigital/setup.py b/generated/nidigital/setup.py index 99537df95..37238ce24 100644 --- a/generated/nidigital/setup.py +++ b/generated/nidigital/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nidmm/nidmm/nidevice_pb2.py b/generated/nidmm/nidmm/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/nidmm/nidmm/nidevice_pb2.py +++ b/generated/nidmm/nidmm/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidmm/nidmm/nidevice_pb2_grpc.py b/generated/nidmm/nidmm/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/nidmm/nidmm/nidevice_pb2_grpc.py +++ b/generated/nidmm/nidmm/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/nidmm/nidmm/nidmm_pb2.py b/generated/nidmm/nidmm/nidmm_pb2.py index 4be527f87..5b9947d7a 100644 --- a/generated/nidmm/nidmm/nidmm_pb2.py +++ b/generated/nidmm/nidmm/nidmm_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidmm.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidmm.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,17 +30,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidmm_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\017com.ni.grpc.dmmB\005NiDmmP\001\252\002\034NationalInstruments.Grpc.Dmm' - _NIDMMINT32ATTRIBUTEVALUES._options = None - _NIDMMINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _NIDMMREAL64ATTRIBUTEVALUES._options = None - _NIDMMREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' - _INITRESPONSE.fields_by_name['error_message']._options = None - _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\017com.ni.grpc.dmmB\005NiDmmP\001\252\002\034NationalInstruments.Grpc.Dmm' + _globals['_NIDMMINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIDMMINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_NIDMMREAL64ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIDMMREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDMMATTRIBUTE']._serialized_start=17041 _globals['_NIDMMATTRIBUTE']._serialized_end=20507 _globals['_FUNCTION']._serialized_start=20510 diff --git a/generated/nidmm/nidmm/nidmm_pb2_grpc.py b/generated/nidmm/nidmm/nidmm_pb2_grpc.py index cbe353554..fdffdc92a 100644 --- a/generated/nidmm/nidmm/nidmm_pb2_grpc.py +++ b/generated/nidmm/nidmm/nidmm_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import nidmm_pb2 as nidmm__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidmm_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiDmmStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,427 +38,427 @@ def __init__(self, channel): '/nidmm_grpc.NiDmm/Init', request_serializer=nidmm__pb2.InitRequest.SerializeToString, response_deserializer=nidmm__pb2.InitResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/nidmm_grpc.NiDmm/InitWithOptions', request_serializer=nidmm__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nidmm__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/nidmm_grpc.NiDmm/Close', request_serializer=nidmm__pb2.CloseRequest.SerializeToString, response_deserializer=nidmm__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/nidmm_grpc.NiDmm/GetError', request_serializer=nidmm__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidmm__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.GetErrorMessage = channel.unary_unary( '/nidmm_grpc.NiDmm/GetErrorMessage', request_serializer=nidmm__pb2.GetErrorMessageRequest.SerializeToString, response_deserializer=nidmm__pb2.GetErrorMessageResponse.FromString, - ) + _registered_method=True) self.ClearError = channel.unary_unary( '/nidmm_grpc.NiDmm/ClearError', request_serializer=nidmm__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidmm__pb2.ClearErrorResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/nidmm_grpc.NiDmm/Reset', request_serializer=nidmm__pb2.ResetRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/nidmm_grpc.NiDmm/SelfTest', request_serializer=nidmm__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidmm__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.SelfCal = channel.unary_unary( '/nidmm_grpc.NiDmm/SelfCal', request_serializer=nidmm__pb2.SelfCalRequest.SerializeToString, response_deserializer=nidmm__pb2.SelfCalResponse.FromString, - ) + _registered_method=True) self.RevisionQuery = channel.unary_unary( '/nidmm_grpc.NiDmm/RevisionQuery', request_serializer=nidmm__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nidmm__pb2.RevisionQueryResponse.FromString, - ) + _registered_method=True) self.ResetWithDefaults = channel.unary_unary( '/nidmm_grpc.NiDmm/ResetWithDefaults', request_serializer=nidmm__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetWithDefaultsResponse.FromString, - ) + _registered_method=True) self.Disable = channel.unary_unary( '/nidmm_grpc.NiDmm/Disable', request_serializer=nidmm__pb2.DisableRequest.SerializeToString, response_deserializer=nidmm__pb2.DisableResponse.FromString, - ) + _registered_method=True) self.GetMeasurementPeriod = channel.unary_unary( '/nidmm_grpc.NiDmm/GetMeasurementPeriod', request_serializer=nidmm__pb2.GetMeasurementPeriodRequest.SerializeToString, response_deserializer=nidmm__pb2.GetMeasurementPeriodResponse.FromString, - ) + _registered_method=True) self.ConfigureTrigger = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTrigger', request_serializer=nidmm__pb2.ConfigureTriggerRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTriggerResponse.FromString, - ) + _registered_method=True) self.Read = channel.unary_unary( '/nidmm_grpc.NiDmm/Read', request_serializer=nidmm__pb2.ReadRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadResponse.FromString, - ) + _registered_method=True) self.Fetch = channel.unary_unary( '/nidmm_grpc.NiDmm/Fetch', request_serializer=nidmm__pb2.FetchRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchResponse.FromString, - ) + _registered_method=True) self.Abort = channel.unary_unary( '/nidmm_grpc.NiDmm/Abort', request_serializer=nidmm__pb2.AbortRequest.SerializeToString, response_deserializer=nidmm__pb2.AbortResponse.FromString, - ) + _registered_method=True) self.Initiate = channel.unary_unary( '/nidmm_grpc.NiDmm/Initiate', request_serializer=nidmm__pb2.InitiateRequest.SerializeToString, response_deserializer=nidmm__pb2.InitiateResponse.FromString, - ) + _registered_method=True) self.IsOverRange = channel.unary_unary( '/nidmm_grpc.NiDmm/IsOverRange', request_serializer=nidmm__pb2.IsOverRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.IsOverRangeResponse.FromString, - ) + _registered_method=True) self.IsUnderRange = channel.unary_unary( '/nidmm_grpc.NiDmm/IsUnderRange', request_serializer=nidmm__pb2.IsUnderRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.IsUnderRangeResponse.FromString, - ) + _registered_method=True) self.ConfigureACBandwidth = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureACBandwidth', request_serializer=nidmm__pb2.ConfigureACBandwidthRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureACBandwidthResponse.FromString, - ) + _registered_method=True) self.ConfigureFrequencyVoltageRange = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', request_serializer=nidmm__pb2.ConfigureFrequencyVoltageRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureFrequencyVoltageRangeResponse.FromString, - ) + _registered_method=True) self.ConfigureMeasCompleteDest = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', request_serializer=nidmm__pb2.ConfigureMeasCompleteDestRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasCompleteDestResponse.FromString, - ) + _registered_method=True) self.ConfigureMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMultiPoint', request_serializer=nidmm__pb2.ConfigureMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMultiPointResponse.FromString, - ) + _registered_method=True) self.ReadMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadMultiPoint', request_serializer=nidmm__pb2.ReadMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadMultiPointResponse.FromString, - ) + _registered_method=True) self.FetchMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/FetchMultiPoint', request_serializer=nidmm__pb2.FetchMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchMultiPointResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', request_serializer=nidmm__pb2.ConfigureTriggerSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTriggerSlopeResponse.FromString, - ) + _registered_method=True) self.SendSoftwareTrigger = channel.unary_unary( '/nidmm_grpc.NiDmm/SendSoftwareTrigger', request_serializer=nidmm__pb2.SendSoftwareTriggerRequest.SerializeToString, response_deserializer=nidmm__pb2.SendSoftwareTriggerResponse.FromString, - ) + _registered_method=True) self.GetApertureTimeInfo = channel.unary_unary( '/nidmm_grpc.NiDmm/GetApertureTimeInfo', request_serializer=nidmm__pb2.GetApertureTimeInfoRequest.SerializeToString, response_deserializer=nidmm__pb2.GetApertureTimeInfoResponse.FromString, - ) + _registered_method=True) self.GetAutoRangeValue = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAutoRangeValue', request_serializer=nidmm__pb2.GetAutoRangeValueRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAutoRangeValueResponse.FromString, - ) + _registered_method=True) self.ConfigureAutoZeroMode = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', request_serializer=nidmm__pb2.ConfigureAutoZeroModeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureAutoZeroModeResponse.FromString, - ) + _registered_method=True) self.ConfigurePowerLineFrequency = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', request_serializer=nidmm__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigurePowerLineFrequencyResponse.FromString, - ) + _registered_method=True) self.ConfigureMeasurementDigits = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', request_serializer=nidmm__pb2.ConfigureMeasurementDigitsRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasurementDigitsResponse.FromString, - ) + _registered_method=True) self.ConfigureMeasurementAbsolute = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', request_serializer=nidmm__pb2.ConfigureMeasurementAbsoluteRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasurementAbsoluteResponse.FromString, - ) + _registered_method=True) self.ConfigureMeasCompleteSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', request_serializer=nidmm__pb2.ConfigureMeasCompleteSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasCompleteSlopeResponse.FromString, - ) + _registered_method=True) self.ConfigureSampleTriggerSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', request_serializer=nidmm__pb2.ConfigureSampleTriggerSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureSampleTriggerSlopeResponse.FromString, - ) + _registered_method=True) self.ReadStatus = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadStatus', request_serializer=nidmm__pb2.ReadStatusRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadStatusResponse.FromString, - ) + _registered_method=True) self.Control = channel.unary_unary( '/nidmm_grpc.NiDmm/Control', request_serializer=nidmm__pb2.ControlRequest.SerializeToString, response_deserializer=nidmm__pb2.ControlResponse.FromString, - ) + _registered_method=True) self.ConfigureADCCalibration = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureADCCalibration', request_serializer=nidmm__pb2.ConfigureADCCalibrationRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureADCCalibrationResponse.FromString, - ) + _registered_method=True) self.ConfigureOffsetCompOhms = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', request_serializer=nidmm__pb2.ConfigureOffsetCompOhmsRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureOffsetCompOhmsResponse.FromString, - ) + _registered_method=True) self.ConfigureCurrentSource = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureCurrentSource', request_serializer=nidmm__pb2.ConfigureCurrentSourceRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureCurrentSourceResponse.FromString, - ) + _registered_method=True) self.ConfigureCableCompType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureCableCompType', request_serializer=nidmm__pb2.ConfigureCableCompTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureCableCompTypeResponse.FromString, - ) + _registered_method=True) self.PerformOpenCableComp = channel.unary_unary( '/nidmm_grpc.NiDmm/PerformOpenCableComp', request_serializer=nidmm__pb2.PerformOpenCableCompRequest.SerializeToString, response_deserializer=nidmm__pb2.PerformOpenCableCompResponse.FromString, - ) + _registered_method=True) self.PerformShortCableComp = channel.unary_unary( '/nidmm_grpc.NiDmm/PerformShortCableComp', request_serializer=nidmm__pb2.PerformShortCableCompRequest.SerializeToString, response_deserializer=nidmm__pb2.PerformShortCableCompResponse.FromString, - ) + _registered_method=True) self.ConfigureOpenCableCompValues = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', request_serializer=nidmm__pb2.ConfigureOpenCableCompValuesRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureOpenCableCompValuesResponse.FromString, - ) + _registered_method=True) self.ConfigureShortCableCompValues = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', request_serializer=nidmm__pb2.ConfigureShortCableCompValuesRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureShortCableCompValuesResponse.FromString, - ) + _registered_method=True) self.ConfigureWaveformAcquisition = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', request_serializer=nidmm__pb2.ConfigureWaveformAcquisitionRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureWaveformAcquisitionResponse.FromString, - ) + _registered_method=True) self.ConfigureWaveformCoupling = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', request_serializer=nidmm__pb2.ConfigureWaveformCouplingRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureWaveformCouplingResponse.FromString, - ) + _registered_method=True) self.FetchWaveform = channel.unary_unary( '/nidmm_grpc.NiDmm/FetchWaveform', request_serializer=nidmm__pb2.FetchWaveformRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchWaveformResponse.FromString, - ) + _registered_method=True) self.ReadWaveform = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadWaveform', request_serializer=nidmm__pb2.ReadWaveformRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadWaveformResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViInt32', request_serializer=nidmm__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViInt32', request_serializer=nidmm__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.CheckAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViInt32', request_serializer=nidmm__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViReal64', request_serializer=nidmm__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViReal64', request_serializer=nidmm__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViReal64', request_serializer=nidmm__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViString', request_serializer=nidmm__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViString', request_serializer=nidmm__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViString', request_serializer=nidmm__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViSession', request_serializer=nidmm__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViSession', request_serializer=nidmm__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViSession', request_serializer=nidmm__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViBoolean', request_serializer=nidmm__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViBoolean', request_serializer=nidmm__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', request_serializer=nidmm__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', request_serializer=nidmm__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidmm__pb2.ImportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', request_serializer=nidmm__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidmm__pb2.ExportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', request_serializer=nidmm__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidmm__pb2.ImportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', request_serializer=nidmm__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidmm__pb2.ExportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ResetInterchangeCheck = channel.unary_unary( '/nidmm_grpc.NiDmm/ResetInterchangeCheck', request_serializer=nidmm__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetInterchangeCheckResponse.FromString, - ) + _registered_method=True) self.ClearInterchangeWarnings = channel.unary_unary( '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', request_serializer=nidmm__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nidmm__pb2.ClearInterchangeWarningsResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/nidmm_grpc.NiDmm/GetChannelName', request_serializer=nidmm__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidmm__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', request_serializer=nidmm__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nidmm__pb2.GetExtCalRecommendedIntervalResponse.FromString, - ) + _registered_method=True) self.GetSelfCalSupported = channel.unary_unary( '/nidmm_grpc.NiDmm/GetSelfCalSupported', request_serializer=nidmm__pb2.GetSelfCalSupportedRequest.SerializeToString, response_deserializer=nidmm__pb2.GetSelfCalSupportedResponse.FromString, - ) + _registered_method=True) self.GetCalDateAndTime = channel.unary_unary( '/nidmm_grpc.NiDmm/GetCalDateAndTime', request_serializer=nidmm__pb2.GetCalDateAndTimeRequest.SerializeToString, response_deserializer=nidmm__pb2.GetCalDateAndTimeResponse.FromString, - ) + _registered_method=True) self.GetLastCalTemp = channel.unary_unary( '/nidmm_grpc.NiDmm/GetLastCalTemp', request_serializer=nidmm__pb2.GetLastCalTempRequest.SerializeToString, response_deserializer=nidmm__pb2.GetLastCalTempResponse.FromString, - ) + _registered_method=True) self.GetDevTemp = channel.unary_unary( '/nidmm_grpc.NiDmm/GetDevTemp', request_serializer=nidmm__pb2.GetDevTempRequest.SerializeToString, response_deserializer=nidmm__pb2.GetDevTempResponse.FromString, - ) + _registered_method=True) self.ConfigureTransducerType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTransducerType', request_serializer=nidmm__pb2.ConfigureTransducerTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTransducerTypeResponse.FromString, - ) + _registered_method=True) self.ConfigureThermocouple = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermocouple', request_serializer=nidmm__pb2.ConfigureThermocoupleRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermocoupleResponse.FromString, - ) + _registered_method=True) self.ConfigureFixedRefJunction = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', request_serializer=nidmm__pb2.ConfigureFixedRefJunctionRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureFixedRefJunctionResponse.FromString, - ) + _registered_method=True) self.ConfigureRTDType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureRTDType', request_serializer=nidmm__pb2.ConfigureRTDTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureRTDTypeResponse.FromString, - ) + _registered_method=True) self.ConfigureRTDCustom = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureRTDCustom', request_serializer=nidmm__pb2.ConfigureRTDCustomRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureRTDCustomResponse.FromString, - ) + _registered_method=True) self.ConfigureThermistorType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermistorType', request_serializer=nidmm__pb2.ConfigureThermistorTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermistorTypeResponse.FromString, - ) + _registered_method=True) self.ConfigureThermistorCustom = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', request_serializer=nidmm__pb2.ConfigureThermistorCustomRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermistorCustomResponse.FromString, - ) + _registered_method=True) self.InvalidateAllAttributes = channel.unary_unary( '/nidmm_grpc.NiDmm/InvalidateAllAttributes', request_serializer=nidmm__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nidmm__pb2.InvalidateAllAttributesResponse.FromString, - ) + _registered_method=True) class NiDmmServicer(object): @@ -1386,6 +1406,7 @@ def add_NiDmmServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidmm_grpc.NiDmm', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidmm_grpc.NiDmm', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1403,11 +1424,21 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Init', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Init', nidmm__pb2.InitRequest.SerializeToString, nidmm__pb2.InitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -1420,11 +1451,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/InitWithOptions', nidmm__pb2.InitWithOptionsRequest.SerializeToString, nidmm__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -1437,11 +1478,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Close', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Close', nidmm__pb2.CloseRequest.SerializeToString, nidmm__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -1454,11 +1505,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetError', nidmm__pb2.GetErrorRequest.SerializeToString, nidmm__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetErrorMessage(request, @@ -1471,11 +1532,21 @@ def GetErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetErrorMessage', nidmm__pb2.GetErrorMessageRequest.SerializeToString, nidmm__pb2.GetErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearError(request, @@ -1488,11 +1559,21 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ClearError', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ClearError', nidmm__pb2.ClearErrorRequest.SerializeToString, nidmm__pb2.ClearErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -1505,11 +1586,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Reset', nidmm__pb2.ResetRequest.SerializeToString, nidmm__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -1522,11 +1613,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SelfTest', nidmm__pb2.SelfTestRequest.SerializeToString, nidmm__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfCal(request, @@ -1539,11 +1640,21 @@ def SelfCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SelfCal', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SelfCal', nidmm__pb2.SelfCalRequest.SerializeToString, nidmm__pb2.SelfCalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RevisionQuery(request, @@ -1556,11 +1667,21 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/RevisionQuery', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/RevisionQuery', nidmm__pb2.RevisionQueryRequest.SerializeToString, nidmm__pb2.RevisionQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetWithDefaults(request, @@ -1573,11 +1694,21 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ResetWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ResetWithDefaults', nidmm__pb2.ResetWithDefaultsRequest.SerializeToString, nidmm__pb2.ResetWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disable(request, @@ -1590,11 +1721,21 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Disable', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Disable', nidmm__pb2.DisableRequest.SerializeToString, nidmm__pb2.DisableResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetMeasurementPeriod(request, @@ -1607,11 +1748,21 @@ def GetMeasurementPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetMeasurementPeriod', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetMeasurementPeriod', nidmm__pb2.GetMeasurementPeriodRequest.SerializeToString, nidmm__pb2.GetMeasurementPeriodResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTrigger(request, @@ -1624,11 +1775,21 @@ def ConfigureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureTrigger', nidmm__pb2.ConfigureTriggerRequest.SerializeToString, nidmm__pb2.ConfigureTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Read(request, @@ -1641,11 +1802,21 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Read', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Read', nidmm__pb2.ReadRequest.SerializeToString, nidmm__pb2.ReadResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Fetch(request, @@ -1658,11 +1829,21 @@ def Fetch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Fetch', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Fetch', nidmm__pb2.FetchRequest.SerializeToString, nidmm__pb2.FetchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Abort(request, @@ -1675,11 +1856,21 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Abort', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Abort', nidmm__pb2.AbortRequest.SerializeToString, nidmm__pb2.AbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Initiate(request, @@ -1692,11 +1883,21 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Initiate', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Initiate', nidmm__pb2.InitiateRequest.SerializeToString, nidmm__pb2.InitiateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsOverRange(request, @@ -1709,11 +1910,21 @@ def IsOverRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/IsOverRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/IsOverRange', nidmm__pb2.IsOverRangeRequest.SerializeToString, nidmm__pb2.IsOverRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsUnderRange(request, @@ -1726,11 +1937,21 @@ def IsUnderRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/IsUnderRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/IsUnderRange', nidmm__pb2.IsUnderRangeRequest.SerializeToString, nidmm__pb2.IsUnderRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureACBandwidth(request, @@ -1743,11 +1964,21 @@ def ConfigureACBandwidth(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureACBandwidth', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureACBandwidth', nidmm__pb2.ConfigureACBandwidthRequest.SerializeToString, nidmm__pb2.ConfigureACBandwidthResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureFrequencyVoltageRange(request, @@ -1760,11 +1991,21 @@ def ConfigureFrequencyVoltageRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', nidmm__pb2.ConfigureFrequencyVoltageRangeRequest.SerializeToString, nidmm__pb2.ConfigureFrequencyVoltageRangeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureMeasCompleteDest(request, @@ -1777,11 +2018,21 @@ def ConfigureMeasCompleteDest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', nidmm__pb2.ConfigureMeasCompleteDestRequest.SerializeToString, nidmm__pb2.ConfigureMeasCompleteDestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureMultiPoint(request, @@ -1794,11 +2045,21 @@ def ConfigureMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMultiPoint', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureMultiPoint', nidmm__pb2.ConfigureMultiPointRequest.SerializeToString, nidmm__pb2.ConfigureMultiPointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadMultiPoint(request, @@ -1811,11 +2072,21 @@ def ReadMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadMultiPoint', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ReadMultiPoint', nidmm__pb2.ReadMultiPointRequest.SerializeToString, nidmm__pb2.ReadMultiPointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchMultiPoint(request, @@ -1828,11 +2099,21 @@ def FetchMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/FetchMultiPoint', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/FetchMultiPoint', nidmm__pb2.FetchMultiPointRequest.SerializeToString, nidmm__pb2.FetchMultiPointResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerSlope(request, @@ -1845,11 +2126,21 @@ def ConfigureTriggerSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', nidmm__pb2.ConfigureTriggerSlopeRequest.SerializeToString, nidmm__pb2.ConfigureTriggerSlopeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareTrigger(request, @@ -1862,11 +2153,21 @@ def SendSoftwareTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SendSoftwareTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SendSoftwareTrigger', nidmm__pb2.SendSoftwareTriggerRequest.SerializeToString, nidmm__pb2.SendSoftwareTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetApertureTimeInfo(request, @@ -1879,11 +2180,21 @@ def GetApertureTimeInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetApertureTimeInfo', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetApertureTimeInfo', nidmm__pb2.GetApertureTimeInfoRequest.SerializeToString, nidmm__pb2.GetApertureTimeInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAutoRangeValue(request, @@ -1896,11 +2207,21 @@ def GetAutoRangeValue(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAutoRangeValue', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAutoRangeValue', nidmm__pb2.GetAutoRangeValueRequest.SerializeToString, nidmm__pb2.GetAutoRangeValueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureAutoZeroMode(request, @@ -1913,11 +2234,21 @@ def ConfigureAutoZeroMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', nidmm__pb2.ConfigureAutoZeroModeRequest.SerializeToString, nidmm__pb2.ConfigureAutoZeroModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigurePowerLineFrequency(request, @@ -1930,11 +2261,21 @@ def ConfigurePowerLineFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', nidmm__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, nidmm__pb2.ConfigurePowerLineFrequencyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureMeasurementDigits(request, @@ -1947,11 +2288,21 @@ def ConfigureMeasurementDigits(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', nidmm__pb2.ConfigureMeasurementDigitsRequest.SerializeToString, nidmm__pb2.ConfigureMeasurementDigitsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureMeasurementAbsolute(request, @@ -1964,11 +2315,21 @@ def ConfigureMeasurementAbsolute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', nidmm__pb2.ConfigureMeasurementAbsoluteRequest.SerializeToString, nidmm__pb2.ConfigureMeasurementAbsoluteResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureMeasCompleteSlope(request, @@ -1981,11 +2342,21 @@ def ConfigureMeasCompleteSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', nidmm__pb2.ConfigureMeasCompleteSlopeRequest.SerializeToString, nidmm__pb2.ConfigureMeasCompleteSlopeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSampleTriggerSlope(request, @@ -1998,11 +2369,21 @@ def ConfigureSampleTriggerSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', nidmm__pb2.ConfigureSampleTriggerSlopeRequest.SerializeToString, nidmm__pb2.ConfigureSampleTriggerSlopeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadStatus(request, @@ -2015,11 +2396,21 @@ def ReadStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadStatus', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ReadStatus', nidmm__pb2.ReadStatusRequest.SerializeToString, nidmm__pb2.ReadStatusResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Control(request, @@ -2032,11 +2423,21 @@ def Control(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Control', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/Control', nidmm__pb2.ControlRequest.SerializeToString, nidmm__pb2.ControlResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureADCCalibration(request, @@ -2049,11 +2450,21 @@ def ConfigureADCCalibration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureADCCalibration', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureADCCalibration', nidmm__pb2.ConfigureADCCalibrationRequest.SerializeToString, nidmm__pb2.ConfigureADCCalibrationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOffsetCompOhms(request, @@ -2066,11 +2477,21 @@ def ConfigureOffsetCompOhms(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', nidmm__pb2.ConfigureOffsetCompOhmsRequest.SerializeToString, nidmm__pb2.ConfigureOffsetCompOhmsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCurrentSource(request, @@ -2083,11 +2504,21 @@ def ConfigureCurrentSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureCurrentSource', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureCurrentSource', nidmm__pb2.ConfigureCurrentSourceRequest.SerializeToString, nidmm__pb2.ConfigureCurrentSourceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCableCompType(request, @@ -2100,11 +2531,21 @@ def ConfigureCableCompType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureCableCompType', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureCableCompType', nidmm__pb2.ConfigureCableCompTypeRequest.SerializeToString, nidmm__pb2.ConfigureCableCompTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformOpenCableComp(request, @@ -2117,11 +2558,21 @@ def PerformOpenCableComp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/PerformOpenCableComp', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/PerformOpenCableComp', nidmm__pb2.PerformOpenCableCompRequest.SerializeToString, nidmm__pb2.PerformOpenCableCompResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PerformShortCableComp(request, @@ -2134,11 +2585,21 @@ def PerformShortCableComp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/PerformShortCableComp', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/PerformShortCableComp', nidmm__pb2.PerformShortCableCompRequest.SerializeToString, nidmm__pb2.PerformShortCableCompResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOpenCableCompValues(request, @@ -2151,11 +2612,21 @@ def ConfigureOpenCableCompValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', nidmm__pb2.ConfigureOpenCableCompValuesRequest.SerializeToString, nidmm__pb2.ConfigureOpenCableCompValuesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureShortCableCompValues(request, @@ -2168,11 +2639,21 @@ def ConfigureShortCableCompValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', nidmm__pb2.ConfigureShortCableCompValuesRequest.SerializeToString, nidmm__pb2.ConfigureShortCableCompValuesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureWaveformAcquisition(request, @@ -2185,11 +2666,21 @@ def ConfigureWaveformAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', nidmm__pb2.ConfigureWaveformAcquisitionRequest.SerializeToString, nidmm__pb2.ConfigureWaveformAcquisitionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureWaveformCoupling(request, @@ -2202,11 +2693,21 @@ def ConfigureWaveformCoupling(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', nidmm__pb2.ConfigureWaveformCouplingRequest.SerializeToString, nidmm__pb2.ConfigureWaveformCouplingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchWaveform(request, @@ -2219,11 +2720,21 @@ def FetchWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/FetchWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/FetchWaveform', nidmm__pb2.FetchWaveformRequest.SerializeToString, nidmm__pb2.FetchWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadWaveform(request, @@ -2236,11 +2747,21 @@ def ReadWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ReadWaveform', nidmm__pb2.ReadWaveformRequest.SerializeToString, nidmm__pb2.ReadWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -2253,11 +2774,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAttributeViInt32', nidmm__pb2.GetAttributeViInt32Request.SerializeToString, nidmm__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -2270,11 +2801,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SetAttributeViInt32', nidmm__pb2.SetAttributeViInt32Request.SerializeToString, nidmm__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt32(request, @@ -2287,11 +2828,21 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/CheckAttributeViInt32', nidmm__pb2.CheckAttributeViInt32Request.SerializeToString, nidmm__pb2.CheckAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -2304,11 +2855,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAttributeViReal64', nidmm__pb2.GetAttributeViReal64Request.SerializeToString, nidmm__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -2321,11 +2882,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SetAttributeViReal64', nidmm__pb2.SetAttributeViReal64Request.SerializeToString, nidmm__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViReal64(request, @@ -2338,11 +2909,21 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/CheckAttributeViReal64', nidmm__pb2.CheckAttributeViReal64Request.SerializeToString, nidmm__pb2.CheckAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -2355,11 +2936,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAttributeViString', nidmm__pb2.GetAttributeViStringRequest.SerializeToString, nidmm__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -2372,11 +2963,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SetAttributeViString', nidmm__pb2.SetAttributeViStringRequest.SerializeToString, nidmm__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViString(request, @@ -2389,11 +2990,21 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/CheckAttributeViString', nidmm__pb2.CheckAttributeViStringRequest.SerializeToString, nidmm__pb2.CheckAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -2406,11 +3017,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAttributeViSession', nidmm__pb2.GetAttributeViSessionRequest.SerializeToString, nidmm__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -2423,11 +3044,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SetAttributeViSession', nidmm__pb2.SetAttributeViSessionRequest.SerializeToString, nidmm__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViSession(request, @@ -2440,11 +3071,21 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/CheckAttributeViSession', nidmm__pb2.CheckAttributeViSessionRequest.SerializeToString, nidmm__pb2.CheckAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -2457,11 +3098,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetAttributeViBoolean', nidmm__pb2.GetAttributeViBooleanRequest.SerializeToString, nidmm__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -2474,11 +3125,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/SetAttributeViBoolean', nidmm__pb2.SetAttributeViBooleanRequest.SerializeToString, nidmm__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViBoolean(request, @@ -2491,11 +3152,21 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', nidmm__pb2.CheckAttributeViBooleanRequest.SerializeToString, nidmm__pb2.CheckAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationFile(request, @@ -2508,11 +3179,21 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', nidmm__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nidmm__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationFile(request, @@ -2525,11 +3206,21 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', nidmm__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nidmm__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -2542,11 +3233,21 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', nidmm__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nidmm__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -2559,11 +3260,21 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', nidmm__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nidmm__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetInterchangeCheck(request, @@ -2576,11 +3287,21 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ResetInterchangeCheck', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ResetInterchangeCheck', nidmm__pb2.ResetInterchangeCheckRequest.SerializeToString, nidmm__pb2.ResetInterchangeCheckResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearInterchangeWarnings(request, @@ -2593,11 +3314,21 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', nidmm__pb2.ClearInterchangeWarningsRequest.SerializeToString, nidmm__pb2.ClearInterchangeWarningsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -2610,11 +3341,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetChannelName', nidmm__pb2.GetChannelNameRequest.SerializeToString, nidmm__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalRecommendedInterval(request, @@ -2627,11 +3368,21 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', nidmm__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nidmm__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalSupported(request, @@ -2644,11 +3395,21 @@ def GetSelfCalSupported(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetSelfCalSupported', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetSelfCalSupported', nidmm__pb2.GetSelfCalSupportedRequest.SerializeToString, nidmm__pb2.GetSelfCalSupportedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetCalDateAndTime(request, @@ -2661,11 +3422,21 @@ def GetCalDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetCalDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetCalDateAndTime', nidmm__pb2.GetCalDateAndTimeRequest.SerializeToString, nidmm__pb2.GetCalDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetLastCalTemp(request, @@ -2678,11 +3449,21 @@ def GetLastCalTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetLastCalTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetLastCalTemp', nidmm__pb2.GetLastCalTempRequest.SerializeToString, nidmm__pb2.GetLastCalTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetDevTemp(request, @@ -2695,11 +3476,21 @@ def GetDevTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetDevTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/GetDevTemp', nidmm__pb2.GetDevTempRequest.SerializeToString, nidmm__pb2.GetDevTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTransducerType(request, @@ -2712,11 +3503,21 @@ def ConfigureTransducerType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTransducerType', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureTransducerType', nidmm__pb2.ConfigureTransducerTypeRequest.SerializeToString, nidmm__pb2.ConfigureTransducerTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureThermocouple(request, @@ -2729,11 +3530,21 @@ def ConfigureThermocouple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermocouple', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureThermocouple', nidmm__pb2.ConfigureThermocoupleRequest.SerializeToString, nidmm__pb2.ConfigureThermocoupleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureFixedRefJunction(request, @@ -2746,11 +3557,21 @@ def ConfigureFixedRefJunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', nidmm__pb2.ConfigureFixedRefJunctionRequest.SerializeToString, nidmm__pb2.ConfigureFixedRefJunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureRTDType(request, @@ -2763,11 +3584,21 @@ def ConfigureRTDType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureRTDType', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureRTDType', nidmm__pb2.ConfigureRTDTypeRequest.SerializeToString, nidmm__pb2.ConfigureRTDTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureRTDCustom(request, @@ -2780,11 +3611,21 @@ def ConfigureRTDCustom(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureRTDCustom', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureRTDCustom', nidmm__pb2.ConfigureRTDCustomRequest.SerializeToString, nidmm__pb2.ConfigureRTDCustomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureThermistorType(request, @@ -2797,11 +3638,21 @@ def ConfigureThermistorType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermistorType', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureThermistorType', nidmm__pb2.ConfigureThermistorTypeRequest.SerializeToString, nidmm__pb2.ConfigureThermistorTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureThermistorCustom(request, @@ -2814,11 +3665,21 @@ def ConfigureThermistorCustom(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', nidmm__pb2.ConfigureThermistorCustomRequest.SerializeToString, nidmm__pb2.ConfigureThermistorCustomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InvalidateAllAttributes(request, @@ -2831,8 +3692,18 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/InvalidateAllAttributes', + return grpc.experimental.unary_unary( + request, + target, + '/nidmm_grpc.NiDmm/InvalidateAllAttributes', nidmm__pb2.InvalidateAllAttributesRequest.SerializeToString, nidmm__pb2.InvalidateAllAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidmm/nidmm/session_pb2.py b/generated/nidmm/nidmm/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/nidmm/nidmm/session_pb2.py +++ b/generated/nidmm/nidmm/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidmm/nidmm/session_pb2_grpc.py b/generated/nidmm/nidmm/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/nidmm/nidmm/session_pb2_grpc.py +++ b/generated/nidmm/nidmm/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nidmm/setup.py b/generated/nidmm/setup.py index 2a5783a19..1dec9caa2 100644 --- a/generated/nidmm/setup.py +++ b/generated/nidmm/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nifake/nifake/nidevice_pb2.py b/generated/nifake/nifake/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/nifake/nifake/nidevice_pb2.py +++ b/generated/nifake/nifake/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nifake/nifake/nidevice_pb2_grpc.py b/generated/nifake/nifake/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/nifake/nifake/nidevice_pb2_grpc.py +++ b/generated/nifake/nifake/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/nifake/nifake/nifake_pb2.py b/generated/nifake/nifake/nifake_pb2.py index 3741c0eb6..d931c4bca 100644 --- a/generated/nifake/nifake/nifake_pb2.py +++ b/generated/nifake/nifake/nifake_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nifake.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nifake.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,13 +30,13 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nifake_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\020com.ni.grpc.fakeB\006NiFakeP\001\252\002\035NationalInstruments.Grpc.Fake' - _NIFAKEINT32ATTRIBUTEVALUES._options = None - _NIFAKEINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _METHODWITHGETLASTERRORPARAMRESPONSE.fields_by_name['last_error']._options = None - _METHODWITHGETLASTERRORPARAMRESPONSE.fields_by_name['last_error']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\020com.ni.grpc.fakeB\006NiFakeP\001\252\002\035NationalInstruments.Grpc.Fake' + _globals['_NIFAKEINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIFAKEINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_METHODWITHGETLASTERRORPARAMRESPONSE'].fields_by_name['last_error']._loaded_options = None + _globals['_METHODWITHGETLASTERRORPARAMRESPONSE'].fields_by_name['last_error']._serialized_options = b'\030\001' _globals['_NIFAKEATTRIBUTE']._serialized_start=18090 _globals['_NIFAKEATTRIBUTE']._serialized_end=18760 _globals['_GRPCCOLOROVERRIDE']._serialized_start=18763 diff --git a/generated/nifake/nifake/nifake_pb2_grpc.py b/generated/nifake/nifake/nifake_pb2_grpc.py index 75ad6454b..a04a469aa 100644 --- a/generated/nifake/nifake/nifake_pb2_grpc.py +++ b/generated/nifake/nifake/nifake_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import nifake_pb2 as nifake__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nifake_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiFakeStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,487 +38,487 @@ def __init__(self, channel): '/nifake_grpc.NiFake/Abort', request_serializer=nifake__pb2.AbortRequest.SerializeToString, response_deserializer=nifake__pb2.AbortResponse.FromString, - ) + _registered_method=True) self.BoolArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/BoolArrayOutputFunction', request_serializer=nifake__pb2.BoolArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.BoolArrayOutputFunctionResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/nifake_grpc.NiFake/Close', request_serializer=nifake__pb2.CloseRequest.SerializeToString, response_deserializer=nifake__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.EnumArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/EnumArrayOutputFunction', request_serializer=nifake__pb2.EnumArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.EnumArrayOutputFunctionResponse.FromString, - ) + _registered_method=True) self.EnumInputFunctionWithDefaults = channel.unary_unary( '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', request_serializer=nifake__pb2.EnumInputFunctionWithDefaultsRequest.SerializeToString, response_deserializer=nifake__pb2.EnumInputFunctionWithDefaultsResponse.FromString, - ) + _registered_method=True) self.StringValuedEnumInputFunctionWithDefaults = channel.unary_unary( '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', request_serializer=nifake__pb2.StringValuedEnumInputFunctionWithDefaultsRequest.SerializeToString, response_deserializer=nifake__pb2.StringValuedEnumInputFunctionWithDefaultsResponse.FromString, - ) + _registered_method=True) self.ErrorMessage = channel.unary_unary( '/nifake_grpc.NiFake/ErrorMessage', request_serializer=nifake__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nifake__pb2.ErrorMessageResponse.FromString, - ) + _registered_method=True) self.FetchWaveform = channel.unary_unary( '/nifake_grpc.NiFake/FetchWaveform', request_serializer=nifake__pb2.FetchWaveformRequest.SerializeToString, response_deserializer=nifake__pb2.FetchWaveformResponse.FromString, - ) + _registered_method=True) self.GetABoolean = channel.unary_unary( '/nifake_grpc.NiFake/GetABoolean', request_serializer=nifake__pb2.GetABooleanRequest.SerializeToString, response_deserializer=nifake__pb2.GetABooleanResponse.FromString, - ) + _registered_method=True) self.GetANumber = channel.unary_unary( '/nifake_grpc.NiFake/GetANumber', request_serializer=nifake__pb2.GetANumberRequest.SerializeToString, response_deserializer=nifake__pb2.GetANumberResponse.FromString, - ) + _registered_method=True) self.GetAStringOfFixedMaximumSize = channel.unary_unary( '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', request_serializer=nifake__pb2.GetAStringOfFixedMaximumSizeRequest.SerializeToString, response_deserializer=nifake__pb2.GetAStringOfFixedMaximumSizeResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceCharArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceCharArray', request_serializer=nifake__pb2.GetAnIviDanceCharArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceCharArrayResponse.FromString, - ) + _registered_method=True) self.GetArrayUsingIviDance = channel.unary_unary( '/nifake_grpc.NiFake/GetArrayUsingIviDance', request_serializer=nifake__pb2.GetArrayUsingIviDanceRequest.SerializeToString, response_deserializer=nifake__pb2.GetArrayUsingIviDanceResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViBoolean', request_serializer=nifake__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViInt32', request_serializer=nifake__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViInt64 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViInt64', request_serializer=nifake__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViReal64', request_serializer=nifake__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViSession', request_serializer=nifake__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViString', request_serializer=nifake__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetCalDateAndTime = channel.unary_unary( '/nifake_grpc.NiFake/GetCalDateAndTime', request_serializer=nifake__pb2.GetCalDateAndTimeRequest.SerializeToString, response_deserializer=nifake__pb2.GetCalDateAndTimeResponse.FromString, - ) + _registered_method=True) self.GetCalInterval = channel.unary_unary( '/nifake_grpc.NiFake/GetCalInterval', request_serializer=nifake__pb2.GetCalIntervalRequest.SerializeToString, response_deserializer=nifake__pb2.GetCalIntervalResponse.FromString, - ) + _registered_method=True) self.GetEnumValue = channel.unary_unary( '/nifake_grpc.NiFake/GetEnumValue', request_serializer=nifake__pb2.GetEnumValueRequest.SerializeToString, response_deserializer=nifake__pb2.GetEnumValueResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/nifake_grpc.NiFake/GetError', request_serializer=nifake__pb2.GetErrorRequest.SerializeToString, response_deserializer=nifake__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/nifake_grpc.NiFake/InitWithOptions', request_serializer=nifake__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nifake__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.MultipleArrayTypes = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArrayTypes', request_serializer=nifake__pb2.MultipleArrayTypesRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArrayTypesResponse.FromString, - ) + _registered_method=True) self.MultipleArraysSameSize = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArraysSameSize', request_serializer=nifake__pb2.MultipleArraysSameSizeRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArraysSameSizeResponse.FromString, - ) + _registered_method=True) self.OneInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/OneInputFunction', request_serializer=nifake__pb2.OneInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.OneInputFunctionResponse.FromString, - ) + _registered_method=True) self.ParametersAreMultipleTypes = channel.unary_unary( '/nifake_grpc.NiFake/ParametersAreMultipleTypes', request_serializer=nifake__pb2.ParametersAreMultipleTypesRequest.SerializeToString, response_deserializer=nifake__pb2.ParametersAreMultipleTypesResponse.FromString, - ) + _registered_method=True) self.PoorlyNamedSimpleFunction = channel.unary_unary( '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', request_serializer=nifake__pb2.PoorlyNamedSimpleFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.PoorlyNamedSimpleFunctionResponse.FromString, - ) + _registered_method=True) self.Read = channel.unary_unary( '/nifake_grpc.NiFake/Read', request_serializer=nifake__pb2.ReadRequest.SerializeToString, response_deserializer=nifake__pb2.ReadResponse.FromString, - ) + _registered_method=True) self.ReadFromChannel = channel.unary_unary( '/nifake_grpc.NiFake/ReadFromChannel', request_serializer=nifake__pb2.ReadFromChannelRequest.SerializeToString, response_deserializer=nifake__pb2.ReadFromChannelResponse.FromString, - ) + _registered_method=True) self.ReturnANumberAndAString = channel.unary_unary( '/nifake_grpc.NiFake/ReturnANumberAndAString', request_serializer=nifake__pb2.ReturnANumberAndAStringRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnANumberAndAStringResponse.FromString, - ) + _registered_method=True) self.ReturnMultipleTypes = channel.unary_unary( '/nifake_grpc.NiFake/ReturnMultipleTypes', request_serializer=nifake__pb2.ReturnMultipleTypesRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnMultipleTypesResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViBoolean', request_serializer=nifake__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViInt32', request_serializer=nifake__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt64 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViInt64', request_serializer=nifake__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViReal64', request_serializer=nifake__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViString', request_serializer=nifake__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.TwoInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/TwoInputFunction', request_serializer=nifake__pb2.TwoInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.TwoInputFunctionResponse.FromString, - ) + _registered_method=True) self.Use64BitNumber = channel.unary_unary( '/nifake_grpc.NiFake/Use64BitNumber', request_serializer=nifake__pb2.Use64BitNumberRequest.SerializeToString, response_deserializer=nifake__pb2.Use64BitNumberResponse.FromString, - ) + _registered_method=True) self.WriteWaveform = channel.unary_unary( '/nifake_grpc.NiFake/WriteWaveform', request_serializer=nifake__pb2.WriteWaveformRequest.SerializeToString, response_deserializer=nifake__pb2.WriteWaveformResponse.FromString, - ) + _registered_method=True) self.SetCustomType = channel.unary_unary( '/nifake_grpc.NiFake/SetCustomType', request_serializer=nifake__pb2.SetCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.SetCustomTypeResponse.FromString, - ) + _registered_method=True) self.SetCustomTypeArray = channel.unary_unary( '/nifake_grpc.NiFake/SetCustomTypeArray', request_serializer=nifake__pb2.SetCustomTypeArrayRequest.SerializeToString, response_deserializer=nifake__pb2.SetCustomTypeArrayResponse.FromString, - ) + _registered_method=True) self.GetCustomType = channel.unary_unary( '/nifake_grpc.NiFake/GetCustomType', request_serializer=nifake__pb2.GetCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.GetCustomTypeResponse.FromString, - ) + _registered_method=True) self.GetCustomTypeArray = channel.unary_unary( '/nifake_grpc.NiFake/GetCustomTypeArray', request_serializer=nifake__pb2.GetCustomTypeArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetCustomTypeArrayResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistString = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', request_serializer=nifake__pb2.GetAnIviDanceWithATwistStringRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistStringResponse.FromString, - ) + _registered_method=True) self.DoubleAllTheNums = channel.unary_unary( '/nifake_grpc.NiFake/DoubleAllTheNums', request_serializer=nifake__pb2.DoubleAllTheNumsRequest.SerializeToString, response_deserializer=nifake__pb2.DoubleAllTheNumsResponse.FromString, - ) + _registered_method=True) self.AcceptListOfDurationsInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', request_serializer=nifake__pb2.AcceptListOfDurationsInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptListOfDurationsInSecondsResponse.FromString, - ) + _registered_method=True) self.ReturnDurationInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/ReturnDurationInSeconds', request_serializer=nifake__pb2.ReturnDurationInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnDurationInSecondsResponse.FromString, - ) + _registered_method=True) self.ReturnListOfDurationsInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', request_serializer=nifake__pb2.ReturnListOfDurationsInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnListOfDurationsInSecondsResponse.FromString, - ) + _registered_method=True) self.ConfigureAbc = channel.unary_unary( '/nifake_grpc.NiFake/ConfigureAbc', request_serializer=nifake__pb2.ConfigureAbcRequest.SerializeToString, response_deserializer=nifake__pb2.ConfigureAbcResponse.FromString, - ) + _registered_method=True) self.ConfigureEnums = channel.unary_unary( '/nifake_grpc.NiFake/ConfigureEnums', request_serializer=nifake__pb2.ConfigureEnumsRequest.SerializeToString, response_deserializer=nifake__pb2.ConfigureEnumsResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBufferEx = channel.unary_unary( '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', request_serializer=nifake__pb2.ExportAttributeConfigurationBufferExRequest.SerializeToString, response_deserializer=nifake__pb2.ExportAttributeConfigurationBufferExResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBufferEx = channel.unary_unary( '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', request_serializer=nifake__pb2.ImportAttributeConfigurationBufferExRequest.SerializeToString, response_deserializer=nifake__pb2.ImportAttributeConfigurationBufferExResponse.FromString, - ) + _registered_method=True) self.FetchWithCustomSize = channel.unary_unary( '/nifake_grpc.NiFake/FetchWithCustomSize', request_serializer=nifake__pb2.FetchWithCustomSizeRequest.SerializeToString, response_deserializer=nifake__pb2.FetchWithCustomSizeResponse.FromString, - ) + _registered_method=True) self.GetParameterWithOverriddenGrpcName = channel.unary_unary( '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', request_serializer=nifake__pb2.GetParameterWithOverriddenGrpcNameRequest.SerializeToString, response_deserializer=nifake__pb2.GetParameterWithOverriddenGrpcNameResponse.FromString, - ) + _registered_method=True) self.IviDanceWithTwistWithMultipleArraysAndOneBufferSize = channel.unary_unary( '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', request_serializer=nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeRequest.SerializeToString, response_deserializer=nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeResponse.FromString, - ) + _registered_method=True) self.FunctionWithOverriddenGrpcName2x = channel.unary_unary( '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', request_serializer=nifake__pb2.FunctionWithOverriddenGrpcName2xRequest.SerializeToString, response_deserializer=nifake__pb2.FunctionWithOverriddenGrpcName2xResponse.FromString, - ) + _registered_method=True) self.StringValuedEnumNoEnumGenerated = channel.unary_unary( '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', request_serializer=nifake__pb2.StringValuedEnumNoEnumGeneratedRequest.SerializeToString, response_deserializer=nifake__pb2.StringValuedEnumNoEnumGeneratedResponse.FromString, - ) + _registered_method=True) self.IviDanceWithATwistCalculatedSizeOut = channel.unary_unary( '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', request_serializer=nifake__pb2.IviDanceWithATwistCalculatedSizeOutRequest.SerializeToString, response_deserializer=nifake__pb2.IviDanceWithATwistCalculatedSizeOutResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', request_serializer=nifake__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifake__pb2.ImportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', request_serializer=nifake__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifake__pb2.ExportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.Control4022 = channel.unary_unary( '/nifake_grpc.NiFake/Control4022', request_serializer=nifake__pb2.Control4022Request.SerializeToString, response_deserializer=nifake__pb2.Control4022Response.FromString, - ) + _registered_method=True) self.AcceptViSessionArray = channel.unary_unary( '/nifake_grpc.NiFake/AcceptViSessionArray', request_serializer=nifake__pb2.AcceptViSessionArrayRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptViSessionArrayResponse.FromString, - ) + _registered_method=True) self.AcceptViUInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/AcceptViUInt32Array', request_serializer=nifake__pb2.AcceptViUInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptViUInt32ArrayResponse.FromString, - ) + _registered_method=True) self.BoolArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/BoolArrayInputFunction', request_serializer=nifake__pb2.BoolArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.BoolArrayInputFunctionResponse.FromString, - ) + _registered_method=True) self.CloseExtCal = channel.unary_unary( '/nifake_grpc.NiFake/CloseExtCal', request_serializer=nifake__pb2.CloseExtCalRequest.SerializeToString, response_deserializer=nifake__pb2.CloseExtCalResponse.FromString, - ) + _registered_method=True) self.CommandWithReservedParam = channel.unary_unary( '/nifake_grpc.NiFake/CommandWithReservedParam', request_serializer=nifake__pb2.CommandWithReservedParamRequest.SerializeToString, response_deserializer=nifake__pb2.CommandWithReservedParamResponse.FromString, - ) + _registered_method=True) self.CreateConfigurationList = channel.unary_unary( '/nifake_grpc.NiFake/CreateConfigurationList', request_serializer=nifake__pb2.CreateConfigurationListRequest.SerializeToString, response_deserializer=nifake__pb2.CreateConfigurationListResponse.FromString, - ) + _registered_method=True) self.CustomNestedStructRoundtrip = channel.unary_unary( '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', request_serializer=nifake__pb2.CustomNestedStructRoundtripRequest.SerializeToString, response_deserializer=nifake__pb2.CustomNestedStructRoundtripResponse.FromString, - ) + _registered_method=True) self.GetBitfieldAsEnumArray = channel.unary_unary( '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', request_serializer=nifake__pb2.GetBitfieldAsEnumArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetBitfieldAsEnumArrayResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistArrayOfCustomType = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistArrayWithInputArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistByteArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistByteArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistByteArrayResponse.FromString, - ) + _registered_method=True) self.GetAnIviDanceWithATwistStringStrlenBug = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', request_serializer=nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugResponse.FromString, - ) + _registered_method=True) self.GetArraySizeForCustomCode = channel.unary_unary( '/nifake_grpc.NiFake/GetArraySizeForCustomCode', request_serializer=nifake__pb2.GetArraySizeForCustomCodeRequest.SerializeToString, response_deserializer=nifake__pb2.GetArraySizeForCustomCodeResponse.FromString, - ) + _registered_method=True) self.GetArrayViUInt8WithEnum = channel.unary_unary( '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', request_serializer=nifake__pb2.GetArrayViUInt8WithEnumRequest.SerializeToString, response_deserializer=nifake__pb2.GetArrayViUInt8WithEnumResponse.FromString, - ) + _registered_method=True) self.GetViUInt8 = channel.unary_unary( '/nifake_grpc.NiFake/GetViUInt8', request_serializer=nifake__pb2.GetViUInt8Request.SerializeToString, response_deserializer=nifake__pb2.GetViUInt8Response.FromString, - ) + _registered_method=True) self.GetViInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/GetViInt32Array', request_serializer=nifake__pb2.GetViInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetViInt32ArrayResponse.FromString, - ) + _registered_method=True) self.GetViUInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/GetViUInt32Array', request_serializer=nifake__pb2.GetViUInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetViUInt32ArrayResponse.FromString, - ) + _registered_method=True) self.MethodUsingEnumWithGrpcNameValues = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', request_serializer=nifake__pb2.MethodUsingEnumWithGrpcNameValuesRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingEnumWithGrpcNameValuesResponse.FromString, - ) + _registered_method=True) self.MethodWithGetLastErrorParam = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', request_serializer=nifake__pb2.MethodWithGetLastErrorParamRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGetLastErrorParamResponse.FromString, - ) + _registered_method=True) self.MethodWithGrpcOnlyParam = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', request_serializer=nifake__pb2.MethodWithGrpcOnlyParamRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGrpcOnlyParamResponse.FromString, - ) + _registered_method=True) self.MethodUsingWholeAndFractionalNumbers = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', request_serializer=nifake__pb2.MethodUsingWholeAndFractionalNumbersRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingWholeAndFractionalNumbersResponse.FromString, - ) + _registered_method=True) self.MethodUsingWholeMappedNumbers = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', request_serializer=nifake__pb2.MethodUsingWholeMappedNumbersRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingWholeMappedNumbersResponse.FromString, - ) + _registered_method=True) self.MethodWithGrpcFieldNumber = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', request_serializer=nifake__pb2.MethodWithGrpcFieldNumberRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGrpcFieldNumberResponse.FromString, - ) + _registered_method=True) self.MethodWithProtoOnlyParameter = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', request_serializer=nifake__pb2.MethodWithProtoOnlyParameterRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithProtoOnlyParameterResponse.FromString, - ) + _registered_method=True) self.ReadDataWithInOutIviTwist = channel.unary_unary( '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', request_serializer=nifake__pb2.ReadDataWithInOutIviTwistRequest.SerializeToString, response_deserializer=nifake__pb2.ReadDataWithInOutIviTwistResponse.FromString, - ) + _registered_method=True) self.ReadDataWithMultipleIviTwistParamSets = channel.unary_unary( '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', request_serializer=nifake__pb2.ReadDataWithMultipleIviTwistParamSetsRequest.SerializeToString, response_deserializer=nifake__pb2.ReadDataWithMultipleIviTwistParamSetsResponse.FromString, - ) + _registered_method=True) self.InitExtCal = channel.unary_unary( '/nifake_grpc.NiFake/InitExtCal', request_serializer=nifake__pb2.InitExtCalRequest.SerializeToString, response_deserializer=nifake__pb2.InitExtCalResponse.FromString, - ) + _registered_method=True) self.InitWithVarArgs = channel.unary_unary( '/nifake_grpc.NiFake/InitWithVarArgs', request_serializer=nifake__pb2.InitWithVarArgsRequest.SerializeToString, response_deserializer=nifake__pb2.InitWithVarArgsResponse.FromString, - ) + _registered_method=True) self.MultipleArraysSameSizeWithOptional = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', request_serializer=nifake__pb2.MultipleArraysSameSizeWithOptionalRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArraysSameSizeWithOptionalResponse.FromString, - ) + _registered_method=True) self.UseATwoDimensionParameter = channel.unary_unary( '/nifake_grpc.NiFake/UseATwoDimensionParameter', request_serializer=nifake__pb2.UseATwoDimensionParameterRequest.SerializeToString, response_deserializer=nifake__pb2.UseATwoDimensionParameterResponse.FromString, - ) + _registered_method=True) self.ViUInt8ArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', request_serializer=nifake__pb2.ViUInt8ArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViUInt8ArrayInputFunctionResponse.FromString, - ) + _registered_method=True) self.ViUInt8ArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', request_serializer=nifake__pb2.ViUInt8ArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViUInt8ArrayOutputFunctionResponse.FromString, - ) + _registered_method=True) self.ViInt16ArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', request_serializer=nifake__pb2.ViInt16ArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViInt16ArrayInputFunctionResponse.FromString, - ) + _registered_method=True) class NiFakeServicer(object): @@ -1578,6 +1598,7 @@ def add_NiFakeServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nifake_grpc.NiFake', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nifake_grpc.NiFake', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1595,11 +1616,21 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Abort', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/Abort', nifake__pb2.AbortRequest.SerializeToString, nifake__pb2.AbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def BoolArrayOutputFunction(request, @@ -1612,11 +1643,21 @@ def BoolArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/BoolArrayOutputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/BoolArrayOutputFunction', nifake__pb2.BoolArrayOutputFunctionRequest.SerializeToString, nifake__pb2.BoolArrayOutputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -1629,11 +1670,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Close', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/Close', nifake__pb2.CloseRequest.SerializeToString, nifake__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnumArrayOutputFunction(request, @@ -1646,11 +1697,21 @@ def EnumArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/EnumArrayOutputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/EnumArrayOutputFunction', nifake__pb2.EnumArrayOutputFunctionRequest.SerializeToString, nifake__pb2.EnumArrayOutputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnumInputFunctionWithDefaults(request, @@ -1663,11 +1724,21 @@ def EnumInputFunctionWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', nifake__pb2.EnumInputFunctionWithDefaultsRequest.SerializeToString, nifake__pb2.EnumInputFunctionWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def StringValuedEnumInputFunctionWithDefaults(request, @@ -1680,11 +1751,21 @@ def StringValuedEnumInputFunctionWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', nifake__pb2.StringValuedEnumInputFunctionWithDefaultsRequest.SerializeToString, nifake__pb2.StringValuedEnumInputFunctionWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorMessage(request, @@ -1697,11 +1778,21 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ErrorMessage', nifake__pb2.ErrorMessageRequest.SerializeToString, nifake__pb2.ErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchWaveform(request, @@ -1714,11 +1805,21 @@ def FetchWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FetchWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/FetchWaveform', nifake__pb2.FetchWaveformRequest.SerializeToString, nifake__pb2.FetchWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetABoolean(request, @@ -1731,11 +1832,21 @@ def GetABoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetABoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetABoolean', nifake__pb2.GetABooleanRequest.SerializeToString, nifake__pb2.GetABooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetANumber(request, @@ -1748,11 +1859,21 @@ def GetANumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetANumber', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetANumber', nifake__pb2.GetANumberRequest.SerializeToString, nifake__pb2.GetANumberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAStringOfFixedMaximumSize(request, @@ -1765,11 +1886,21 @@ def GetAStringOfFixedMaximumSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', nifake__pb2.GetAStringOfFixedMaximumSizeRequest.SerializeToString, nifake__pb2.GetAStringOfFixedMaximumSizeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceCharArray(request, @@ -1782,11 +1913,21 @@ def GetAnIviDanceCharArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceCharArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceCharArray', nifake__pb2.GetAnIviDanceCharArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceCharArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetArrayUsingIviDance(request, @@ -1799,11 +1940,21 @@ def GetArrayUsingIviDance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArrayUsingIviDance', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetArrayUsingIviDance', nifake__pb2.GetArrayUsingIviDanceRequest.SerializeToString, nifake__pb2.GetArrayUsingIviDanceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -1816,11 +1967,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViBoolean', nifake__pb2.GetAttributeViBooleanRequest.SerializeToString, nifake__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -1833,11 +1994,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViInt32', nifake__pb2.GetAttributeViInt32Request.SerializeToString, nifake__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt64(request, @@ -1850,11 +2021,21 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViInt64', nifake__pb2.GetAttributeViInt64Request.SerializeToString, nifake__pb2.GetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -1867,11 +2048,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViReal64', nifake__pb2.GetAttributeViReal64Request.SerializeToString, nifake__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -1884,11 +2075,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViSession', nifake__pb2.GetAttributeViSessionRequest.SerializeToString, nifake__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -1901,11 +2102,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAttributeViString', nifake__pb2.GetAttributeViStringRequest.SerializeToString, nifake__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetCalDateAndTime(request, @@ -1918,11 +2129,21 @@ def GetCalDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCalDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetCalDateAndTime', nifake__pb2.GetCalDateAndTimeRequest.SerializeToString, nifake__pb2.GetCalDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetCalInterval(request, @@ -1935,11 +2156,21 @@ def GetCalInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCalInterval', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetCalInterval', nifake__pb2.GetCalIntervalRequest.SerializeToString, nifake__pb2.GetCalIntervalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetEnumValue(request, @@ -1952,11 +2183,21 @@ def GetEnumValue(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetEnumValue', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetEnumValue', nifake__pb2.GetEnumValueRequest.SerializeToString, nifake__pb2.GetEnumValueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -1969,11 +2210,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetError', nifake__pb2.GetErrorRequest.SerializeToString, nifake__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -1986,11 +2237,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/InitWithOptions', nifake__pb2.InitWithOptionsRequest.SerializeToString, nifake__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MultipleArrayTypes(request, @@ -2003,11 +2264,21 @@ def MultipleArrayTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArrayTypes', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MultipleArrayTypes', nifake__pb2.MultipleArrayTypesRequest.SerializeToString, nifake__pb2.MultipleArrayTypesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MultipleArraysSameSize(request, @@ -2020,11 +2291,21 @@ def MultipleArraysSameSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArraysSameSize', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MultipleArraysSameSize', nifake__pb2.MultipleArraysSameSizeRequest.SerializeToString, nifake__pb2.MultipleArraysSameSizeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def OneInputFunction(request, @@ -2037,11 +2318,21 @@ def OneInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/OneInputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/OneInputFunction', nifake__pb2.OneInputFunctionRequest.SerializeToString, nifake__pb2.OneInputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ParametersAreMultipleTypes(request, @@ -2054,11 +2345,21 @@ def ParametersAreMultipleTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ParametersAreMultipleTypes', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ParametersAreMultipleTypes', nifake__pb2.ParametersAreMultipleTypesRequest.SerializeToString, nifake__pb2.ParametersAreMultipleTypesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def PoorlyNamedSimpleFunction(request, @@ -2071,11 +2372,21 @@ def PoorlyNamedSimpleFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', nifake__pb2.PoorlyNamedSimpleFunctionRequest.SerializeToString, nifake__pb2.PoorlyNamedSimpleFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Read(request, @@ -2088,11 +2399,21 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Read', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/Read', nifake__pb2.ReadRequest.SerializeToString, nifake__pb2.ReadResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadFromChannel(request, @@ -2105,11 +2426,21 @@ def ReadFromChannel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadFromChannel', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReadFromChannel', nifake__pb2.ReadFromChannelRequest.SerializeToString, nifake__pb2.ReadFromChannelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReturnANumberAndAString(request, @@ -2122,11 +2453,21 @@ def ReturnANumberAndAString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnANumberAndAString', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReturnANumberAndAString', nifake__pb2.ReturnANumberAndAStringRequest.SerializeToString, nifake__pb2.ReturnANumberAndAStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReturnMultipleTypes(request, @@ -2139,11 +2480,21 @@ def ReturnMultipleTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnMultipleTypes', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReturnMultipleTypes', nifake__pb2.ReturnMultipleTypesRequest.SerializeToString, nifake__pb2.ReturnMultipleTypesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -2156,11 +2507,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetAttributeViBoolean', nifake__pb2.SetAttributeViBooleanRequest.SerializeToString, nifake__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -2173,11 +2534,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetAttributeViInt32', nifake__pb2.SetAttributeViInt32Request.SerializeToString, nifake__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt64(request, @@ -2190,11 +2561,21 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetAttributeViInt64', nifake__pb2.SetAttributeViInt64Request.SerializeToString, nifake__pb2.SetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -2207,11 +2588,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetAttributeViReal64', nifake__pb2.SetAttributeViReal64Request.SerializeToString, nifake__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -2224,11 +2615,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetAttributeViString', nifake__pb2.SetAttributeViStringRequest.SerializeToString, nifake__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TwoInputFunction(request, @@ -2241,11 +2642,21 @@ def TwoInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/TwoInputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/TwoInputFunction', nifake__pb2.TwoInputFunctionRequest.SerializeToString, nifake__pb2.TwoInputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Use64BitNumber(request, @@ -2258,11 +2669,21 @@ def Use64BitNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Use64BitNumber', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/Use64BitNumber', nifake__pb2.Use64BitNumberRequest.SerializeToString, nifake__pb2.Use64BitNumberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteWaveform(request, @@ -2275,11 +2696,21 @@ def WriteWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/WriteWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/WriteWaveform', nifake__pb2.WriteWaveformRequest.SerializeToString, nifake__pb2.WriteWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetCustomType(request, @@ -2292,11 +2723,21 @@ def SetCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetCustomType', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetCustomType', nifake__pb2.SetCustomTypeRequest.SerializeToString, nifake__pb2.SetCustomTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetCustomTypeArray(request, @@ -2309,11 +2750,21 @@ def SetCustomTypeArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetCustomTypeArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/SetCustomTypeArray', nifake__pb2.SetCustomTypeArrayRequest.SerializeToString, nifake__pb2.SetCustomTypeArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetCustomType(request, @@ -2326,11 +2777,21 @@ def GetCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCustomType', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetCustomType', nifake__pb2.GetCustomTypeRequest.SerializeToString, nifake__pb2.GetCustomTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetCustomTypeArray(request, @@ -2343,11 +2804,21 @@ def GetCustomTypeArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCustomTypeArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetCustomTypeArray', nifake__pb2.GetCustomTypeArrayRequest.SerializeToString, nifake__pb2.GetCustomTypeArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistArray(request, @@ -2360,11 +2831,21 @@ def GetAnIviDanceWithATwistArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', nifake__pb2.GetAnIviDanceWithATwistArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistString(request, @@ -2377,11 +2858,21 @@ def GetAnIviDanceWithATwistString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', nifake__pb2.GetAnIviDanceWithATwistStringRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DoubleAllTheNums(request, @@ -2394,11 +2885,21 @@ def DoubleAllTheNums(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/DoubleAllTheNums', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/DoubleAllTheNums', nifake__pb2.DoubleAllTheNumsRequest.SerializeToString, nifake__pb2.DoubleAllTheNumsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AcceptListOfDurationsInSeconds(request, @@ -2411,11 +2912,21 @@ def AcceptListOfDurationsInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', nifake__pb2.AcceptListOfDurationsInSecondsRequest.SerializeToString, nifake__pb2.AcceptListOfDurationsInSecondsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReturnDurationInSeconds(request, @@ -2428,11 +2939,21 @@ def ReturnDurationInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnDurationInSeconds', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReturnDurationInSeconds', nifake__pb2.ReturnDurationInSecondsRequest.SerializeToString, nifake__pb2.ReturnDurationInSecondsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReturnListOfDurationsInSeconds(request, @@ -2445,11 +2966,21 @@ def ReturnListOfDurationsInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', nifake__pb2.ReturnListOfDurationsInSecondsRequest.SerializeToString, nifake__pb2.ReturnListOfDurationsInSecondsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureAbc(request, @@ -2462,11 +2993,21 @@ def ConfigureAbc(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ConfigureAbc', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ConfigureAbc', nifake__pb2.ConfigureAbcRequest.SerializeToString, nifake__pb2.ConfigureAbcResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureEnums(request, @@ -2479,11 +3020,21 @@ def ConfigureEnums(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ConfigureEnums', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ConfigureEnums', nifake__pb2.ConfigureEnumsRequest.SerializeToString, nifake__pb2.ConfigureEnumsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBufferEx(request, @@ -2496,11 +3047,21 @@ def ExportAttributeConfigurationBufferEx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', nifake__pb2.ExportAttributeConfigurationBufferExRequest.SerializeToString, nifake__pb2.ExportAttributeConfigurationBufferExResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBufferEx(request, @@ -2513,11 +3074,21 @@ def ImportAttributeConfigurationBufferEx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', nifake__pb2.ImportAttributeConfigurationBufferExRequest.SerializeToString, nifake__pb2.ImportAttributeConfigurationBufferExResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchWithCustomSize(request, @@ -2530,11 +3101,21 @@ def FetchWithCustomSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FetchWithCustomSize', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/FetchWithCustomSize', nifake__pb2.FetchWithCustomSizeRequest.SerializeToString, nifake__pb2.FetchWithCustomSizeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetParameterWithOverriddenGrpcName(request, @@ -2547,11 +3128,21 @@ def GetParameterWithOverriddenGrpcName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', nifake__pb2.GetParameterWithOverriddenGrpcNameRequest.SerializeToString, nifake__pb2.GetParameterWithOverriddenGrpcNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IviDanceWithTwistWithMultipleArraysAndOneBufferSize(request, @@ -2564,11 +3155,21 @@ def IviDanceWithTwistWithMultipleArraysAndOneBufferSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeRequest.SerializeToString, nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FunctionWithOverriddenGrpcName2x(request, @@ -2581,11 +3182,21 @@ def FunctionWithOverriddenGrpcName2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', nifake__pb2.FunctionWithOverriddenGrpcName2xRequest.SerializeToString, nifake__pb2.FunctionWithOverriddenGrpcName2xResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def StringValuedEnumNoEnumGenerated(request, @@ -2598,11 +3209,21 @@ def StringValuedEnumNoEnumGenerated(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', nifake__pb2.StringValuedEnumNoEnumGeneratedRequest.SerializeToString, nifake__pb2.StringValuedEnumNoEnumGeneratedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IviDanceWithATwistCalculatedSizeOut(request, @@ -2615,11 +3236,21 @@ def IviDanceWithATwistCalculatedSizeOut(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', nifake__pb2.IviDanceWithATwistCalculatedSizeOutRequest.SerializeToString, nifake__pb2.IviDanceWithATwistCalculatedSizeOutResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -2632,11 +3263,21 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', nifake__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nifake__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -2649,11 +3290,21 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', nifake__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nifake__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Control4022(request, @@ -2666,11 +3317,21 @@ def Control4022(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Control4022', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/Control4022', nifake__pb2.Control4022Request.SerializeToString, nifake__pb2.Control4022Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AcceptViSessionArray(request, @@ -2683,11 +3344,21 @@ def AcceptViSessionArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptViSessionArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/AcceptViSessionArray', nifake__pb2.AcceptViSessionArrayRequest.SerializeToString, nifake__pb2.AcceptViSessionArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AcceptViUInt32Array(request, @@ -2700,11 +3371,21 @@ def AcceptViUInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptViUInt32Array', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/AcceptViUInt32Array', nifake__pb2.AcceptViUInt32ArrayRequest.SerializeToString, nifake__pb2.AcceptViUInt32ArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def BoolArrayInputFunction(request, @@ -2717,11 +3398,21 @@ def BoolArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/BoolArrayInputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/BoolArrayInputFunction', nifake__pb2.BoolArrayInputFunctionRequest.SerializeToString, nifake__pb2.BoolArrayInputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CloseExtCal(request, @@ -2734,11 +3425,21 @@ def CloseExtCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CloseExtCal', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/CloseExtCal', nifake__pb2.CloseExtCalRequest.SerializeToString, nifake__pb2.CloseExtCalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CommandWithReservedParam(request, @@ -2751,11 +3452,21 @@ def CommandWithReservedParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CommandWithReservedParam', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/CommandWithReservedParam', nifake__pb2.CommandWithReservedParamRequest.SerializeToString, nifake__pb2.CommandWithReservedParamResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateConfigurationList(request, @@ -2768,11 +3479,21 @@ def CreateConfigurationList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CreateConfigurationList', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/CreateConfigurationList', nifake__pb2.CreateConfigurationListRequest.SerializeToString, nifake__pb2.CreateConfigurationListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CustomNestedStructRoundtrip(request, @@ -2785,11 +3506,21 @@ def CustomNestedStructRoundtrip(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', nifake__pb2.CustomNestedStructRoundtripRequest.SerializeToString, nifake__pb2.CustomNestedStructRoundtripResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetBitfieldAsEnumArray(request, @@ -2802,11 +3533,21 @@ def GetBitfieldAsEnumArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', nifake__pb2.GetBitfieldAsEnumArrayRequest.SerializeToString, nifake__pb2.GetBitfieldAsEnumArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistArrayOfCustomType(request, @@ -2819,11 +3560,21 @@ def GetAnIviDanceWithATwistArrayOfCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistArrayWithInputArray(request, @@ -2836,11 +3587,21 @@ def GetAnIviDanceWithATwistArrayWithInputArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistByteArray(request, @@ -2853,11 +3614,21 @@ def GetAnIviDanceWithATwistByteArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', nifake__pb2.GetAnIviDanceWithATwistByteArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistByteArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAnIviDanceWithATwistStringStrlenBug(request, @@ -2870,11 +3641,21 @@ def GetAnIviDanceWithATwistStringStrlenBug(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetArraySizeForCustomCode(request, @@ -2887,11 +3668,21 @@ def GetArraySizeForCustomCode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArraySizeForCustomCode', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetArraySizeForCustomCode', nifake__pb2.GetArraySizeForCustomCodeRequest.SerializeToString, nifake__pb2.GetArraySizeForCustomCodeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetArrayViUInt8WithEnum(request, @@ -2904,11 +3695,21 @@ def GetArrayViUInt8WithEnum(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', nifake__pb2.GetArrayViUInt8WithEnumRequest.SerializeToString, nifake__pb2.GetArrayViUInt8WithEnumResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetViUInt8(request, @@ -2921,11 +3722,21 @@ def GetViUInt8(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViUInt8', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetViUInt8', nifake__pb2.GetViUInt8Request.SerializeToString, nifake__pb2.GetViUInt8Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetViInt32Array(request, @@ -2938,11 +3749,21 @@ def GetViInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViInt32Array', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetViInt32Array', nifake__pb2.GetViInt32ArrayRequest.SerializeToString, nifake__pb2.GetViInt32ArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetViUInt32Array(request, @@ -2955,11 +3776,21 @@ def GetViUInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViUInt32Array', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/GetViUInt32Array', nifake__pb2.GetViUInt32ArrayRequest.SerializeToString, nifake__pb2.GetViUInt32ArrayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodUsingEnumWithGrpcNameValues(request, @@ -2972,11 +3803,21 @@ def MethodUsingEnumWithGrpcNameValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', nifake__pb2.MethodUsingEnumWithGrpcNameValuesRequest.SerializeToString, nifake__pb2.MethodUsingEnumWithGrpcNameValuesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodWithGetLastErrorParam(request, @@ -2989,11 +3830,21 @@ def MethodWithGetLastErrorParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', nifake__pb2.MethodWithGetLastErrorParamRequest.SerializeToString, nifake__pb2.MethodWithGetLastErrorParamResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodWithGrpcOnlyParam(request, @@ -3006,11 +3857,21 @@ def MethodWithGrpcOnlyParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', nifake__pb2.MethodWithGrpcOnlyParamRequest.SerializeToString, nifake__pb2.MethodWithGrpcOnlyParamResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodUsingWholeAndFractionalNumbers(request, @@ -3023,11 +3884,21 @@ def MethodUsingWholeAndFractionalNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', nifake__pb2.MethodUsingWholeAndFractionalNumbersRequest.SerializeToString, nifake__pb2.MethodUsingWholeAndFractionalNumbersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodUsingWholeMappedNumbers(request, @@ -3040,11 +3911,21 @@ def MethodUsingWholeMappedNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', nifake__pb2.MethodUsingWholeMappedNumbersRequest.SerializeToString, nifake__pb2.MethodUsingWholeMappedNumbersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodWithGrpcFieldNumber(request, @@ -3057,11 +3938,21 @@ def MethodWithGrpcFieldNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', nifake__pb2.MethodWithGrpcFieldNumberRequest.SerializeToString, nifake__pb2.MethodWithGrpcFieldNumberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MethodWithProtoOnlyParameter(request, @@ -3074,11 +3965,21 @@ def MethodWithProtoOnlyParameter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', nifake__pb2.MethodWithProtoOnlyParameterRequest.SerializeToString, nifake__pb2.MethodWithProtoOnlyParameterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadDataWithInOutIviTwist(request, @@ -3091,11 +3992,21 @@ def ReadDataWithInOutIviTwist(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', nifake__pb2.ReadDataWithInOutIviTwistRequest.SerializeToString, nifake__pb2.ReadDataWithInOutIviTwistResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadDataWithMultipleIviTwistParamSets(request, @@ -3108,11 +4019,21 @@ def ReadDataWithMultipleIviTwistParamSets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', nifake__pb2.ReadDataWithMultipleIviTwistParamSetsRequest.SerializeToString, nifake__pb2.ReadDataWithMultipleIviTwistParamSetsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitExtCal(request, @@ -3125,11 +4046,21 @@ def InitExtCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitExtCal', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/InitExtCal', nifake__pb2.InitExtCalRequest.SerializeToString, nifake__pb2.InitExtCalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithVarArgs(request, @@ -3142,11 +4073,21 @@ def InitWithVarArgs(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitWithVarArgs', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/InitWithVarArgs', nifake__pb2.InitWithVarArgsRequest.SerializeToString, nifake__pb2.InitWithVarArgsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def MultipleArraysSameSizeWithOptional(request, @@ -3159,11 +4100,21 @@ def MultipleArraysSameSizeWithOptional(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', nifake__pb2.MultipleArraysSameSizeWithOptionalRequest.SerializeToString, nifake__pb2.MultipleArraysSameSizeWithOptionalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UseATwoDimensionParameter(request, @@ -3176,11 +4127,21 @@ def UseATwoDimensionParameter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/UseATwoDimensionParameter', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/UseATwoDimensionParameter', nifake__pb2.UseATwoDimensionParameterRequest.SerializeToString, nifake__pb2.UseATwoDimensionParameterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ViUInt8ArrayInputFunction(request, @@ -3193,11 +4154,21 @@ def ViUInt8ArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', nifake__pb2.ViUInt8ArrayInputFunctionRequest.SerializeToString, nifake__pb2.ViUInt8ArrayInputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ViUInt8ArrayOutputFunction(request, @@ -3210,11 +4181,21 @@ def ViUInt8ArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', nifake__pb2.ViUInt8ArrayOutputFunctionRequest.SerializeToString, nifake__pb2.ViUInt8ArrayOutputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ViInt16ArrayInputFunction(request, @@ -3227,8 +4208,18 @@ def ViInt16ArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', + return grpc.experimental.unary_unary( + request, + target, + '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', nifake__pb2.ViInt16ArrayInputFunctionRequest.SerializeToString, nifake__pb2.ViInt16ArrayInputFunctionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nifake/nifake/session_pb2.py b/generated/nifake/nifake/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/nifake/nifake/session_pb2.py +++ b/generated/nifake/nifake/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nifake/nifake/session_pb2_grpc.py b/generated/nifake/nifake/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/nifake/nifake/session_pb2_grpc.py +++ b/generated/nifake/nifake/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nifake/setup.py b/generated/nifake/setup.py index 4ef6d0606..1e696a4b0 100644 --- a/generated/nifake/setup.py +++ b/generated/nifake/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nifgen/nifgen/nidevice_pb2.py b/generated/nifgen/nifgen/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/nifgen/nifgen/nidevice_pb2.py +++ b/generated/nifgen/nifgen/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nifgen/nifgen/nidevice_pb2_grpc.py b/generated/nifgen/nifgen/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/nifgen/nifgen/nidevice_pb2_grpc.py +++ b/generated/nifgen/nifgen/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/nifgen/nifgen/nifgen_pb2.py b/generated/nifgen/nifgen/nifgen_pb2.py index 946e7adff..a8424b634 100644 --- a/generated/nifgen/nifgen/nifgen_pb2.py +++ b/generated/nifgen/nifgen/nifgen_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nifgen.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nifgen.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,19 +31,19 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nifgen_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\020com.ni.grpc.fgenB\006NiFgenP\001\252\002\035NationalInstruments.Grpc.Fgen' - _NIFGENINT32ATTRIBUTEVALUES._options = None - _NIFGENINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _NIFGENREAL64ATTRIBUTEVALUES._options = None - _NIFGENREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' - _INITRESPONSE.fields_by_name['error_message']._options = None - _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._options = None - _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\020com.ni.grpc.fgenB\006NiFgenP\001\252\002\035NationalInstruments.Grpc.Fgen' + _globals['_NIFGENINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIFGENINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_NIFGENREAL64ATTRIBUTEVALUES']._loaded_options = None + _globals['_NIFGENREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIFGENATTRIBUTE']._serialized_start=24660 _globals['_NIFGENATTRIBUTE']._serialized_end=35325 _globals['_BYTEORDER']._serialized_start=35327 diff --git a/generated/nifgen/nifgen/nifgen_pb2_grpc.py b/generated/nifgen/nifgen/nifgen_pb2_grpc.py index a8ec4529a..bb8cfa866 100644 --- a/generated/nifgen/nifgen/nifgen_pb2_grpc.py +++ b/generated/nifgen/nifgen/nifgen_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import nifgen_pb2 as nifgen__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nifgen_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiFgenStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,647 +38,647 @@ def __init__(self, channel): '/nifgen_grpc.NiFgen/AbortGeneration', request_serializer=nifgen__pb2.AbortGenerationRequest.SerializeToString, response_deserializer=nifgen__pb2.AbortGenerationResponse.FromString, - ) + _registered_method=True) self.AdjustSampleClockRelativeDelay = channel.unary_unary( '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', request_serializer=nifgen__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, response_deserializer=nifgen__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - ) + _registered_method=True) self.AllocateNamedWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/AllocateNamedWaveform', request_serializer=nifgen__pb2.AllocateNamedWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.AllocateNamedWaveformResponse.FromString, - ) + _registered_method=True) self.AllocateWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/AllocateWaveform', request_serializer=nifgen__pb2.AllocateWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.AllocateWaveformResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', request_serializer=nifgen__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViInt32', request_serializer=nifgen__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViInt32Response.FromString, - ) + _registered_method=True) self.CheckAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViInt64', request_serializer=nifgen__pb2.CheckAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViInt64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViReal64', request_serializer=nifgen__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViReal64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViSession', request_serializer=nifgen__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViString', request_serializer=nifgen__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViStringResponse.FromString, - ) + _registered_method=True) self.ClearArbMemory = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbMemory', request_serializer=nifgen__pb2.ClearArbMemoryRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbMemoryResponse.FromString, - ) + _registered_method=True) self.ClearArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbSequence', request_serializer=nifgen__pb2.ClearArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbSequenceResponse.FromString, - ) + _registered_method=True) self.ClearArbWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbWaveform', request_serializer=nifgen__pb2.ClearArbWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbWaveformResponse.FromString, - ) + _registered_method=True) self.ClearError = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearError', request_serializer=nifgen__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearErrorResponse.FromString, - ) + _registered_method=True) self.ClearFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearFreqList', request_serializer=nifgen__pb2.ClearFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearFreqListResponse.FromString, - ) + _registered_method=True) self.ClearInterchangeWarnings = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', request_serializer=nifgen__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearInterchangeWarningsResponse.FromString, - ) + _registered_method=True) self.ClearUserStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', request_serializer=nifgen__pb2.ClearUserStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearUserStandardWaveformResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/nifgen_grpc.NiFgen/Close', request_serializer=nifgen__pb2.CloseRequest.SerializeToString, response_deserializer=nifgen__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/nifgen_grpc.NiFgen/Commit', request_serializer=nifgen__pb2.CommitRequest.SerializeToString, response_deserializer=nifgen__pb2.CommitResponse.FromString, - ) + _registered_method=True) self.ConfigureAmplitude = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureAmplitude', request_serializer=nifgen__pb2.ConfigureAmplitudeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureAmplitudeResponse.FromString, - ) + _registered_method=True) self.ConfigureArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureArbSequence', request_serializer=nifgen__pb2.ConfigureArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureArbSequenceResponse.FromString, - ) + _registered_method=True) self.ConfigureArbWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureArbWaveform', request_serializer=nifgen__pb2.ConfigureArbWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureArbWaveformResponse.FromString, - ) + _registered_method=True) self.ConfigureChannels = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureChannels', request_serializer=nifgen__pb2.ConfigureChannelsRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureChannelsResponse.FromString, - ) + _registered_method=True) self.ConfigureClockMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureClockMode', request_serializer=nifgen__pb2.ConfigureClockModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureClockModeResponse.FromString, - ) + _registered_method=True) self.ConfigureCustomFIRFilterCoefficients = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', request_serializer=nifgen__pb2.ConfigureCustomFIRFilterCoefficientsRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureCustomFIRFilterCoefficientsResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', request_serializer=nifgen__pb2.ConfigureDigitalEdgeScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalEdgeScriptTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', request_serializer=nifgen__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureDigitalLevelScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', request_serializer=nifgen__pb2.ConfigureDigitalLevelScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalLevelScriptTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureFreqList', request_serializer=nifgen__pb2.ConfigureFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureFreqListResponse.FromString, - ) + _registered_method=True) self.ConfigureFrequency = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureFrequency', request_serializer=nifgen__pb2.ConfigureFrequencyRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureFrequencyResponse.FromString, - ) + _registered_method=True) self.ConfigureOperationMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOperationMode', request_serializer=nifgen__pb2.ConfigureOperationModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOperationModeResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputEnabled = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', request_serializer=nifgen__pb2.ConfigureOutputEnabledRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputEnabledResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputImpedance = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', request_serializer=nifgen__pb2.ConfigureOutputImpedanceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputImpedanceResponse.FromString, - ) + _registered_method=True) self.ConfigureOutputMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputMode', request_serializer=nifgen__pb2.ConfigureOutputModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputModeResponse.FromString, - ) + _registered_method=True) self.ConfigureP2PEndpointFullnessStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', request_serializer=nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureReferenceClock = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureReferenceClock', request_serializer=nifgen__pb2.ConfigureReferenceClockRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureReferenceClockResponse.FromString, - ) + _registered_method=True) self.ConfigureSampleClockSource = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', request_serializer=nifgen__pb2.ConfigureSampleClockSourceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSampleClockSourceResponse.FromString, - ) + _registered_method=True) self.ConfigureSampleRate = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSampleRate', request_serializer=nifgen__pb2.ConfigureSampleRateRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSampleRateResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', request_serializer=nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', request_serializer=nifgen__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - ) + _registered_method=True) self.ConfigureStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', request_serializer=nifgen__pb2.ConfigureStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureStandardWaveformResponse.FromString, - ) + _registered_method=True) self.ConfigureSynchronization = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSynchronization', request_serializer=nifgen__pb2.ConfigureSynchronizationRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSynchronizationResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureTriggerMode', request_serializer=nifgen__pb2.ConfigureTriggerModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureTriggerModeResponse.FromString, - ) + _registered_method=True) self.CreateAdvancedArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', request_serializer=nifgen__pb2.CreateAdvancedArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateAdvancedArbSequenceResponse.FromString, - ) + _registered_method=True) self.CreateArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateArbSequence', request_serializer=nifgen__pb2.CreateArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateArbSequenceResponse.FromString, - ) + _registered_method=True) self.CreateFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateFreqList', request_serializer=nifgen__pb2.CreateFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateFreqListResponse.FromString, - ) + _registered_method=True) self.CreateWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', request_serializer=nifgen__pb2.CreateWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformComplexF64Response.FromString, - ) + _registered_method=True) self.CreateWaveformF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformF64', request_serializer=nifgen__pb2.CreateWaveformF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformF64Response.FromString, - ) + _registered_method=True) self.CreateWaveformFromFileF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', request_serializer=nifgen__pb2.CreateWaveformFromFileF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileF64Response.FromString, - ) + _registered_method=True) self.CreateWaveformFromFileI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', request_serializer=nifgen__pb2.CreateWaveformFromFileI16Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileI16Response.FromString, - ) + _registered_method=True) self.CreateWaveformI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformI16', request_serializer=nifgen__pb2.CreateWaveformI16Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformI16Response.FromString, - ) + _registered_method=True) self.DefineUserStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', request_serializer=nifgen__pb2.DefineUserStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.DefineUserStandardWaveformResponse.FromString, - ) + _registered_method=True) self.DeleteNamedWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/DeleteNamedWaveform', request_serializer=nifgen__pb2.DeleteNamedWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.DeleteNamedWaveformResponse.FromString, - ) + _registered_method=True) self.DeleteScript = channel.unary_unary( '/nifgen_grpc.NiFgen/DeleteScript', request_serializer=nifgen__pb2.DeleteScriptRequest.SerializeToString, response_deserializer=nifgen__pb2.DeleteScriptResponse.FromString, - ) + _registered_method=True) self.Disable = channel.unary_unary( '/nifgen_grpc.NiFgen/Disable', request_serializer=nifgen__pb2.DisableRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableResponse.FromString, - ) + _registered_method=True) self.DisableAnalogFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableAnalogFilter', request_serializer=nifgen__pb2.DisableAnalogFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableAnalogFilterResponse.FromString, - ) + _registered_method=True) self.DisableDigitalFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableDigitalFilter', request_serializer=nifgen__pb2.DisableDigitalFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableDigitalFilterResponse.FromString, - ) + _registered_method=True) self.DisableDigitalPatterning = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableDigitalPatterning', request_serializer=nifgen__pb2.DisableDigitalPatterningRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableDigitalPatterningResponse.FromString, - ) + _registered_method=True) self.DisableScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableScriptTrigger', request_serializer=nifgen__pb2.DisableScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableScriptTriggerResponse.FromString, - ) + _registered_method=True) self.DisableStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableStartTrigger', request_serializer=nifgen__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableStartTriggerResponse.FromString, - ) + _registered_method=True) self.EnableAnalogFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableAnalogFilter', request_serializer=nifgen__pb2.EnableAnalogFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableAnalogFilterResponse.FromString, - ) + _registered_method=True) self.EnableDigitalFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableDigitalFilter', request_serializer=nifgen__pb2.EnableDigitalFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableDigitalFilterResponse.FromString, - ) + _registered_method=True) self.EnableDigitalPatterning = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableDigitalPatterning', request_serializer=nifgen__pb2.EnableDigitalPatterningRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableDigitalPatterningResponse.FromString, - ) + _registered_method=True) self.ErrorHandler = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorHandler', request_serializer=nifgen__pb2.ErrorHandlerRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorHandlerResponse.FromString, - ) + _registered_method=True) self.ErrorMessage = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorMessage', request_serializer=nifgen__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorMessageResponse.FromString, - ) + _registered_method=True) self.ErrorQuery = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorQuery', request_serializer=nifgen__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorQueryResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', request_serializer=nifgen__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', request_serializer=nifgen__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ExportSignal = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportSignal', request_serializer=nifgen__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportSignalResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViBoolean', request_serializer=nifgen__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViInt32', request_serializer=nifgen__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViInt64', request_serializer=nifgen__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViReal64', request_serializer=nifgen__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViSession', request_serializer=nifgen__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViString', request_serializer=nifgen__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/nifgen_grpc.NiFgen/GetChannelName', request_serializer=nifgen__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nifgen__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/nifgen_grpc.NiFgen/GetError', request_serializer=nifgen__pb2.GetErrorRequest.SerializeToString, response_deserializer=nifgen__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.GetExtCalLastDateAndTime = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', request_serializer=nifgen__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalLastDateAndTimeResponse.FromString, - ) + _registered_method=True) self.GetExtCalLastTemp = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalLastTemp', request_serializer=nifgen__pb2.GetExtCalLastTempRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalLastTempResponse.FromString, - ) + _registered_method=True) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', request_serializer=nifgen__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalRecommendedIntervalResponse.FromString, - ) + _registered_method=True) self.GetFIRFilterCoefficients = channel.unary_unary( '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', request_serializer=nifgen__pb2.GetFIRFilterCoefficientsRequest.SerializeToString, response_deserializer=nifgen__pb2.GetFIRFilterCoefficientsResponse.FromString, - ) + _registered_method=True) self.GetHardwareState = channel.unary_unary( '/nifgen_grpc.NiFgen/GetHardwareState', request_serializer=nifgen__pb2.GetHardwareStateRequest.SerializeToString, response_deserializer=nifgen__pb2.GetHardwareStateResponse.FromString, - ) + _registered_method=True) self.GetSelfCalLastDateAndTime = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', request_serializer=nifgen__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - ) + _registered_method=True) self.GetSelfCalLastTemp = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', request_serializer=nifgen__pb2.GetSelfCalLastTempRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalLastTempResponse.FromString, - ) + _registered_method=True) self.GetSelfCalSupported = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalSupported', request_serializer=nifgen__pb2.GetSelfCalSupportedRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalSupportedResponse.FromString, - ) + _registered_method=True) self.GetStreamEndpointHandle = channel.unary_unary( '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', request_serializer=nifgen__pb2.GetStreamEndpointHandleRequest.SerializeToString, response_deserializer=nifgen__pb2.GetStreamEndpointHandleResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', request_serializer=nifgen__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifgen__pb2.ImportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', request_serializer=nifgen__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nifgen__pb2.ImportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.Init = channel.unary_unary( '/nifgen_grpc.NiFgen/Init', request_serializer=nifgen__pb2.InitRequest.SerializeToString, response_deserializer=nifgen__pb2.InitResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/nifgen_grpc.NiFgen/InitWithOptions', request_serializer=nifgen__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nifgen__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.InitializeWithChannels = channel.unary_unary( '/nifgen_grpc.NiFgen/InitializeWithChannels', request_serializer=nifgen__pb2.InitializeWithChannelsRequest.SerializeToString, response_deserializer=nifgen__pb2.InitializeWithChannelsResponse.FromString, - ) + _registered_method=True) self.InitiateGeneration = channel.unary_unary( '/nifgen_grpc.NiFgen/InitiateGeneration', request_serializer=nifgen__pb2.InitiateGenerationRequest.SerializeToString, response_deserializer=nifgen__pb2.InitiateGenerationResponse.FromString, - ) + _registered_method=True) self.InvalidateAllAttributes = channel.unary_unary( '/nifgen_grpc.NiFgen/InvalidateAllAttributes', request_serializer=nifgen__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nifgen__pb2.InvalidateAllAttributesResponse.FromString, - ) + _registered_method=True) self.IsDone = channel.unary_unary( '/nifgen_grpc.NiFgen/IsDone', request_serializer=nifgen__pb2.IsDoneRequest.SerializeToString, response_deserializer=nifgen__pb2.IsDoneResponse.FromString, - ) + _registered_method=True) self.QueryArbSeqCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', request_serializer=nifgen__pb2.QueryArbSeqCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryArbSeqCapabilitiesResponse.FromString, - ) + _registered_method=True) self.QueryArbWfmCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', request_serializer=nifgen__pb2.QueryArbWfmCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryArbWfmCapabilitiesResponse.FromString, - ) + _registered_method=True) self.QueryFreqListCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', request_serializer=nifgen__pb2.QueryFreqListCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryFreqListCapabilitiesResponse.FromString, - ) + _registered_method=True) self.ReadCurrentTemperature = channel.unary_unary( '/nifgen_grpc.NiFgen/ReadCurrentTemperature', request_serializer=nifgen__pb2.ReadCurrentTemperatureRequest.SerializeToString, response_deserializer=nifgen__pb2.ReadCurrentTemperatureResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/nifgen_grpc.NiFgen/Reset', request_serializer=nifgen__pb2.ResetRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.ResetAttribute = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetAttribute', request_serializer=nifgen__pb2.ResetAttributeRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetAttributeResponse.FromString, - ) + _registered_method=True) self.ResetDevice = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetDevice', request_serializer=nifgen__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetDeviceResponse.FromString, - ) + _registered_method=True) self.ResetInterchangeCheck = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetInterchangeCheck', request_serializer=nifgen__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetInterchangeCheckResponse.FromString, - ) + _registered_method=True) self.ResetWithDefaults = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetWithDefaults', request_serializer=nifgen__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetWithDefaultsResponse.FromString, - ) + _registered_method=True) self.RevisionQuery = channel.unary_unary( '/nifgen_grpc.NiFgen/RevisionQuery', request_serializer=nifgen__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nifgen__pb2.RevisionQueryResponse.FromString, - ) + _registered_method=True) self.RouteSignalOut = channel.unary_unary( '/nifgen_grpc.NiFgen/RouteSignalOut', request_serializer=nifgen__pb2.RouteSignalOutRequest.SerializeToString, response_deserializer=nifgen__pb2.RouteSignalOutResponse.FromString, - ) + _registered_method=True) self.SelfCal = channel.unary_unary( '/nifgen_grpc.NiFgen/SelfCal', request_serializer=nifgen__pb2.SelfCalRequest.SerializeToString, response_deserializer=nifgen__pb2.SelfCalResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/nifgen_grpc.NiFgen/SelfTest', request_serializer=nifgen__pb2.SelfTestRequest.SerializeToString, response_deserializer=nifgen__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', request_serializer=nifgen__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.SendSoftwareEdgeTriggerResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViBoolean', request_serializer=nifgen__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViInt32', request_serializer=nifgen__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViInt64', request_serializer=nifgen__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViReal64', request_serializer=nifgen__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViSession', request_serializer=nifgen__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViString', request_serializer=nifgen__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetNamedWaveformNextWritePosition = channel.unary_unary( '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', request_serializer=nifgen__pb2.SetNamedWaveformNextWritePositionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetNamedWaveformNextWritePositionResponse.FromString, - ) + _registered_method=True) self.SetWaveformNextWritePosition = channel.unary_unary( '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', request_serializer=nifgen__pb2.SetWaveformNextWritePositionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetWaveformNextWritePositionResponse.FromString, - ) + _registered_method=True) self.WaitUntilDone = channel.unary_unary( '/nifgen_grpc.NiFgen/WaitUntilDone', request_serializer=nifgen__pb2.WaitUntilDoneRequest.SerializeToString, response_deserializer=nifgen__pb2.WaitUntilDoneResponse.FromString, - ) + _registered_method=True) self.WriteBinary16Waveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteBinary16Waveform', request_serializer=nifgen__pb2.WriteBinary16WaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteBinary16WaveformResponse.FromString, - ) + _registered_method=True) self.WriteComplexBinary16Waveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', request_serializer=nifgen__pb2.WriteComplexBinary16WaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteComplexBinary16WaveformResponse.FromString, - ) + _registered_method=True) self.WriteNamedWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', request_serializer=nifgen__pb2.WriteNamedWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformComplexF64Response.FromString, - ) + _registered_method=True) self.WriteNamedWaveformComplexI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', request_serializer=nifgen__pb2.WriteNamedWaveformComplexI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformComplexI16Response.FromString, - ) + _registered_method=True) self.WriteNamedWaveformF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', request_serializer=nifgen__pb2.WriteNamedWaveformF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformF64Response.FromString, - ) + _registered_method=True) self.WriteNamedWaveformI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', request_serializer=nifgen__pb2.WriteNamedWaveformI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformI16Response.FromString, - ) + _registered_method=True) self.WriteP2PEndpointI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', request_serializer=nifgen__pb2.WriteP2PEndpointI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteP2PEndpointI16Response.FromString, - ) + _registered_method=True) self.WriteScript = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteScript', request_serializer=nifgen__pb2.WriteScriptRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteScriptResponse.FromString, - ) + _registered_method=True) self.WriteWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteWaveform', request_serializer=nifgen__pb2.WriteWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteWaveformResponse.FromString, - ) + _registered_method=True) self.WriteWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', request_serializer=nifgen__pb2.WriteWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteWaveformComplexF64Response.FromString, - ) + _registered_method=True) self.CreateWaveformFromFileHWS = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', request_serializer=nifgen__pb2.CreateWaveformFromFileHWSRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileHWSResponse.FromString, - ) + _registered_method=True) self.ManualEnableP2PStream = channel.unary_unary( '/nifgen_grpc.NiFgen/ManualEnableP2PStream', request_serializer=nifgen__pb2.ManualEnableP2PStreamRequest.SerializeToString, response_deserializer=nifgen__pb2.ManualEnableP2PStreamResponse.FromString, - ) + _registered_method=True) class NiFgenServicer(object): @@ -2090,6 +2110,7 @@ def add_NiFgenServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nifgen_grpc.NiFgen', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nifgen_grpc.NiFgen', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2107,11 +2128,21 @@ def AbortGeneration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AbortGeneration', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/AbortGeneration', nifgen__pb2.AbortGenerationRequest.SerializeToString, nifgen__pb2.AbortGenerationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AdjustSampleClockRelativeDelay(request, @@ -2124,11 +2155,21 @@ def AdjustSampleClockRelativeDelay(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', nifgen__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, nifgen__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AllocateNamedWaveform(request, @@ -2141,11 +2182,21 @@ def AllocateNamedWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AllocateNamedWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/AllocateNamedWaveform', nifgen__pb2.AllocateNamedWaveformRequest.SerializeToString, nifgen__pb2.AllocateNamedWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AllocateWaveform(request, @@ -2158,11 +2209,21 @@ def AllocateWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AllocateWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/AllocateWaveform', nifgen__pb2.AllocateWaveformRequest.SerializeToString, nifgen__pb2.AllocateWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViBoolean(request, @@ -2175,11 +2236,21 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', nifgen__pb2.CheckAttributeViBooleanRequest.SerializeToString, nifgen__pb2.CheckAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt32(request, @@ -2192,11 +2263,21 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViInt32', nifgen__pb2.CheckAttributeViInt32Request.SerializeToString, nifgen__pb2.CheckAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt64(request, @@ -2209,11 +2290,21 @@ def CheckAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViInt64', nifgen__pb2.CheckAttributeViInt64Request.SerializeToString, nifgen__pb2.CheckAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViReal64(request, @@ -2226,11 +2317,21 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViReal64', nifgen__pb2.CheckAttributeViReal64Request.SerializeToString, nifgen__pb2.CheckAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViSession(request, @@ -2243,11 +2344,21 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViSession', nifgen__pb2.CheckAttributeViSessionRequest.SerializeToString, nifgen__pb2.CheckAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViString(request, @@ -2260,11 +2371,21 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CheckAttributeViString', nifgen__pb2.CheckAttributeViStringRequest.SerializeToString, nifgen__pb2.CheckAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearArbMemory(request, @@ -2277,11 +2398,21 @@ def ClearArbMemory(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbMemory', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearArbMemory', nifgen__pb2.ClearArbMemoryRequest.SerializeToString, nifgen__pb2.ClearArbMemoryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearArbSequence(request, @@ -2294,11 +2425,21 @@ def ClearArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearArbSequence', nifgen__pb2.ClearArbSequenceRequest.SerializeToString, nifgen__pb2.ClearArbSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearArbWaveform(request, @@ -2311,11 +2452,21 @@ def ClearArbWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearArbWaveform', nifgen__pb2.ClearArbWaveformRequest.SerializeToString, nifgen__pb2.ClearArbWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearError(request, @@ -2328,11 +2479,21 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearError', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearError', nifgen__pb2.ClearErrorRequest.SerializeToString, nifgen__pb2.ClearErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearFreqList(request, @@ -2345,11 +2506,21 @@ def ClearFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearFreqList', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearFreqList', nifgen__pb2.ClearFreqListRequest.SerializeToString, nifgen__pb2.ClearFreqListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearInterchangeWarnings(request, @@ -2362,11 +2533,21 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', nifgen__pb2.ClearInterchangeWarningsRequest.SerializeToString, nifgen__pb2.ClearInterchangeWarningsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearUserStandardWaveform(request, @@ -2379,11 +2560,21 @@ def ClearUserStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', nifgen__pb2.ClearUserStandardWaveformRequest.SerializeToString, nifgen__pb2.ClearUserStandardWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -2396,11 +2587,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Close', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/Close', nifgen__pb2.CloseRequest.SerializeToString, nifgen__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -2413,11 +2614,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/Commit', nifgen__pb2.CommitRequest.SerializeToString, nifgen__pb2.CommitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureAmplitude(request, @@ -2430,11 +2641,21 @@ def ConfigureAmplitude(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureAmplitude', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureAmplitude', nifgen__pb2.ConfigureAmplitudeRequest.SerializeToString, nifgen__pb2.ConfigureAmplitudeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureArbSequence(request, @@ -2447,11 +2668,21 @@ def ConfigureArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureArbSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureArbSequence', nifgen__pb2.ConfigureArbSequenceRequest.SerializeToString, nifgen__pb2.ConfigureArbSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureArbWaveform(request, @@ -2464,11 +2695,21 @@ def ConfigureArbWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureArbWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureArbWaveform', nifgen__pb2.ConfigureArbWaveformRequest.SerializeToString, nifgen__pb2.ConfigureArbWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureChannels(request, @@ -2481,11 +2722,21 @@ def ConfigureChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureChannels', nifgen__pb2.ConfigureChannelsRequest.SerializeToString, nifgen__pb2.ConfigureChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureClockMode(request, @@ -2498,11 +2749,21 @@ def ConfigureClockMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureClockMode', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureClockMode', nifgen__pb2.ConfigureClockModeRequest.SerializeToString, nifgen__pb2.ConfigureClockModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureCustomFIRFilterCoefficients(request, @@ -2515,11 +2776,21 @@ def ConfigureCustomFIRFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', nifgen__pb2.ConfigureCustomFIRFilterCoefficientsRequest.SerializeToString, nifgen__pb2.ConfigureCustomFIRFilterCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeScriptTrigger(request, @@ -2532,11 +2803,21 @@ def ConfigureDigitalEdgeScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', nifgen__pb2.ConfigureDigitalEdgeScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalEdgeScriptTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -2549,11 +2830,21 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', nifgen__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureDigitalLevelScriptTrigger(request, @@ -2566,11 +2857,21 @@ def ConfigureDigitalLevelScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', nifgen__pb2.ConfigureDigitalLevelScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalLevelScriptTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureFreqList(request, @@ -2583,11 +2884,21 @@ def ConfigureFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureFreqList', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureFreqList', nifgen__pb2.ConfigureFreqListRequest.SerializeToString, nifgen__pb2.ConfigureFreqListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureFrequency(request, @@ -2600,11 +2911,21 @@ def ConfigureFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureFrequency', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureFrequency', nifgen__pb2.ConfigureFrequencyRequest.SerializeToString, nifgen__pb2.ConfigureFrequencyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOperationMode(request, @@ -2617,11 +2938,21 @@ def ConfigureOperationMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOperationMode', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureOperationMode', nifgen__pb2.ConfigureOperationModeRequest.SerializeToString, nifgen__pb2.ConfigureOperationModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputEnabled(request, @@ -2634,11 +2965,21 @@ def ConfigureOutputEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', nifgen__pb2.ConfigureOutputEnabledRequest.SerializeToString, nifgen__pb2.ConfigureOutputEnabledResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputImpedance(request, @@ -2651,11 +2992,21 @@ def ConfigureOutputImpedance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', nifgen__pb2.ConfigureOutputImpedanceRequest.SerializeToString, nifgen__pb2.ConfigureOutputImpedanceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureOutputMode(request, @@ -2668,11 +3019,21 @@ def ConfigureOutputMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputMode', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureOutputMode', nifgen__pb2.ConfigureOutputModeRequest.SerializeToString, nifgen__pb2.ConfigureOutputModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureP2PEndpointFullnessStartTrigger(request, @@ -2685,11 +3046,21 @@ def ConfigureP2PEndpointFullnessStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureReferenceClock(request, @@ -2702,11 +3073,21 @@ def ConfigureReferenceClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureReferenceClock', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureReferenceClock', nifgen__pb2.ConfigureReferenceClockRequest.SerializeToString, nifgen__pb2.ConfigureReferenceClockResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSampleClockSource(request, @@ -2719,11 +3100,21 @@ def ConfigureSampleClockSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', nifgen__pb2.ConfigureSampleClockSourceRequest.SerializeToString, nifgen__pb2.ConfigureSampleClockSourceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSampleRate(request, @@ -2736,11 +3127,21 @@ def ConfigureSampleRate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSampleRate', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureSampleRate', nifgen__pb2.ConfigureSampleRateRequest.SerializeToString, nifgen__pb2.ConfigureSampleRateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeScriptTrigger(request, @@ -2753,11 +3154,21 @@ def ConfigureSoftwareEdgeScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -2770,11 +3181,21 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', nifgen__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureStandardWaveform(request, @@ -2787,11 +3208,21 @@ def ConfigureStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', nifgen__pb2.ConfigureStandardWaveformRequest.SerializeToString, nifgen__pb2.ConfigureStandardWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureSynchronization(request, @@ -2804,11 +3235,21 @@ def ConfigureSynchronization(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSynchronization', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureSynchronization', nifgen__pb2.ConfigureSynchronizationRequest.SerializeToString, nifgen__pb2.ConfigureSynchronizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerMode(request, @@ -2821,11 +3262,21 @@ def ConfigureTriggerMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureTriggerMode', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ConfigureTriggerMode', nifgen__pb2.ConfigureTriggerModeRequest.SerializeToString, nifgen__pb2.ConfigureTriggerModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateAdvancedArbSequence(request, @@ -2838,11 +3289,21 @@ def CreateAdvancedArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', nifgen__pb2.CreateAdvancedArbSequenceRequest.SerializeToString, nifgen__pb2.CreateAdvancedArbSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateArbSequence(request, @@ -2855,11 +3316,21 @@ def CreateArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateArbSequence', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateArbSequence', nifgen__pb2.CreateArbSequenceRequest.SerializeToString, nifgen__pb2.CreateArbSequenceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateFreqList(request, @@ -2872,11 +3343,21 @@ def CreateFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateFreqList', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateFreqList', nifgen__pb2.CreateFreqListRequest.SerializeToString, nifgen__pb2.CreateFreqListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformComplexF64(request, @@ -2889,11 +3370,21 @@ def CreateWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', nifgen__pb2.CreateWaveformComplexF64Request.SerializeToString, nifgen__pb2.CreateWaveformComplexF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformF64(request, @@ -2906,11 +3397,21 @@ def CreateWaveformF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformF64', nifgen__pb2.CreateWaveformF64Request.SerializeToString, nifgen__pb2.CreateWaveformF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformFromFileF64(request, @@ -2923,11 +3424,21 @@ def CreateWaveformFromFileF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', nifgen__pb2.CreateWaveformFromFileF64Request.SerializeToString, nifgen__pb2.CreateWaveformFromFileF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformFromFileI16(request, @@ -2940,11 +3451,21 @@ def CreateWaveformFromFileI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', nifgen__pb2.CreateWaveformFromFileI16Request.SerializeToString, nifgen__pb2.CreateWaveformFromFileI16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformI16(request, @@ -2957,11 +3478,21 @@ def CreateWaveformI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformI16', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformI16', nifgen__pb2.CreateWaveformI16Request.SerializeToString, nifgen__pb2.CreateWaveformI16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DefineUserStandardWaveform(request, @@ -2974,11 +3505,21 @@ def DefineUserStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', nifgen__pb2.DefineUserStandardWaveformRequest.SerializeToString, nifgen__pb2.DefineUserStandardWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteNamedWaveform(request, @@ -2991,11 +3532,21 @@ def DeleteNamedWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DeleteNamedWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DeleteNamedWaveform', nifgen__pb2.DeleteNamedWaveformRequest.SerializeToString, nifgen__pb2.DeleteNamedWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DeleteScript(request, @@ -3008,11 +3559,21 @@ def DeleteScript(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DeleteScript', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DeleteScript', nifgen__pb2.DeleteScriptRequest.SerializeToString, nifgen__pb2.DeleteScriptResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disable(request, @@ -3025,11 +3586,21 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Disable', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/Disable', nifgen__pb2.DisableRequest.SerializeToString, nifgen__pb2.DisableResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableAnalogFilter(request, @@ -3042,11 +3613,21 @@ def DisableAnalogFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableAnalogFilter', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DisableAnalogFilter', nifgen__pb2.DisableAnalogFilterRequest.SerializeToString, nifgen__pb2.DisableAnalogFilterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableDigitalFilter(request, @@ -3059,11 +3640,21 @@ def DisableDigitalFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableDigitalFilter', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DisableDigitalFilter', nifgen__pb2.DisableDigitalFilterRequest.SerializeToString, nifgen__pb2.DisableDigitalFilterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableDigitalPatterning(request, @@ -3076,11 +3667,21 @@ def DisableDigitalPatterning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableDigitalPatterning', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DisableDigitalPatterning', nifgen__pb2.DisableDigitalPatterningRequest.SerializeToString, nifgen__pb2.DisableDigitalPatterningResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableScriptTrigger(request, @@ -3093,11 +3694,21 @@ def DisableScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableScriptTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DisableScriptTrigger', nifgen__pb2.DisableScriptTriggerRequest.SerializeToString, nifgen__pb2.DisableScriptTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisableStartTrigger(request, @@ -3110,11 +3721,21 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableStartTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/DisableStartTrigger', nifgen__pb2.DisableStartTriggerRequest.SerializeToString, nifgen__pb2.DisableStartTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnableAnalogFilter(request, @@ -3127,11 +3748,21 @@ def EnableAnalogFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableAnalogFilter', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/EnableAnalogFilter', nifgen__pb2.EnableAnalogFilterRequest.SerializeToString, nifgen__pb2.EnableAnalogFilterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnableDigitalFilter(request, @@ -3144,11 +3775,21 @@ def EnableDigitalFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableDigitalFilter', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/EnableDigitalFilter', nifgen__pb2.EnableDigitalFilterRequest.SerializeToString, nifgen__pb2.EnableDigitalFilterResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EnableDigitalPatterning(request, @@ -3161,11 +3802,21 @@ def EnableDigitalPatterning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableDigitalPatterning', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/EnableDigitalPatterning', nifgen__pb2.EnableDigitalPatterningRequest.SerializeToString, nifgen__pb2.EnableDigitalPatterningResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorHandler(request, @@ -3178,11 +3829,21 @@ def ErrorHandler(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorHandler', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ErrorHandler', nifgen__pb2.ErrorHandlerRequest.SerializeToString, nifgen__pb2.ErrorHandlerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorMessage(request, @@ -3195,11 +3856,21 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ErrorMessage', nifgen__pb2.ErrorMessageRequest.SerializeToString, nifgen__pb2.ErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorQuery(request, @@ -3212,11 +3883,21 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorQuery', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ErrorQuery', nifgen__pb2.ErrorQueryRequest.SerializeToString, nifgen__pb2.ErrorQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -3229,11 +3910,21 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', nifgen__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nifgen__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationFile(request, @@ -3246,11 +3937,21 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', nifgen__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nifgen__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportSignal(request, @@ -3263,11 +3964,21 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportSignal', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ExportSignal', nifgen__pb2.ExportSignalRequest.SerializeToString, nifgen__pb2.ExportSignalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -3280,11 +3991,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViBoolean', nifgen__pb2.GetAttributeViBooleanRequest.SerializeToString, nifgen__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -3297,11 +4018,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViInt32', nifgen__pb2.GetAttributeViInt32Request.SerializeToString, nifgen__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt64(request, @@ -3314,11 +4045,21 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViInt64', nifgen__pb2.GetAttributeViInt64Request.SerializeToString, nifgen__pb2.GetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -3331,11 +4072,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViReal64', nifgen__pb2.GetAttributeViReal64Request.SerializeToString, nifgen__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -3348,11 +4099,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViSession', nifgen__pb2.GetAttributeViSessionRequest.SerializeToString, nifgen__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -3365,11 +4126,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetAttributeViString', nifgen__pb2.GetAttributeViStringRequest.SerializeToString, nifgen__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -3382,11 +4153,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetChannelName', nifgen__pb2.GetChannelNameRequest.SerializeToString, nifgen__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -3399,11 +4180,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetError', nifgen__pb2.GetErrorRequest.SerializeToString, nifgen__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalLastDateAndTime(request, @@ -3416,11 +4207,21 @@ def GetExtCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', nifgen__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, nifgen__pb2.GetExtCalLastDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalLastTemp(request, @@ -3433,11 +4234,21 @@ def GetExtCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalLastTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetExtCalLastTemp', nifgen__pb2.GetExtCalLastTempRequest.SerializeToString, nifgen__pb2.GetExtCalLastTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetExtCalRecommendedInterval(request, @@ -3450,11 +4261,21 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', nifgen__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nifgen__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetFIRFilterCoefficients(request, @@ -3467,11 +4288,21 @@ def GetFIRFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', nifgen__pb2.GetFIRFilterCoefficientsRequest.SerializeToString, nifgen__pb2.GetFIRFilterCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetHardwareState(request, @@ -3484,11 +4315,21 @@ def GetHardwareState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetHardwareState', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetHardwareState', nifgen__pb2.GetHardwareStateRequest.SerializeToString, nifgen__pb2.GetHardwareStateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalLastDateAndTime(request, @@ -3501,11 +4342,21 @@ def GetSelfCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', nifgen__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, nifgen__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalLastTemp(request, @@ -3518,11 +4369,21 @@ def GetSelfCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', nifgen__pb2.GetSelfCalLastTempRequest.SerializeToString, nifgen__pb2.GetSelfCalLastTempResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetSelfCalSupported(request, @@ -3535,11 +4396,21 @@ def GetSelfCalSupported(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalSupported', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetSelfCalSupported', nifgen__pb2.GetSelfCalSupportedRequest.SerializeToString, nifgen__pb2.GetSelfCalSupportedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetStreamEndpointHandle(request, @@ -3552,11 +4423,21 @@ def GetStreamEndpointHandle(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', nifgen__pb2.GetStreamEndpointHandleRequest.SerializeToString, nifgen__pb2.GetStreamEndpointHandleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -3569,11 +4450,21 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', nifgen__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nifgen__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationFile(request, @@ -3586,11 +4477,21 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', nifgen__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nifgen__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Init(request, @@ -3603,11 +4504,21 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Init', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/Init', nifgen__pb2.InitRequest.SerializeToString, nifgen__pb2.InitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -3620,11 +4531,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/InitWithOptions', nifgen__pb2.InitWithOptionsRequest.SerializeToString, nifgen__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitializeWithChannels(request, @@ -3637,11 +4558,21 @@ def InitializeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitializeWithChannels', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/InitializeWithChannels', nifgen__pb2.InitializeWithChannelsRequest.SerializeToString, nifgen__pb2.InitializeWithChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitiateGeneration(request, @@ -3654,11 +4585,21 @@ def InitiateGeneration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitiateGeneration', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/InitiateGeneration', nifgen__pb2.InitiateGenerationRequest.SerializeToString, nifgen__pb2.InitiateGenerationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InvalidateAllAttributes(request, @@ -3671,11 +4612,21 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InvalidateAllAttributes', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/InvalidateAllAttributes', nifgen__pb2.InvalidateAllAttributesRequest.SerializeToString, nifgen__pb2.InvalidateAllAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsDone(request, @@ -3688,11 +4639,21 @@ def IsDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/IsDone', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/IsDone', nifgen__pb2.IsDoneRequest.SerializeToString, nifgen__pb2.IsDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryArbSeqCapabilities(request, @@ -3705,11 +4666,21 @@ def QueryArbSeqCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', nifgen__pb2.QueryArbSeqCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryArbSeqCapabilitiesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryArbWfmCapabilities(request, @@ -3722,11 +4693,21 @@ def QueryArbWfmCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', nifgen__pb2.QueryArbWfmCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryArbWfmCapabilitiesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryFreqListCapabilities(request, @@ -3739,11 +4720,21 @@ def QueryFreqListCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', nifgen__pb2.QueryFreqListCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryFreqListCapabilitiesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadCurrentTemperature(request, @@ -3756,11 +4747,21 @@ def ReadCurrentTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ReadCurrentTemperature', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ReadCurrentTemperature', nifgen__pb2.ReadCurrentTemperatureRequest.SerializeToString, nifgen__pb2.ReadCurrentTemperatureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -3773,11 +4774,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/Reset', nifgen__pb2.ResetRequest.SerializeToString, nifgen__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetAttribute(request, @@ -3790,11 +4801,21 @@ def ResetAttribute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetAttribute', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ResetAttribute', nifgen__pb2.ResetAttributeRequest.SerializeToString, nifgen__pb2.ResetAttributeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetDevice(request, @@ -3807,11 +4828,21 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetDevice', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ResetDevice', nifgen__pb2.ResetDeviceRequest.SerializeToString, nifgen__pb2.ResetDeviceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetInterchangeCheck(request, @@ -3824,11 +4855,21 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetInterchangeCheck', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ResetInterchangeCheck', nifgen__pb2.ResetInterchangeCheckRequest.SerializeToString, nifgen__pb2.ResetInterchangeCheckResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetWithDefaults(request, @@ -3841,11 +4882,21 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ResetWithDefaults', nifgen__pb2.ResetWithDefaultsRequest.SerializeToString, nifgen__pb2.ResetWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RevisionQuery(request, @@ -3858,11 +4909,21 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/RevisionQuery', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/RevisionQuery', nifgen__pb2.RevisionQueryRequest.SerializeToString, nifgen__pb2.RevisionQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RouteSignalOut(request, @@ -3875,11 +4936,21 @@ def RouteSignalOut(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/RouteSignalOut', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/RouteSignalOut', nifgen__pb2.RouteSignalOutRequest.SerializeToString, nifgen__pb2.RouteSignalOutResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfCal(request, @@ -3892,11 +4963,21 @@ def SelfCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SelfCal', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SelfCal', nifgen__pb2.SelfCalRequest.SerializeToString, nifgen__pb2.SelfCalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -3909,11 +4990,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SelfTest', nifgen__pb2.SelfTestRequest.SerializeToString, nifgen__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -3926,11 +5017,21 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', nifgen__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nifgen__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -3943,11 +5044,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViBoolean', nifgen__pb2.SetAttributeViBooleanRequest.SerializeToString, nifgen__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -3960,11 +5071,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViInt32', nifgen__pb2.SetAttributeViInt32Request.SerializeToString, nifgen__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt64(request, @@ -3977,11 +5098,21 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViInt64', nifgen__pb2.SetAttributeViInt64Request.SerializeToString, nifgen__pb2.SetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -3994,11 +5125,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViReal64', nifgen__pb2.SetAttributeViReal64Request.SerializeToString, nifgen__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -4011,11 +5152,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViSession', nifgen__pb2.SetAttributeViSessionRequest.SerializeToString, nifgen__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -4028,11 +5179,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetAttributeViString', nifgen__pb2.SetAttributeViStringRequest.SerializeToString, nifgen__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetNamedWaveformNextWritePosition(request, @@ -4045,11 +5206,21 @@ def SetNamedWaveformNextWritePosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', nifgen__pb2.SetNamedWaveformNextWritePositionRequest.SerializeToString, nifgen__pb2.SetNamedWaveformNextWritePositionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetWaveformNextWritePosition(request, @@ -4062,11 +5233,21 @@ def SetWaveformNextWritePosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', nifgen__pb2.SetWaveformNextWritePositionRequest.SerializeToString, nifgen__pb2.SetWaveformNextWritePositionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitUntilDone(request, @@ -4079,11 +5260,21 @@ def WaitUntilDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WaitUntilDone', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WaitUntilDone', nifgen__pb2.WaitUntilDoneRequest.SerializeToString, nifgen__pb2.WaitUntilDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteBinary16Waveform(request, @@ -4096,11 +5287,21 @@ def WriteBinary16Waveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteBinary16Waveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteBinary16Waveform', nifgen__pb2.WriteBinary16WaveformRequest.SerializeToString, nifgen__pb2.WriteBinary16WaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteComplexBinary16Waveform(request, @@ -4113,11 +5314,21 @@ def WriteComplexBinary16Waveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', nifgen__pb2.WriteComplexBinary16WaveformRequest.SerializeToString, nifgen__pb2.WriteComplexBinary16WaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteNamedWaveformComplexF64(request, @@ -4130,11 +5341,21 @@ def WriteNamedWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', nifgen__pb2.WriteNamedWaveformComplexF64Request.SerializeToString, nifgen__pb2.WriteNamedWaveformComplexF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteNamedWaveformComplexI16(request, @@ -4147,11 +5368,21 @@ def WriteNamedWaveformComplexI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', nifgen__pb2.WriteNamedWaveformComplexI16Request.SerializeToString, nifgen__pb2.WriteNamedWaveformComplexI16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteNamedWaveformF64(request, @@ -4164,11 +5395,21 @@ def WriteNamedWaveformF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', nifgen__pb2.WriteNamedWaveformF64Request.SerializeToString, nifgen__pb2.WriteNamedWaveformF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteNamedWaveformI16(request, @@ -4181,11 +5422,21 @@ def WriteNamedWaveformI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', nifgen__pb2.WriteNamedWaveformI16Request.SerializeToString, nifgen__pb2.WriteNamedWaveformI16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteP2PEndpointI16(request, @@ -4198,11 +5449,21 @@ def WriteP2PEndpointI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', nifgen__pb2.WriteP2PEndpointI16Request.SerializeToString, nifgen__pb2.WriteP2PEndpointI16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteScript(request, @@ -4215,11 +5476,21 @@ def WriteScript(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteScript', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteScript', nifgen__pb2.WriteScriptRequest.SerializeToString, nifgen__pb2.WriteScriptResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteWaveform(request, @@ -4232,11 +5503,21 @@ def WriteWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteWaveform', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteWaveform', nifgen__pb2.WriteWaveformRequest.SerializeToString, nifgen__pb2.WriteWaveformResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WriteWaveformComplexF64(request, @@ -4249,11 +5530,21 @@ def WriteWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', nifgen__pb2.WriteWaveformComplexF64Request.SerializeToString, nifgen__pb2.WriteWaveformComplexF64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CreateWaveformFromFileHWS(request, @@ -4266,11 +5557,21 @@ def CreateWaveformFromFileHWS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', nifgen__pb2.CreateWaveformFromFileHWSRequest.SerializeToString, nifgen__pb2.CreateWaveformFromFileHWSResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ManualEnableP2PStream(request, @@ -4283,8 +5584,18 @@ def ManualEnableP2PStream(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ManualEnableP2PStream', + return grpc.experimental.unary_unary( + request, + target, + '/nifgen_grpc.NiFgen/ManualEnableP2PStream', nifgen__pb2.ManualEnableP2PStreamRequest.SerializeToString, nifgen__pb2.ManualEnableP2PStreamResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nifgen/nifgen/session_pb2.py b/generated/nifgen/nifgen/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/nifgen/nifgen/session_pb2.py +++ b/generated/nifgen/nifgen/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nifgen/nifgen/session_pb2_grpc.py b/generated/nifgen/nifgen/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/nifgen/nifgen/session_pb2_grpc.py +++ b/generated/nifgen/nifgen/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/nifgen/setup.py b/generated/nifgen/setup.py index 7b1511d5e..c140bbc9d 100644 --- a/generated/nifgen/setup.py +++ b/generated/nifgen/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/niscope/niscope/nidevice_pb2.py b/generated/niscope/niscope/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/niscope/niscope/nidevice_pb2.py +++ b/generated/niscope/niscope/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/niscope/niscope/nidevice_pb2_grpc.py b/generated/niscope/niscope/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/niscope/niscope/nidevice_pb2_grpc.py +++ b/generated/niscope/niscope/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/niscope/niscope/niscope_pb2.py b/generated/niscope/niscope/niscope_pb2.py index 3ace0301b..719f92014 100644 --- a/generated/niscope/niscope/niscope_pb2.py +++ b/generated/niscope/niscope/niscope_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: niscope.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'niscope.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,17 +31,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'niscope_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\021com.ni.grpc.scopeB\007NiScopeP\001\252\002\036NationalInstruments.Grpc.Scope' - _NISCOPEINT32ATTRIBUTEVALUES._options = None - _NISCOPEINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _NISCOPEREAL64ATTRIBUTEVALUES._options = None - _NISCOPEREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' - _INITRESPONSE.fields_by_name['error_message']._options = None - _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\021com.ni.grpc.scopeB\007NiScopeP\001\252\002\036NationalInstruments.Grpc.Scope' + _globals['_NISCOPEINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NISCOPEINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_NISCOPEREAL64ATTRIBUTEVALUES']._loaded_options = None + _globals['_NISCOPEREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NISCOPEATTRIBUTE']._serialized_start=21063 _globals['_NISCOPEATTRIBUTE']._serialized_end=31527 _globals['_WHICHTRIGGER']._serialized_start=31530 diff --git a/generated/niscope/niscope/niscope_pb2_grpc.py b/generated/niscope/niscope/niscope_pb2_grpc.py index 0e201501b..ba63e448b 100644 --- a/generated/niscope/niscope/niscope_pb2_grpc.py +++ b/generated/niscope/niscope/niscope_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import niscope_pb2 as niscope__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in niscope_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiScopeStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,452 +38,452 @@ def __init__(self, channel): '/niscope_grpc.NiScope/Init', request_serializer=niscope__pb2.InitRequest.SerializeToString, response_deserializer=niscope__pb2.InitResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/niscope_grpc.NiScope/InitWithOptions', request_serializer=niscope__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=niscope__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/niscope_grpc.NiScope/Close', request_serializer=niscope__pb2.CloseRequest.SerializeToString, response_deserializer=niscope__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.AutoSetup = channel.unary_unary( '/niscope_grpc.NiScope/AutoSetup', request_serializer=niscope__pb2.AutoSetupRequest.SerializeToString, response_deserializer=niscope__pb2.AutoSetupResponse.FromString, - ) + _registered_method=True) self.ConfigureVertical = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureVertical', request_serializer=niscope__pb2.ConfigureVerticalRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureVerticalResponse.FromString, - ) + _registered_method=True) self.ConfigureChanCharacteristics = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureChanCharacteristics', request_serializer=niscope__pb2.ConfigureChanCharacteristicsRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureChanCharacteristicsResponse.FromString, - ) + _registered_method=True) self.ConfigureHorizontalTiming = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureHorizontalTiming', request_serializer=niscope__pb2.ConfigureHorizontalTimingRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureHorizontalTimingResponse.FromString, - ) + _registered_method=True) self.ConfigureClock = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureClock', request_serializer=niscope__pb2.ConfigureClockRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureClockResponse.FromString, - ) + _registered_method=True) self.ExportSignal = channel.unary_unary( '/niscope_grpc.NiScope/ExportSignal', request_serializer=niscope__pb2.ExportSignalRequest.SerializeToString, response_deserializer=niscope__pb2.ExportSignalResponse.FromString, - ) + _registered_method=True) self.AdjustSampleClockRelativeDelay = channel.unary_unary( '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', request_serializer=niscope__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, response_deserializer=niscope__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerEdge = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerEdge', request_serializer=niscope__pb2.ConfigureTriggerEdgeRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerEdgeResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerGlitch = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerGlitch', request_serializer=niscope__pb2.ConfigureTriggerGlitchRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerGlitchResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerHysteresis = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', request_serializer=niscope__pb2.ConfigureTriggerHysteresisRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerHysteresisResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerWindow = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerWindow', request_serializer=niscope__pb2.ConfigureTriggerWindowRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerWindowResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerSoftware = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerSoftware', request_serializer=niscope__pb2.ConfigureTriggerSoftwareRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerSoftwareResponse.FromString, - ) + _registered_method=True) self.SendSoftwareTriggerEdge = channel.unary_unary( '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', request_serializer=niscope__pb2.SendSoftwareTriggerEdgeRequest.SerializeToString, response_deserializer=niscope__pb2.SendSoftwareTriggerEdgeResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerImmediate = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerImmediate', request_serializer=niscope__pb2.ConfigureTriggerImmediateRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerImmediateResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerRunt = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerRunt', request_serializer=niscope__pb2.ConfigureTriggerRuntRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerRuntResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerDigital = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerDigital', request_serializer=niscope__pb2.ConfigureTriggerDigitalRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerDigitalResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerVideo = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerVideo', request_serializer=niscope__pb2.ConfigureTriggerVideoRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerVideoResponse.FromString, - ) + _registered_method=True) self.ConfigureTriggerWidth = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerWidth', request_serializer=niscope__pb2.ConfigureTriggerWidthRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerWidthResponse.FromString, - ) + _registered_method=True) self.ConfigureEqualizationFilterCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', request_serializer=niscope__pb2.ConfigureEqualizationFilterCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureEqualizationFilterCoefficientsResponse.FromString, - ) + _registered_method=True) self.GetEqualizationFilterCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', request_serializer=niscope__pb2.GetEqualizationFilterCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetEqualizationFilterCoefficientsResponse.FromString, - ) + _registered_method=True) self.GetFrequencyResponse = channel.unary_unary( '/niscope_grpc.NiScope/GetFrequencyResponse', request_serializer=niscope__pb2.GetFrequencyResponseRequest.SerializeToString, response_deserializer=niscope__pb2.GetFrequencyResponseResponse.FromString, - ) + _registered_method=True) self.ConfigureAcquisition = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureAcquisition', request_serializer=niscope__pb2.ConfigureAcquisitionRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureAcquisitionResponse.FromString, - ) + _registered_method=True) self.InitiateAcquisition = channel.unary_unary( '/niscope_grpc.NiScope/InitiateAcquisition', request_serializer=niscope__pb2.InitiateAcquisitionRequest.SerializeToString, response_deserializer=niscope__pb2.InitiateAcquisitionResponse.FromString, - ) + _registered_method=True) self.Abort = channel.unary_unary( '/niscope_grpc.NiScope/Abort', request_serializer=niscope__pb2.AbortRequest.SerializeToString, response_deserializer=niscope__pb2.AbortResponse.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/niscope_grpc.NiScope/Commit', request_serializer=niscope__pb2.CommitRequest.SerializeToString, response_deserializer=niscope__pb2.CommitResponse.FromString, - ) + _registered_method=True) self.Read = channel.unary_unary( '/niscope_grpc.NiScope/Read', request_serializer=niscope__pb2.ReadRequest.SerializeToString, response_deserializer=niscope__pb2.ReadResponse.FromString, - ) + _registered_method=True) self.Fetch = channel.unary_unary( '/niscope_grpc.NiScope/Fetch', request_serializer=niscope__pb2.FetchRequest.SerializeToString, response_deserializer=niscope__pb2.FetchResponse.FromString, - ) + _registered_method=True) self.FetchBinary8 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary8', request_serializer=niscope__pb2.FetchBinary8Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary8Response.FromString, - ) + _registered_method=True) self.FetchBinary16 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary16', request_serializer=niscope__pb2.FetchBinary16Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary16Response.FromString, - ) + _registered_method=True) self.FetchBinary32 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary32', request_serializer=niscope__pb2.FetchBinary32Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary32Response.FromString, - ) + _registered_method=True) self.FetchComplex = channel.unary_unary( '/niscope_grpc.NiScope/FetchComplex', request_serializer=niscope__pb2.FetchComplexRequest.SerializeToString, response_deserializer=niscope__pb2.FetchComplexResponse.FromString, - ) + _registered_method=True) self.FetchComplexBinary16 = channel.unary_unary( '/niscope_grpc.NiScope/FetchComplexBinary16', request_serializer=niscope__pb2.FetchComplexBinary16Request.SerializeToString, response_deserializer=niscope__pb2.FetchComplexBinary16Response.FromString, - ) + _registered_method=True) self.AcquisitionStatus = channel.unary_unary( '/niscope_grpc.NiScope/AcquisitionStatus', request_serializer=niscope__pb2.AcquisitionStatusRequest.SerializeToString, response_deserializer=niscope__pb2.AcquisitionStatusResponse.FromString, - ) + _registered_method=True) self.ActualNumWfms = channel.unary_unary( '/niscope_grpc.NiScope/ActualNumWfms', request_serializer=niscope__pb2.ActualNumWfmsRequest.SerializeToString, response_deserializer=niscope__pb2.ActualNumWfmsResponse.FromString, - ) + _registered_method=True) self.ActualMeasWfmSize = channel.unary_unary( '/niscope_grpc.NiScope/ActualMeasWfmSize', request_serializer=niscope__pb2.ActualMeasWfmSizeRequest.SerializeToString, response_deserializer=niscope__pb2.ActualMeasWfmSizeResponse.FromString, - ) + _registered_method=True) self.ActualRecordLength = channel.unary_unary( '/niscope_grpc.NiScope/ActualRecordLength', request_serializer=niscope__pb2.ActualRecordLengthRequest.SerializeToString, response_deserializer=niscope__pb2.ActualRecordLengthResponse.FromString, - ) + _registered_method=True) self.SampleRate = channel.unary_unary( '/niscope_grpc.NiScope/SampleRate', request_serializer=niscope__pb2.SampleRateRequest.SerializeToString, response_deserializer=niscope__pb2.SampleRateResponse.FromString, - ) + _registered_method=True) self.SampleMode = channel.unary_unary( '/niscope_grpc.NiScope/SampleMode', request_serializer=niscope__pb2.SampleModeRequest.SerializeToString, response_deserializer=niscope__pb2.SampleModeResponse.FromString, - ) + _registered_method=True) self.AddWaveformProcessing = channel.unary_unary( '/niscope_grpc.NiScope/AddWaveformProcessing', request_serializer=niscope__pb2.AddWaveformProcessingRequest.SerializeToString, response_deserializer=niscope__pb2.AddWaveformProcessingResponse.FromString, - ) + _registered_method=True) self.ClearWaveformProcessing = channel.unary_unary( '/niscope_grpc.NiScope/ClearWaveformProcessing', request_serializer=niscope__pb2.ClearWaveformProcessingRequest.SerializeToString, response_deserializer=niscope__pb2.ClearWaveformProcessingResponse.FromString, - ) + _registered_method=True) self.ClearWaveformMeasurementStats = channel.unary_unary( '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', request_serializer=niscope__pb2.ClearWaveformMeasurementStatsRequest.SerializeToString, response_deserializer=niscope__pb2.ClearWaveformMeasurementStatsResponse.FromString, - ) + _registered_method=True) self.ReadMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/ReadMeasurement', request_serializer=niscope__pb2.ReadMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.ReadMeasurementResponse.FromString, - ) + _registered_method=True) self.FetchMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/FetchMeasurement', request_serializer=niscope__pb2.FetchMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.FetchMeasurementResponse.FromString, - ) + _registered_method=True) self.FetchMeasurementStats = channel.unary_unary( '/niscope_grpc.NiScope/FetchMeasurementStats', request_serializer=niscope__pb2.FetchMeasurementStatsRequest.SerializeToString, response_deserializer=niscope__pb2.FetchMeasurementStatsResponse.FromString, - ) + _registered_method=True) self.FetchArrayMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/FetchArrayMeasurement', request_serializer=niscope__pb2.FetchArrayMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.FetchArrayMeasurementResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/niscope_grpc.NiScope/Reset', request_serializer=niscope__pb2.ResetRequest.SerializeToString, response_deserializer=niscope__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/niscope_grpc.NiScope/SelfTest', request_serializer=niscope__pb2.SelfTestRequest.SerializeToString, response_deserializer=niscope__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.Disable = channel.unary_unary( '/niscope_grpc.NiScope/Disable', request_serializer=niscope__pb2.DisableRequest.SerializeToString, response_deserializer=niscope__pb2.DisableResponse.FromString, - ) + _registered_method=True) self.ResetDevice = channel.unary_unary( '/niscope_grpc.NiScope/ResetDevice', request_serializer=niscope__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=niscope__pb2.ResetDeviceResponse.FromString, - ) + _registered_method=True) self.CalSelfCalibrate = channel.unary_unary( '/niscope_grpc.NiScope/CalSelfCalibrate', request_serializer=niscope__pb2.CalSelfCalibrateRequest.SerializeToString, response_deserializer=niscope__pb2.CalSelfCalibrateResponse.FromString, - ) + _registered_method=True) self.RevisionQuery = channel.unary_unary( '/niscope_grpc.NiScope/RevisionQuery', request_serializer=niscope__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=niscope__pb2.RevisionQueryResponse.FromString, - ) + _registered_method=True) self.ProbeCompensationSignalStart = channel.unary_unary( '/niscope_grpc.NiScope/ProbeCompensationSignalStart', request_serializer=niscope__pb2.ProbeCompensationSignalStartRequest.SerializeToString, response_deserializer=niscope__pb2.ProbeCompensationSignalStartResponse.FromString, - ) + _registered_method=True) self.ProbeCompensationSignalStop = channel.unary_unary( '/niscope_grpc.NiScope/ProbeCompensationSignalStop', request_serializer=niscope__pb2.ProbeCompensationSignalStopRequest.SerializeToString, response_deserializer=niscope__pb2.ProbeCompensationSignalStopResponse.FromString, - ) + _registered_method=True) self.CableSenseSignalStart = channel.unary_unary( '/niscope_grpc.NiScope/CableSenseSignalStart', request_serializer=niscope__pb2.CableSenseSignalStartRequest.SerializeToString, response_deserializer=niscope__pb2.CableSenseSignalStartResponse.FromString, - ) + _registered_method=True) self.CableSenseSignalStop = channel.unary_unary( '/niscope_grpc.NiScope/CableSenseSignalStop', request_serializer=niscope__pb2.CableSenseSignalStopRequest.SerializeToString, response_deserializer=niscope__pb2.CableSenseSignalStopResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/niscope_grpc.NiScope/GetChannelName', request_serializer=niscope__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=niscope__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.GetChannelNameFromString = channel.unary_unary( '/niscope_grpc.NiScope/GetChannelNameFromString', request_serializer=niscope__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=niscope__pb2.GetChannelNameFromStringResponse.FromString, - ) + _registered_method=True) self.ErrorHandler = channel.unary_unary( '/niscope_grpc.NiScope/ErrorHandler', request_serializer=niscope__pb2.ErrorHandlerRequest.SerializeToString, response_deserializer=niscope__pb2.ErrorHandlerResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/niscope_grpc.NiScope/GetError', request_serializer=niscope__pb2.GetErrorRequest.SerializeToString, response_deserializer=niscope__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.GetErrorMessage = channel.unary_unary( '/niscope_grpc.NiScope/GetErrorMessage', request_serializer=niscope__pb2.GetErrorMessageRequest.SerializeToString, response_deserializer=niscope__pb2.GetErrorMessageResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViInt32', request_serializer=niscope__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViInt32', request_serializer=niscope__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.CheckAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViInt32', request_serializer=niscope__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViInt64', request_serializer=niscope__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.SetAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViInt64', request_serializer=niscope__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViInt64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViInt64', request_serializer=niscope__pb2.CheckAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViInt64Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViReal64', request_serializer=niscope__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViReal64', request_serializer=niscope__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViReal64', request_serializer=niscope__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViString', request_serializer=niscope__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViString', request_serializer=niscope__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViString', request_serializer=niscope__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViSession', request_serializer=niscope__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViSession', request_serializer=niscope__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViSession', request_serializer=niscope__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViBoolean', request_serializer=niscope__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViBoolean', request_serializer=niscope__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViBoolean', request_serializer=niscope__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', request_serializer=niscope__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=niscope__pb2.ImportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', request_serializer=niscope__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=niscope__pb2.ExportAttributeConfigurationBufferResponse.FromString, - ) + _registered_method=True) self.ImportAttributeConfigurationFile = channel.unary_unary( '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', request_serializer=niscope__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=niscope__pb2.ImportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.ExportAttributeConfigurationFile = channel.unary_unary( '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', request_serializer=niscope__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=niscope__pb2.ExportAttributeConfigurationFileResponse.FromString, - ) + _registered_method=True) self.GetScalingCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetScalingCoefficients', request_serializer=niscope__pb2.GetScalingCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetScalingCoefficientsResponse.FromString, - ) + _registered_method=True) self.GetNormalizationCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetNormalizationCoefficients', request_serializer=niscope__pb2.GetNormalizationCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetNormalizationCoefficientsResponse.FromString, - ) + _registered_method=True) self.GetStreamEndpointHandle = channel.unary_unary( '/niscope_grpc.NiScope/GetStreamEndpointHandle', request_serializer=niscope__pb2.GetStreamEndpointHandleRequest.SerializeToString, response_deserializer=niscope__pb2.GetStreamEndpointHandleResponse.FromString, - ) + _registered_method=True) self.CalFetchDate = channel.unary_unary( '/niscope_grpc.NiScope/CalFetchDate', request_serializer=niscope__pb2.CalFetchDateRequest.SerializeToString, response_deserializer=niscope__pb2.CalFetchDateResponse.FromString, - ) + _registered_method=True) self.CalFetchTemperature = channel.unary_unary( '/niscope_grpc.NiScope/CalFetchTemperature', request_serializer=niscope__pb2.CalFetchTemperatureRequest.SerializeToString, response_deserializer=niscope__pb2.CalFetchTemperatureResponse.FromString, - ) + _registered_method=True) class NiScopeServicer(object): @@ -1466,6 +1486,7 @@ def add_NiScopeServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'niscope_grpc.NiScope', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('niscope_grpc.NiScope', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1483,11 +1504,21 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Init', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Init', niscope__pb2.InitRequest.SerializeToString, niscope__pb2.InitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -1500,11 +1531,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/InitWithOptions', niscope__pb2.InitWithOptionsRequest.SerializeToString, niscope__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -1517,11 +1558,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Close', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Close', niscope__pb2.CloseRequest.SerializeToString, niscope__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AutoSetup(request, @@ -1534,11 +1585,21 @@ def AutoSetup(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AutoSetup', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/AutoSetup', niscope__pb2.AutoSetupRequest.SerializeToString, niscope__pb2.AutoSetupResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureVertical(request, @@ -1551,11 +1612,21 @@ def ConfigureVertical(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureVertical', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureVertical', niscope__pb2.ConfigureVerticalRequest.SerializeToString, niscope__pb2.ConfigureVerticalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureChanCharacteristics(request, @@ -1568,11 +1639,21 @@ def ConfigureChanCharacteristics(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureChanCharacteristics', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureChanCharacteristics', niscope__pb2.ConfigureChanCharacteristicsRequest.SerializeToString, niscope__pb2.ConfigureChanCharacteristicsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureHorizontalTiming(request, @@ -1585,11 +1666,21 @@ def ConfigureHorizontalTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureHorizontalTiming', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureHorizontalTiming', niscope__pb2.ConfigureHorizontalTimingRequest.SerializeToString, niscope__pb2.ConfigureHorizontalTimingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureClock(request, @@ -1602,11 +1693,21 @@ def ConfigureClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureClock', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureClock', niscope__pb2.ConfigureClockRequest.SerializeToString, niscope__pb2.ConfigureClockResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportSignal(request, @@ -1619,11 +1720,21 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportSignal', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ExportSignal', niscope__pb2.ExportSignalRequest.SerializeToString, niscope__pb2.ExportSignalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AdjustSampleClockRelativeDelay(request, @@ -1636,11 +1747,21 @@ def AdjustSampleClockRelativeDelay(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', niscope__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, niscope__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerEdge(request, @@ -1653,11 +1774,21 @@ def ConfigureTriggerEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerEdge', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerEdge', niscope__pb2.ConfigureTriggerEdgeRequest.SerializeToString, niscope__pb2.ConfigureTriggerEdgeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerGlitch(request, @@ -1670,11 +1801,21 @@ def ConfigureTriggerGlitch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerGlitch', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerGlitch', niscope__pb2.ConfigureTriggerGlitchRequest.SerializeToString, niscope__pb2.ConfigureTriggerGlitchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerHysteresis(request, @@ -1687,11 +1828,21 @@ def ConfigureTriggerHysteresis(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', niscope__pb2.ConfigureTriggerHysteresisRequest.SerializeToString, niscope__pb2.ConfigureTriggerHysteresisResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerWindow(request, @@ -1704,11 +1855,21 @@ def ConfigureTriggerWindow(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerWindow', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerWindow', niscope__pb2.ConfigureTriggerWindowRequest.SerializeToString, niscope__pb2.ConfigureTriggerWindowResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerSoftware(request, @@ -1721,11 +1882,21 @@ def ConfigureTriggerSoftware(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerSoftware', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerSoftware', niscope__pb2.ConfigureTriggerSoftwareRequest.SerializeToString, niscope__pb2.ConfigureTriggerSoftwareResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareTriggerEdge(request, @@ -1738,11 +1909,21 @@ def SendSoftwareTriggerEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', niscope__pb2.SendSoftwareTriggerEdgeRequest.SerializeToString, niscope__pb2.SendSoftwareTriggerEdgeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerImmediate(request, @@ -1755,11 +1936,21 @@ def ConfigureTriggerImmediate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerImmediate', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerImmediate', niscope__pb2.ConfigureTriggerImmediateRequest.SerializeToString, niscope__pb2.ConfigureTriggerImmediateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerRunt(request, @@ -1772,11 +1963,21 @@ def ConfigureTriggerRunt(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerRunt', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerRunt', niscope__pb2.ConfigureTriggerRuntRequest.SerializeToString, niscope__pb2.ConfigureTriggerRuntResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerDigital(request, @@ -1789,11 +1990,21 @@ def ConfigureTriggerDigital(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerDigital', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerDigital', niscope__pb2.ConfigureTriggerDigitalRequest.SerializeToString, niscope__pb2.ConfigureTriggerDigitalResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerVideo(request, @@ -1806,11 +2017,21 @@ def ConfigureTriggerVideo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerVideo', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerVideo', niscope__pb2.ConfigureTriggerVideoRequest.SerializeToString, niscope__pb2.ConfigureTriggerVideoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureTriggerWidth(request, @@ -1823,11 +2044,21 @@ def ConfigureTriggerWidth(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerWidth', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureTriggerWidth', niscope__pb2.ConfigureTriggerWidthRequest.SerializeToString, niscope__pb2.ConfigureTriggerWidthResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureEqualizationFilterCoefficients(request, @@ -1840,11 +2071,21 @@ def ConfigureEqualizationFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', niscope__pb2.ConfigureEqualizationFilterCoefficientsRequest.SerializeToString, niscope__pb2.ConfigureEqualizationFilterCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetEqualizationFilterCoefficients(request, @@ -1857,11 +2098,21 @@ def GetEqualizationFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', niscope__pb2.GetEqualizationFilterCoefficientsRequest.SerializeToString, niscope__pb2.GetEqualizationFilterCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetFrequencyResponse(request, @@ -1874,11 +2125,21 @@ def GetFrequencyResponse(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetFrequencyResponse', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetFrequencyResponse', niscope__pb2.GetFrequencyResponseRequest.SerializeToString, niscope__pb2.GetFrequencyResponseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureAcquisition(request, @@ -1891,11 +2152,21 @@ def ConfigureAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureAcquisition', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ConfigureAcquisition', niscope__pb2.ConfigureAcquisitionRequest.SerializeToString, niscope__pb2.ConfigureAcquisitionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitiateAcquisition(request, @@ -1908,11 +2179,21 @@ def InitiateAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/InitiateAcquisition', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/InitiateAcquisition', niscope__pb2.InitiateAcquisitionRequest.SerializeToString, niscope__pb2.InitiateAcquisitionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Abort(request, @@ -1925,11 +2206,21 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Abort', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Abort', niscope__pb2.AbortRequest.SerializeToString, niscope__pb2.AbortResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -1942,11 +2233,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Commit', niscope__pb2.CommitRequest.SerializeToString, niscope__pb2.CommitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Read(request, @@ -1959,11 +2260,21 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Read', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Read', niscope__pb2.ReadRequest.SerializeToString, niscope__pb2.ReadResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Fetch(request, @@ -1976,11 +2287,21 @@ def Fetch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Fetch', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Fetch', niscope__pb2.FetchRequest.SerializeToString, niscope__pb2.FetchResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchBinary8(request, @@ -1993,11 +2314,21 @@ def FetchBinary8(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary8', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchBinary8', niscope__pb2.FetchBinary8Request.SerializeToString, niscope__pb2.FetchBinary8Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchBinary16(request, @@ -2010,11 +2341,21 @@ def FetchBinary16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary16', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchBinary16', niscope__pb2.FetchBinary16Request.SerializeToString, niscope__pb2.FetchBinary16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchBinary32(request, @@ -2027,11 +2368,21 @@ def FetchBinary32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary32', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchBinary32', niscope__pb2.FetchBinary32Request.SerializeToString, niscope__pb2.FetchBinary32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchComplex(request, @@ -2044,11 +2395,21 @@ def FetchComplex(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchComplex', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchComplex', niscope__pb2.FetchComplexRequest.SerializeToString, niscope__pb2.FetchComplexResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchComplexBinary16(request, @@ -2061,11 +2422,21 @@ def FetchComplexBinary16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchComplexBinary16', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchComplexBinary16', niscope__pb2.FetchComplexBinary16Request.SerializeToString, niscope__pb2.FetchComplexBinary16Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AcquisitionStatus(request, @@ -2078,11 +2449,21 @@ def AcquisitionStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AcquisitionStatus', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/AcquisitionStatus', niscope__pb2.AcquisitionStatusRequest.SerializeToString, niscope__pb2.AcquisitionStatusResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ActualNumWfms(request, @@ -2095,11 +2476,21 @@ def ActualNumWfms(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualNumWfms', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ActualNumWfms', niscope__pb2.ActualNumWfmsRequest.SerializeToString, niscope__pb2.ActualNumWfmsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ActualMeasWfmSize(request, @@ -2112,11 +2503,21 @@ def ActualMeasWfmSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualMeasWfmSize', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ActualMeasWfmSize', niscope__pb2.ActualMeasWfmSizeRequest.SerializeToString, niscope__pb2.ActualMeasWfmSizeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ActualRecordLength(request, @@ -2129,11 +2530,21 @@ def ActualRecordLength(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualRecordLength', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ActualRecordLength', niscope__pb2.ActualRecordLengthRequest.SerializeToString, niscope__pb2.ActualRecordLengthResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SampleRate(request, @@ -2146,11 +2557,21 @@ def SampleRate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SampleRate', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SampleRate', niscope__pb2.SampleRateRequest.SerializeToString, niscope__pb2.SampleRateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SampleMode(request, @@ -2163,11 +2584,21 @@ def SampleMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SampleMode', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SampleMode', niscope__pb2.SampleModeRequest.SerializeToString, niscope__pb2.SampleModeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def AddWaveformProcessing(request, @@ -2180,11 +2611,21 @@ def AddWaveformProcessing(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AddWaveformProcessing', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/AddWaveformProcessing', niscope__pb2.AddWaveformProcessingRequest.SerializeToString, niscope__pb2.AddWaveformProcessingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearWaveformProcessing(request, @@ -2197,11 +2638,21 @@ def ClearWaveformProcessing(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ClearWaveformProcessing', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ClearWaveformProcessing', niscope__pb2.ClearWaveformProcessingRequest.SerializeToString, niscope__pb2.ClearWaveformProcessingResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearWaveformMeasurementStats(request, @@ -2214,11 +2665,21 @@ def ClearWaveformMeasurementStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', niscope__pb2.ClearWaveformMeasurementStatsRequest.SerializeToString, niscope__pb2.ClearWaveformMeasurementStatsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ReadMeasurement(request, @@ -2231,11 +2692,21 @@ def ReadMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ReadMeasurement', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ReadMeasurement', niscope__pb2.ReadMeasurementRequest.SerializeToString, niscope__pb2.ReadMeasurementResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchMeasurement(request, @@ -2248,11 +2719,21 @@ def FetchMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchMeasurement', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchMeasurement', niscope__pb2.FetchMeasurementRequest.SerializeToString, niscope__pb2.FetchMeasurementResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchMeasurementStats(request, @@ -2265,11 +2746,21 @@ def FetchMeasurementStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchMeasurementStats', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchMeasurementStats', niscope__pb2.FetchMeasurementStatsRequest.SerializeToString, niscope__pb2.FetchMeasurementStatsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def FetchArrayMeasurement(request, @@ -2282,11 +2773,21 @@ def FetchArrayMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchArrayMeasurement', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/FetchArrayMeasurement', niscope__pb2.FetchArrayMeasurementRequest.SerializeToString, niscope__pb2.FetchArrayMeasurementResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -2299,11 +2800,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Reset', niscope__pb2.ResetRequest.SerializeToString, niscope__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -2316,11 +2827,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SelfTest', niscope__pb2.SelfTestRequest.SerializeToString, niscope__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disable(request, @@ -2333,11 +2854,21 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Disable', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/Disable', niscope__pb2.DisableRequest.SerializeToString, niscope__pb2.DisableResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetDevice(request, @@ -2350,11 +2881,21 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ResetDevice', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ResetDevice', niscope__pb2.ResetDeviceRequest.SerializeToString, niscope__pb2.ResetDeviceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CalSelfCalibrate(request, @@ -2367,11 +2908,21 @@ def CalSelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalSelfCalibrate', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CalSelfCalibrate', niscope__pb2.CalSelfCalibrateRequest.SerializeToString, niscope__pb2.CalSelfCalibrateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RevisionQuery(request, @@ -2384,11 +2935,21 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/RevisionQuery', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/RevisionQuery', niscope__pb2.RevisionQueryRequest.SerializeToString, niscope__pb2.RevisionQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ProbeCompensationSignalStart(request, @@ -2401,11 +2962,21 @@ def ProbeCompensationSignalStart(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ProbeCompensationSignalStart', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ProbeCompensationSignalStart', niscope__pb2.ProbeCompensationSignalStartRequest.SerializeToString, niscope__pb2.ProbeCompensationSignalStartResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ProbeCompensationSignalStop(request, @@ -2418,11 +2989,21 @@ def ProbeCompensationSignalStop(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ProbeCompensationSignalStop', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ProbeCompensationSignalStop', niscope__pb2.ProbeCompensationSignalStopRequest.SerializeToString, niscope__pb2.ProbeCompensationSignalStopResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CableSenseSignalStart(request, @@ -2435,11 +3016,21 @@ def CableSenseSignalStart(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CableSenseSignalStart', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CableSenseSignalStart', niscope__pb2.CableSenseSignalStartRequest.SerializeToString, niscope__pb2.CableSenseSignalStartResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CableSenseSignalStop(request, @@ -2452,11 +3043,21 @@ def CableSenseSignalStop(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CableSenseSignalStop', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CableSenseSignalStop', niscope__pb2.CableSenseSignalStopRequest.SerializeToString, niscope__pb2.CableSenseSignalStopResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -2469,11 +3070,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetChannelName', niscope__pb2.GetChannelNameRequest.SerializeToString, niscope__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelNameFromString(request, @@ -2486,11 +3097,21 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetChannelNameFromString', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetChannelNameFromString', niscope__pb2.GetChannelNameFromStringRequest.SerializeToString, niscope__pb2.GetChannelNameFromStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorHandler(request, @@ -2503,11 +3124,21 @@ def ErrorHandler(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ErrorHandler', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ErrorHandler', niscope__pb2.ErrorHandlerRequest.SerializeToString, niscope__pb2.ErrorHandlerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -2520,11 +3151,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetError', niscope__pb2.GetErrorRequest.SerializeToString, niscope__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetErrorMessage(request, @@ -2537,11 +3178,21 @@ def GetErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetErrorMessage', niscope__pb2.GetErrorMessageRequest.SerializeToString, niscope__pb2.GetErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -2554,11 +3205,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViInt32', niscope__pb2.GetAttributeViInt32Request.SerializeToString, niscope__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -2571,11 +3232,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViInt32', niscope__pb2.SetAttributeViInt32Request.SerializeToString, niscope__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt32(request, @@ -2588,11 +3259,21 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViInt32', niscope__pb2.CheckAttributeViInt32Request.SerializeToString, niscope__pb2.CheckAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt64(request, @@ -2605,11 +3286,21 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViInt64', niscope__pb2.GetAttributeViInt64Request.SerializeToString, niscope__pb2.GetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt64(request, @@ -2622,11 +3313,21 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViInt64', niscope__pb2.SetAttributeViInt64Request.SerializeToString, niscope__pb2.SetAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt64(request, @@ -2639,11 +3340,21 @@ def CheckAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViInt64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViInt64', niscope__pb2.CheckAttributeViInt64Request.SerializeToString, niscope__pb2.CheckAttributeViInt64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -2656,11 +3367,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViReal64', niscope__pb2.GetAttributeViReal64Request.SerializeToString, niscope__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -2673,11 +3394,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViReal64', niscope__pb2.SetAttributeViReal64Request.SerializeToString, niscope__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViReal64(request, @@ -2690,11 +3421,21 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViReal64', niscope__pb2.CheckAttributeViReal64Request.SerializeToString, niscope__pb2.CheckAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -2707,11 +3448,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViString', niscope__pb2.GetAttributeViStringRequest.SerializeToString, niscope__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -2724,11 +3475,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViString', niscope__pb2.SetAttributeViStringRequest.SerializeToString, niscope__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViString(request, @@ -2741,11 +3502,21 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViString', niscope__pb2.CheckAttributeViStringRequest.SerializeToString, niscope__pb2.CheckAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -2758,11 +3529,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViSession', niscope__pb2.GetAttributeViSessionRequest.SerializeToString, niscope__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -2775,11 +3556,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViSession', niscope__pb2.SetAttributeViSessionRequest.SerializeToString, niscope__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViSession(request, @@ -2792,11 +3583,21 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViSession', niscope__pb2.CheckAttributeViSessionRequest.SerializeToString, niscope__pb2.CheckAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -2809,11 +3610,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetAttributeViBoolean', niscope__pb2.GetAttributeViBooleanRequest.SerializeToString, niscope__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -2826,11 +3637,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/SetAttributeViBoolean', niscope__pb2.SetAttributeViBooleanRequest.SerializeToString, niscope__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViBoolean(request, @@ -2843,11 +3664,21 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CheckAttributeViBoolean', niscope__pb2.CheckAttributeViBooleanRequest.SerializeToString, niscope__pb2.CheckAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -2860,11 +3691,21 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', niscope__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, niscope__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -2877,11 +3718,21 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', niscope__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, niscope__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ImportAttributeConfigurationFile(request, @@ -2894,11 +3745,21 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', niscope__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, niscope__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ExportAttributeConfigurationFile(request, @@ -2911,11 +3772,21 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', niscope__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, niscope__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetScalingCoefficients(request, @@ -2928,11 +3799,21 @@ def GetScalingCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetScalingCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetScalingCoefficients', niscope__pb2.GetScalingCoefficientsRequest.SerializeToString, niscope__pb2.GetScalingCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetNormalizationCoefficients(request, @@ -2945,11 +3826,21 @@ def GetNormalizationCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetNormalizationCoefficients', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetNormalizationCoefficients', niscope__pb2.GetNormalizationCoefficientsRequest.SerializeToString, niscope__pb2.GetNormalizationCoefficientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetStreamEndpointHandle(request, @@ -2962,11 +3853,21 @@ def GetStreamEndpointHandle(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetStreamEndpointHandle', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/GetStreamEndpointHandle', niscope__pb2.GetStreamEndpointHandleRequest.SerializeToString, niscope__pb2.GetStreamEndpointHandleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CalFetchDate(request, @@ -2979,11 +3880,21 @@ def CalFetchDate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalFetchDate', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CalFetchDate', niscope__pb2.CalFetchDateRequest.SerializeToString, niscope__pb2.CalFetchDateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CalFetchTemperature(request, @@ -2996,8 +3907,18 @@ def CalFetchTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalFetchTemperature', + return grpc.experimental.unary_unary( + request, + target, + '/niscope_grpc.NiScope/CalFetchTemperature', niscope__pb2.CalFetchTemperatureRequest.SerializeToString, niscope__pb2.CalFetchTemperatureResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/niscope/niscope/session_pb2.py b/generated/niscope/niscope/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/niscope/niscope/session_pb2.py +++ b/generated/niscope/niscope/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/niscope/niscope/session_pb2_grpc.py b/generated/niscope/niscope/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/niscope/niscope/session_pb2_grpc.py +++ b/generated/niscope/niscope/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/niscope/setup.py b/generated/niscope/setup.py index 0a414d18a..2f61e270d 100644 --- a/generated/niscope/setup.py +++ b/generated/niscope/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/niswitch/niswitch/nidevice_pb2.py b/generated/niswitch/niswitch/nidevice_pb2.py index d7fff4491..749a8a382 100644 --- a/generated/niswitch/niswitch/nidevice_pb2.py +++ b/generated/niswitch/niswitch/nidevice_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'nidevice.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/niswitch/niswitch/nidevice_pb2_grpc.py b/generated/niswitch/niswitch/nidevice_pb2_grpc.py index 2daafffeb..a47481917 100644 --- a/generated/niswitch/niswitch/nidevice_pb2_grpc.py +++ b/generated/niswitch/niswitch/nidevice_pb2_grpc.py @@ -1,4 +1,24 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings + +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in nidevice_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) diff --git a/generated/niswitch/niswitch/niswitch_pb2.py b/generated/niswitch/niswitch/niswitch_pb2.py index 93eb370f8..4cda6bcd4 100644 --- a/generated/niswitch/niswitch/niswitch_pb2.py +++ b/generated/niswitch/niswitch/niswitch_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: niswitch.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'niswitch.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,17 +30,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'niswitch_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\024com.ni.grpc.niswitchB\010NiSwitchP\001\252\002\037NationalInstruments.Grpc.Switch' - _NISWITCHINT32ATTRIBUTEVALUES._options = None - _NISWITCHINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' - _INITRESPONSE.fields_by_name['error_message']._options = None - _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None - _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' - _INITWITHTOPOLOGYRESPONSE.fields_by_name['error_message']._options = None - _INITWITHTOPOLOGYRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\024com.ni.grpc.niswitchB\010NiSwitchP\001\252\002\037NationalInstruments.Grpc.Switch' + _globals['_NISWITCHINT32ATTRIBUTEVALUES']._loaded_options = None + _globals['_NISWITCHINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' + _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' + _globals['_INITWITHTOPOLOGYRESPONSE'].fields_by_name['error_message']._loaded_options = None + _globals['_INITWITHTOPOLOGYRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NISWITCHATTRIBUTE']._serialized_start=11126 _globals['_NISWITCHATTRIBUTE']._serialized_end=14118 _globals['_HANDSHAKINGINITIATION']._serialized_start=14121 diff --git a/generated/niswitch/niswitch/niswitch_pb2_grpc.py b/generated/niswitch/niswitch/niswitch_pb2_grpc.py index 9ccf9ea65..00b7350ef 100644 --- a/generated/niswitch/niswitch/niswitch_pb2_grpc.py +++ b/generated/niswitch/niswitch/niswitch_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import niswitch_pb2 as niswitch__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in niswitch_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class NiSwitchStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,302 +38,302 @@ def __init__(self, channel): '/niswitch_grpc.NiSwitch/AbortScan', request_serializer=niswitch__pb2.AbortScanRequest.SerializeToString, response_deserializer=niswitch__pb2.AbortScanResponse.FromString, - ) + _registered_method=True) self.CanConnect = channel.unary_unary( '/niswitch_grpc.NiSwitch/CanConnect', request_serializer=niswitch__pb2.CanConnectRequest.SerializeToString, response_deserializer=niswitch__pb2.CanConnectResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', request_serializer=niswitch__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', request_serializer=niswitch__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViInt32Response.FromString, - ) + _registered_method=True) self.CheckAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', request_serializer=niswitch__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViReal64Response.FromString, - ) + _registered_method=True) self.CheckAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViSession', request_serializer=niswitch__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.CheckAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViString', request_serializer=niswitch__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViStringResponse.FromString, - ) + _registered_method=True) self.ClearError = channel.unary_unary( '/niswitch_grpc.NiSwitch/ClearError', request_serializer=niswitch__pb2.ClearErrorRequest.SerializeToString, response_deserializer=niswitch__pb2.ClearErrorResponse.FromString, - ) + _registered_method=True) self.ClearInterchangeWarnings = channel.unary_unary( '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', request_serializer=niswitch__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=niswitch__pb2.ClearInterchangeWarningsResponse.FromString, - ) + _registered_method=True) self.Close = channel.unary_unary( '/niswitch_grpc.NiSwitch/Close', request_serializer=niswitch__pb2.CloseRequest.SerializeToString, response_deserializer=niswitch__pb2.CloseResponse.FromString, - ) + _registered_method=True) self.Commit = channel.unary_unary( '/niswitch_grpc.NiSwitch/Commit', request_serializer=niswitch__pb2.CommitRequest.SerializeToString, response_deserializer=niswitch__pb2.CommitResponse.FromString, - ) + _registered_method=True) self.ConfigureScanList = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConfigureScanList', request_serializer=niswitch__pb2.ConfigureScanListRequest.SerializeToString, response_deserializer=niswitch__pb2.ConfigureScanListResponse.FromString, - ) + _registered_method=True) self.ConfigureScanTrigger = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', request_serializer=niswitch__pb2.ConfigureScanTriggerRequest.SerializeToString, response_deserializer=niswitch__pb2.ConfigureScanTriggerResponse.FromString, - ) + _registered_method=True) self.Connect = channel.unary_unary( '/niswitch_grpc.NiSwitch/Connect', request_serializer=niswitch__pb2.ConnectRequest.SerializeToString, response_deserializer=niswitch__pb2.ConnectResponse.FromString, - ) + _registered_method=True) self.ConnectMultiple = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConnectMultiple', request_serializer=niswitch__pb2.ConnectMultipleRequest.SerializeToString, response_deserializer=niswitch__pb2.ConnectMultipleResponse.FromString, - ) + _registered_method=True) self.Disable = channel.unary_unary( '/niswitch_grpc.NiSwitch/Disable', request_serializer=niswitch__pb2.DisableRequest.SerializeToString, response_deserializer=niswitch__pb2.DisableResponse.FromString, - ) + _registered_method=True) self.Disconnect = channel.unary_unary( '/niswitch_grpc.NiSwitch/Disconnect', request_serializer=niswitch__pb2.DisconnectRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectResponse.FromString, - ) + _registered_method=True) self.DisconnectAll = channel.unary_unary( '/niswitch_grpc.NiSwitch/DisconnectAll', request_serializer=niswitch__pb2.DisconnectAllRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectAllResponse.FromString, - ) + _registered_method=True) self.DisconnectMultiple = channel.unary_unary( '/niswitch_grpc.NiSwitch/DisconnectMultiple', request_serializer=niswitch__pb2.DisconnectMultipleRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectMultipleResponse.FromString, - ) + _registered_method=True) self.ErrorMessage = channel.unary_unary( '/niswitch_grpc.NiSwitch/ErrorMessage', request_serializer=niswitch__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=niswitch__pb2.ErrorMessageResponse.FromString, - ) + _registered_method=True) self.ErrorQuery = channel.unary_unary( '/niswitch_grpc.NiSwitch/ErrorQuery', request_serializer=niswitch__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=niswitch__pb2.ErrorQueryResponse.FromString, - ) + _registered_method=True) self.GetAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', request_serializer=niswitch__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.GetAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViInt32', request_serializer=niswitch__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.GetAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViReal64', request_serializer=niswitch__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.GetAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViSession', request_serializer=niswitch__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.GetAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViString', request_serializer=niswitch__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.GetChannelName = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetChannelName', request_serializer=niswitch__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=niswitch__pb2.GetChannelNameResponse.FromString, - ) + _registered_method=True) self.GetError = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetError', request_serializer=niswitch__pb2.GetErrorRequest.SerializeToString, response_deserializer=niswitch__pb2.GetErrorResponse.FromString, - ) + _registered_method=True) self.GetNextCoercionRecord = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', request_serializer=niswitch__pb2.GetNextCoercionRecordRequest.SerializeToString, response_deserializer=niswitch__pb2.GetNextCoercionRecordResponse.FromString, - ) + _registered_method=True) self.GetNextInterchangeWarning = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', request_serializer=niswitch__pb2.GetNextInterchangeWarningRequest.SerializeToString, response_deserializer=niswitch__pb2.GetNextInterchangeWarningResponse.FromString, - ) + _registered_method=True) self.GetPath = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetPath', request_serializer=niswitch__pb2.GetPathRequest.SerializeToString, response_deserializer=niswitch__pb2.GetPathResponse.FromString, - ) + _registered_method=True) self.GetRelayCount = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayCount', request_serializer=niswitch__pb2.GetRelayCountRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayCountResponse.FromString, - ) + _registered_method=True) self.GetRelayName = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayName', request_serializer=niswitch__pb2.GetRelayNameRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayNameResponse.FromString, - ) + _registered_method=True) self.GetRelayPosition = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayPosition', request_serializer=niswitch__pb2.GetRelayPositionRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayPositionResponse.FromString, - ) + _registered_method=True) self.Init = channel.unary_unary( '/niswitch_grpc.NiSwitch/Init', request_serializer=niswitch__pb2.InitRequest.SerializeToString, response_deserializer=niswitch__pb2.InitResponse.FromString, - ) + _registered_method=True) self.InitWithOptions = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitWithOptions', request_serializer=niswitch__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=niswitch__pb2.InitWithOptionsResponse.FromString, - ) + _registered_method=True) self.InitWithTopology = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitWithTopology', request_serializer=niswitch__pb2.InitWithTopologyRequest.SerializeToString, response_deserializer=niswitch__pb2.InitWithTopologyResponse.FromString, - ) + _registered_method=True) self.InitiateScan = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitiateScan', request_serializer=niswitch__pb2.InitiateScanRequest.SerializeToString, response_deserializer=niswitch__pb2.InitiateScanResponse.FromString, - ) + _registered_method=True) self.InvalidateAllAttributes = channel.unary_unary( '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', request_serializer=niswitch__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=niswitch__pb2.InvalidateAllAttributesResponse.FromString, - ) + _registered_method=True) self.IsDebounced = channel.unary_unary( '/niswitch_grpc.NiSwitch/IsDebounced', request_serializer=niswitch__pb2.IsDebouncedRequest.SerializeToString, response_deserializer=niswitch__pb2.IsDebouncedResponse.FromString, - ) + _registered_method=True) self.IsScanning = channel.unary_unary( '/niswitch_grpc.NiSwitch/IsScanning', request_serializer=niswitch__pb2.IsScanningRequest.SerializeToString, response_deserializer=niswitch__pb2.IsScanningResponse.FromString, - ) + _registered_method=True) self.RelayControl = channel.unary_unary( '/niswitch_grpc.NiSwitch/RelayControl', request_serializer=niswitch__pb2.RelayControlRequest.SerializeToString, response_deserializer=niswitch__pb2.RelayControlResponse.FromString, - ) + _registered_method=True) self.Reset = channel.unary_unary( '/niswitch_grpc.NiSwitch/Reset', request_serializer=niswitch__pb2.ResetRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetResponse.FromString, - ) + _registered_method=True) self.ResetInterchangeCheck = channel.unary_unary( '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', request_serializer=niswitch__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetInterchangeCheckResponse.FromString, - ) + _registered_method=True) self.ResetWithDefaults = channel.unary_unary( '/niswitch_grpc.NiSwitch/ResetWithDefaults', request_serializer=niswitch__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetWithDefaultsResponse.FromString, - ) + _registered_method=True) self.RevisionQuery = channel.unary_unary( '/niswitch_grpc.NiSwitch/RevisionQuery', request_serializer=niswitch__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=niswitch__pb2.RevisionQueryResponse.FromString, - ) + _registered_method=True) self.RouteScanAdvancedOutput = channel.unary_unary( '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', request_serializer=niswitch__pb2.RouteScanAdvancedOutputRequest.SerializeToString, response_deserializer=niswitch__pb2.RouteScanAdvancedOutputResponse.FromString, - ) + _registered_method=True) self.RouteTriggerInput = channel.unary_unary( '/niswitch_grpc.NiSwitch/RouteTriggerInput', request_serializer=niswitch__pb2.RouteTriggerInputRequest.SerializeToString, response_deserializer=niswitch__pb2.RouteTriggerInputResponse.FromString, - ) + _registered_method=True) self.Scan = channel.unary_unary( '/niswitch_grpc.NiSwitch/Scan', request_serializer=niswitch__pb2.ScanRequest.SerializeToString, response_deserializer=niswitch__pb2.ScanResponse.FromString, - ) + _registered_method=True) self.SelfTest = channel.unary_unary( '/niswitch_grpc.NiSwitch/SelfTest', request_serializer=niswitch__pb2.SelfTestRequest.SerializeToString, response_deserializer=niswitch__pb2.SelfTestResponse.FromString, - ) + _registered_method=True) self.SendSoftwareTrigger = channel.unary_unary( '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', request_serializer=niswitch__pb2.SendSoftwareTriggerRequest.SerializeToString, response_deserializer=niswitch__pb2.SendSoftwareTriggerResponse.FromString, - ) + _registered_method=True) self.SetAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', request_serializer=niswitch__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViBooleanResponse.FromString, - ) + _registered_method=True) self.SetAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViInt32', request_serializer=niswitch__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViInt32Response.FromString, - ) + _registered_method=True) self.SetAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViReal64', request_serializer=niswitch__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViReal64Response.FromString, - ) + _registered_method=True) self.SetAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViSession', request_serializer=niswitch__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViSessionResponse.FromString, - ) + _registered_method=True) self.SetAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViString', request_serializer=niswitch__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViStringResponse.FromString, - ) + _registered_method=True) self.SetContinuousScan = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetContinuousScan', request_serializer=niswitch__pb2.SetContinuousScanRequest.SerializeToString, response_deserializer=niswitch__pb2.SetContinuousScanResponse.FromString, - ) + _registered_method=True) self.SetPath = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetPath', request_serializer=niswitch__pb2.SetPathRequest.SerializeToString, response_deserializer=niswitch__pb2.SetPathResponse.FromString, - ) + _registered_method=True) self.WaitForDebounce = channel.unary_unary( '/niswitch_grpc.NiSwitch/WaitForDebounce', request_serializer=niswitch__pb2.WaitForDebounceRequest.SerializeToString, response_deserializer=niswitch__pb2.WaitForDebounceResponse.FromString, - ) + _registered_method=True) self.WaitForScanComplete = channel.unary_unary( '/niswitch_grpc.NiSwitch/WaitForScanComplete', request_serializer=niswitch__pb2.WaitForScanCompleteRequest.SerializeToString, response_deserializer=niswitch__pb2.WaitForScanCompleteResponse.FromString, - ) + _registered_method=True) class NiSwitchServicer(object): @@ -986,6 +1006,7 @@ def add_NiSwitchServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'niswitch_grpc.NiSwitch', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('niswitch_grpc.NiSwitch', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1003,11 +1024,21 @@ def AbortScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/AbortScan', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/AbortScan', niswitch__pb2.AbortScanRequest.SerializeToString, niswitch__pb2.AbortScanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CanConnect(request, @@ -1020,11 +1051,21 @@ def CanConnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CanConnect', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CanConnect', niswitch__pb2.CanConnectRequest.SerializeToString, niswitch__pb2.CanConnectResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViBoolean(request, @@ -1037,11 +1078,21 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', niswitch__pb2.CheckAttributeViBooleanRequest.SerializeToString, niswitch__pb2.CheckAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViInt32(request, @@ -1054,11 +1105,21 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', niswitch__pb2.CheckAttributeViInt32Request.SerializeToString, niswitch__pb2.CheckAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViReal64(request, @@ -1071,11 +1132,21 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', niswitch__pb2.CheckAttributeViReal64Request.SerializeToString, niswitch__pb2.CheckAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViSession(request, @@ -1088,11 +1159,21 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CheckAttributeViSession', niswitch__pb2.CheckAttributeViSessionRequest.SerializeToString, niswitch__pb2.CheckAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def CheckAttributeViString(request, @@ -1105,11 +1186,21 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/CheckAttributeViString', niswitch__pb2.CheckAttributeViStringRequest.SerializeToString, niswitch__pb2.CheckAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearError(request, @@ -1122,11 +1213,21 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ClearError', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ClearError', niswitch__pb2.ClearErrorRequest.SerializeToString, niswitch__pb2.ClearErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ClearInterchangeWarnings(request, @@ -1139,11 +1240,21 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', niswitch__pb2.ClearInterchangeWarningsRequest.SerializeToString, niswitch__pb2.ClearInterchangeWarningsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Close(request, @@ -1156,11 +1267,21 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Close', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Close', niswitch__pb2.CloseRequest.SerializeToString, niswitch__pb2.CloseResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Commit(request, @@ -1173,11 +1294,21 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Commit', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Commit', niswitch__pb2.CommitRequest.SerializeToString, niswitch__pb2.CommitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureScanList(request, @@ -1190,11 +1321,21 @@ def ConfigureScanList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConfigureScanList', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ConfigureScanList', niswitch__pb2.ConfigureScanListRequest.SerializeToString, niswitch__pb2.ConfigureScanListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConfigureScanTrigger(request, @@ -1207,11 +1348,21 @@ def ConfigureScanTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', niswitch__pb2.ConfigureScanTriggerRequest.SerializeToString, niswitch__pb2.ConfigureScanTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Connect(request, @@ -1224,11 +1375,21 @@ def Connect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Connect', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Connect', niswitch__pb2.ConnectRequest.SerializeToString, niswitch__pb2.ConnectResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ConnectMultiple(request, @@ -1241,11 +1402,21 @@ def ConnectMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConnectMultiple', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ConnectMultiple', niswitch__pb2.ConnectMultipleRequest.SerializeToString, niswitch__pb2.ConnectMultipleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disable(request, @@ -1258,11 +1429,21 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Disable', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Disable', niswitch__pb2.DisableRequest.SerializeToString, niswitch__pb2.DisableResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Disconnect(request, @@ -1275,11 +1456,21 @@ def Disconnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Disconnect', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Disconnect', niswitch__pb2.DisconnectRequest.SerializeToString, niswitch__pb2.DisconnectResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisconnectAll(request, @@ -1292,11 +1483,21 @@ def DisconnectAll(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/DisconnectAll', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/DisconnectAll', niswitch__pb2.DisconnectAllRequest.SerializeToString, niswitch__pb2.DisconnectAllResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def DisconnectMultiple(request, @@ -1309,11 +1510,21 @@ def DisconnectMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/DisconnectMultiple', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/DisconnectMultiple', niswitch__pb2.DisconnectMultipleRequest.SerializeToString, niswitch__pb2.DisconnectMultipleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorMessage(request, @@ -1326,11 +1537,21 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ErrorMessage', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ErrorMessage', niswitch__pb2.ErrorMessageRequest.SerializeToString, niswitch__pb2.ErrorMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ErrorQuery(request, @@ -1343,11 +1564,21 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ErrorQuery', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ErrorQuery', niswitch__pb2.ErrorQueryRequest.SerializeToString, niswitch__pb2.ErrorQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViBoolean(request, @@ -1360,11 +1591,21 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', niswitch__pb2.GetAttributeViBooleanRequest.SerializeToString, niswitch__pb2.GetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViInt32(request, @@ -1377,11 +1618,21 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetAttributeViInt32', niswitch__pb2.GetAttributeViInt32Request.SerializeToString, niswitch__pb2.GetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViReal64(request, @@ -1394,11 +1645,21 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetAttributeViReal64', niswitch__pb2.GetAttributeViReal64Request.SerializeToString, niswitch__pb2.GetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViSession(request, @@ -1411,11 +1672,21 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetAttributeViSession', niswitch__pb2.GetAttributeViSessionRequest.SerializeToString, niswitch__pb2.GetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetAttributeViString(request, @@ -1428,11 +1699,21 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetAttributeViString', niswitch__pb2.GetAttributeViStringRequest.SerializeToString, niswitch__pb2.GetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetChannelName(request, @@ -1445,11 +1726,21 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetChannelName', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetChannelName', niswitch__pb2.GetChannelNameRequest.SerializeToString, niswitch__pb2.GetChannelNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetError(request, @@ -1462,11 +1753,21 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetError', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetError', niswitch__pb2.GetErrorRequest.SerializeToString, niswitch__pb2.GetErrorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetNextCoercionRecord(request, @@ -1479,11 +1780,21 @@ def GetNextCoercionRecord(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', niswitch__pb2.GetNextCoercionRecordRequest.SerializeToString, niswitch__pb2.GetNextCoercionRecordResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetNextInterchangeWarning(request, @@ -1496,11 +1807,21 @@ def GetNextInterchangeWarning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', niswitch__pb2.GetNextInterchangeWarningRequest.SerializeToString, niswitch__pb2.GetNextInterchangeWarningResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetPath(request, @@ -1513,11 +1834,21 @@ def GetPath(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetPath', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetPath', niswitch__pb2.GetPathRequest.SerializeToString, niswitch__pb2.GetPathResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetRelayCount(request, @@ -1530,11 +1861,21 @@ def GetRelayCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayCount', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetRelayCount', niswitch__pb2.GetRelayCountRequest.SerializeToString, niswitch__pb2.GetRelayCountResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetRelayName(request, @@ -1547,11 +1888,21 @@ def GetRelayName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayName', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetRelayName', niswitch__pb2.GetRelayNameRequest.SerializeToString, niswitch__pb2.GetRelayNameResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetRelayPosition(request, @@ -1564,11 +1915,21 @@ def GetRelayPosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayPosition', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/GetRelayPosition', niswitch__pb2.GetRelayPositionRequest.SerializeToString, niswitch__pb2.GetRelayPositionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Init(request, @@ -1581,11 +1942,21 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Init', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Init', niswitch__pb2.InitRequest.SerializeToString, niswitch__pb2.InitResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithOptions(request, @@ -1598,11 +1969,21 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitWithOptions', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/InitWithOptions', niswitch__pb2.InitWithOptionsRequest.SerializeToString, niswitch__pb2.InitWithOptionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitWithTopology(request, @@ -1615,11 +1996,21 @@ def InitWithTopology(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitWithTopology', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/InitWithTopology', niswitch__pb2.InitWithTopologyRequest.SerializeToString, niswitch__pb2.InitWithTopologyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InitiateScan(request, @@ -1632,11 +2023,21 @@ def InitiateScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitiateScan', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/InitiateScan', niswitch__pb2.InitiateScanRequest.SerializeToString, niswitch__pb2.InitiateScanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def InvalidateAllAttributes(request, @@ -1649,11 +2050,21 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', niswitch__pb2.InvalidateAllAttributesRequest.SerializeToString, niswitch__pb2.InvalidateAllAttributesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsDebounced(request, @@ -1666,11 +2077,21 @@ def IsDebounced(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/IsDebounced', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/IsDebounced', niswitch__pb2.IsDebouncedRequest.SerializeToString, niswitch__pb2.IsDebouncedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsScanning(request, @@ -1683,11 +2104,21 @@ def IsScanning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/IsScanning', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/IsScanning', niswitch__pb2.IsScanningRequest.SerializeToString, niswitch__pb2.IsScanningResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RelayControl(request, @@ -1700,11 +2131,21 @@ def RelayControl(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RelayControl', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/RelayControl', niswitch__pb2.RelayControlRequest.SerializeToString, niswitch__pb2.RelayControlResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reset(request, @@ -1717,11 +2158,21 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Reset', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Reset', niswitch__pb2.ResetRequest.SerializeToString, niswitch__pb2.ResetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetInterchangeCheck(request, @@ -1734,11 +2185,21 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', niswitch__pb2.ResetInterchangeCheckRequest.SerializeToString, niswitch__pb2.ResetInterchangeCheckResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetWithDefaults(request, @@ -1751,11 +2212,21 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ResetWithDefaults', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/ResetWithDefaults', niswitch__pb2.ResetWithDefaultsRequest.SerializeToString, niswitch__pb2.ResetWithDefaultsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RevisionQuery(request, @@ -1768,11 +2239,21 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RevisionQuery', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/RevisionQuery', niswitch__pb2.RevisionQueryRequest.SerializeToString, niswitch__pb2.RevisionQueryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RouteScanAdvancedOutput(request, @@ -1785,11 +2266,21 @@ def RouteScanAdvancedOutput(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', niswitch__pb2.RouteScanAdvancedOutputRequest.SerializeToString, niswitch__pb2.RouteScanAdvancedOutputResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def RouteTriggerInput(request, @@ -1802,11 +2293,21 @@ def RouteTriggerInput(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RouteTriggerInput', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/RouteTriggerInput', niswitch__pb2.RouteTriggerInputRequest.SerializeToString, niswitch__pb2.RouteTriggerInputResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Scan(request, @@ -1819,11 +2320,21 @@ def Scan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Scan', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/Scan', niswitch__pb2.ScanRequest.SerializeToString, niswitch__pb2.ScanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SelfTest(request, @@ -1836,11 +2347,21 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SelfTest', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SelfTest', niswitch__pb2.SelfTestRequest.SerializeToString, niswitch__pb2.SelfTestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendSoftwareTrigger(request, @@ -1853,11 +2374,21 @@ def SendSoftwareTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', niswitch__pb2.SendSoftwareTriggerRequest.SerializeToString, niswitch__pb2.SendSoftwareTriggerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViBoolean(request, @@ -1870,11 +2401,21 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', niswitch__pb2.SetAttributeViBooleanRequest.SerializeToString, niswitch__pb2.SetAttributeViBooleanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViInt32(request, @@ -1887,11 +2428,21 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViInt32', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetAttributeViInt32', niswitch__pb2.SetAttributeViInt32Request.SerializeToString, niswitch__pb2.SetAttributeViInt32Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViReal64(request, @@ -1904,11 +2455,21 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViReal64', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetAttributeViReal64', niswitch__pb2.SetAttributeViReal64Request.SerializeToString, niswitch__pb2.SetAttributeViReal64Response.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViSession(request, @@ -1921,11 +2482,21 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViSession', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetAttributeViSession', niswitch__pb2.SetAttributeViSessionRequest.SerializeToString, niswitch__pb2.SetAttributeViSessionResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetAttributeViString(request, @@ -1938,11 +2509,21 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViString', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetAttributeViString', niswitch__pb2.SetAttributeViStringRequest.SerializeToString, niswitch__pb2.SetAttributeViStringResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetContinuousScan(request, @@ -1955,11 +2536,21 @@ def SetContinuousScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetContinuousScan', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetContinuousScan', niswitch__pb2.SetContinuousScanRequest.SerializeToString, niswitch__pb2.SetContinuousScanResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetPath(request, @@ -1972,11 +2563,21 @@ def SetPath(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetPath', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/SetPath', niswitch__pb2.SetPathRequest.SerializeToString, niswitch__pb2.SetPathResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitForDebounce(request, @@ -1989,11 +2590,21 @@ def WaitForDebounce(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/WaitForDebounce', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/WaitForDebounce', niswitch__pb2.WaitForDebounceRequest.SerializeToString, niswitch__pb2.WaitForDebounceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def WaitForScanComplete(request, @@ -2006,8 +2617,18 @@ def WaitForScanComplete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/WaitForScanComplete', + return grpc.experimental.unary_unary( + request, + target, + '/niswitch_grpc.NiSwitch/WaitForScanComplete', niswitch__pb2.WaitForScanCompleteRequest.SerializeToString, niswitch__pb2.WaitForScanCompleteResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/niswitch/niswitch/session_pb2.py b/generated/niswitch/niswitch/session_pb2.py index 73b79bf26..6a02f7692 100644 --- a/generated/niswitch/niswitch/session_pb2.py +++ b/generated/niswitch/niswitch/session_pb2.py @@ -1,11 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'session.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,9 +29,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/niswitch/niswitch/session_pb2_grpc.py b/generated/niswitch/niswitch/session_pb2_grpc.py index 28709265d..da6e0f991 100644 --- a/generated/niswitch/niswitch/session_pb2_grpc.py +++ b/generated/niswitch/niswitch/session_pb2_grpc.py @@ -1,9 +1,29 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings from . import session_pb2 as session__pb2 +GRPC_GENERATED_VERSION = '1.67.0' +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in session_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + ) + class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -18,27 +38,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - ) + _registered_method=True) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - ) + _registered_method=True) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - ) + _registered_method=True) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - ) + _registered_method=True) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - ) + _registered_method=True) class SessionUtilitiesServicer(object): @@ -112,6 +132,7 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -129,11 +150,21 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Reserve(request, @@ -146,11 +177,21 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def IsReservedByClient(request, @@ -163,11 +204,21 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def Unreserve(request, @@ -180,11 +231,21 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetServer(request, @@ -197,8 +258,18 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary( + request, + target, + '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/generated/niswitch/setup.py b/generated/niswitch/setup.py index 23c8b89cb..04d9c59b2 100644 --- a/generated/niswitch/setup.py +++ b/generated/niswitch/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<5.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/tox-travis.ini b/tox-travis.ini index 292d1ac19..53d38d9b4 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -136,8 +136,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 - test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 + test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 + test: protobuf == 5.26.1 # Compatible with grpcio-tools 1.67.0 build_test: pytest build_test: coverage build_test: mako @@ -145,7 +145,7 @@ deps = build_test: pep8-naming codegen: mako codegen: packaging - codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12 + codegen: grpcio-tools == 1.67.0 # First version to support Python 3.13 installers: build flake8: hacking flake8: pep8-naming diff --git a/tox.ini b/tox.ini index eacce359f..f2622b95b 100644 --- a/tox.ini +++ b/tox.ini @@ -136,8 +136,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 - test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 + test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 + test: protobuf == 5.26.1 # Compatible with grpcio-tools 1.67.0 build_test: pytest build_test: coverage build_test: mako @@ -145,7 +145,7 @@ deps = build_test: pep8-naming codegen: mako codegen: packaging - codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12 + codegen: grpcio-tools == 1.67.0 # First version to support Python 3.13 installers: build flake8: hacking flake8: pep8-naming From 2eab1b40d934815b11c803eccb3859c23ccbd18f Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:09:04 -0600 Subject: [PATCH 03/10] Fix unit test failures --- tox-travis.ini | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tox-travis.ini b/tox-travis.ini index 53d38d9b4..08c451b7c 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -137,7 +137,7 @@ deps = test: numpy test: hightime test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 - test: protobuf == 5.26.1 # Compatible with grpcio-tools 1.67.0 + test: protobuf == 5.27.2 # Compatible with grpcio-tools 1.67.0 build_test: pytest build_test: coverage build_test: mako diff --git a/tox.ini b/tox.ini index f2622b95b..4631bae49 100644 --- a/tox.ini +++ b/tox.ini @@ -137,7 +137,7 @@ deps = test: numpy test: hightime test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 - test: protobuf == 5.26.1 # Compatible with grpcio-tools 1.67.0 + test: protobuf == 5.27.2 # Compatible with grpcio-tools 1.67.0 build_test: pytest build_test: coverage build_test: mako From 409fd5de480e1855a9b7fd176f1eb0e09ee51c78 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:10:23 -0600 Subject: [PATCH 04/10] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24b51fb89..f829835fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ All notable changes to this project will be documented in this file. ## Unreleased * ### ALL * #### Added + * Support for Python 3.13 * #### Changed * Fix [#2069](https://github.com/ni/nimi-python/issues/2069) * #### Removed From c461d6e6bc9299d715d206bf0b15fa72a2059409 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Sun, 16 Feb 2025 14:24:35 -0600 Subject: [PATCH 05/10] Use Python 3.12 as the primary version --- .travis.yml | 7 ++++--- build/templates/setup.py.mako | 2 +- tox-travis.ini | 24 +++++++++++++----------- tox.ini | 24 +++++++++++++----------- 4 files changed, 31 insertions(+), 26 deletions(-) diff --git a/.travis.yml b/.travis.yml index 198a2c1c4..26fa44565 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,14 @@ language: python dist: focal matrix: include: - # We run tests on the latest supported version of Python first. + # Historically, we've run tests on the latest supported version of Python first. + # For now, we're running Python 3.12 first, because it's the verions currently used for codegen. # This is where additional tests are run so we give it more time. - - python: "3.13" + - python: "3.12" - python: "3.9" - python: "3.10" - python: "3.11" - - python: "3.12" + - python: "3.13" install: - travis_retry sudo apt-get -y install python3-pip diff --git a/build/templates/setup.py.mako b/build/templates/setup.py.mako index 6c921be1c..4f424cbb3 100644 --- a/build/templates/setup.py.mako +++ b/build/templates/setup.py.mako @@ -46,7 +46,7 @@ setup( extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, % endif diff --git a/tox-travis.ini b/tox-travis.ini index 08c451b7c..999b5fd09 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -6,10 +6,12 @@ # tox.ini and tox-travis.ini are copies of the same content with different envlist commented out # tox-travis.ini will have pyXX-clean and all pyXX-installers in the default envlist, while the developer tox.ini # does not have clean and only has one pyXX-installers +# Historically we've used the latest Python for environments that we only list one Python for. For now, we're using Python 3.12 +# to avoid updating our pb2 files, which could possibly cause incompatibilities with other NI Python packages. # Uncomment this line for tox.ini -# envlist = py313-build_test,py313-codegen,py313-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg +# envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg # Uncomment this line for tox-travis.ini -envlist = py313-clean,py313-build_test,py313-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg +envlist = py312-clean,py312-build_test,py312-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg skip_missing_interpreters=True ignore_basepython_conflict=True skipsdist = true @@ -136,8 +138,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 - test: protobuf == 5.27.2 # Compatible with grpcio-tools 1.67.0 + test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 + test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 build_test: pytest build_test: coverage build_test: mako @@ -145,7 +147,7 @@ deps = build_test: pep8-naming codegen: mako codegen: packaging - codegen: grpcio-tools == 1.67.0 # First version to support Python 3.13 + codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12 installers: build flake8: hacking flake8: pep8-naming @@ -157,12 +159,12 @@ deps = pkg: twine depends = - codegen: py313-clean - installers: py313-codegen - flake8: py313-codegen - docs: py313-codegen - test: py313-installers - pkg: py313-installers + codegen: py312-clean + installers: py312-codegen + flake8: py312-codegen + docs: py312-codegen + test: py312-installers + pkg: py312-installers allowlist_externals = build_test: mv diff --git a/tox.ini b/tox.ini index 4631bae49..133817393 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,12 @@ # tox.ini and tox-travis.ini are copies of the same content with different envlist commented out # tox-travis.ini will have pyXX-clean and all pyXX-installers in the default envlist, while the developer tox.ini # does not have clean and only has one pyXX-installers +# Historically we've used the latest Python for environments that we only list one Python for. For now, we're using Python 3.12 +# to avoid updating our pb2 files, which could possibly cause incompatibilities with other NI Python packages. # Uncomment this line for tox.ini -envlist = py313-build_test,py313-codegen,py313-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg +envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg # Uncomment this line for tox-travis.ini -# envlist = py313-clean,py313-build_test,py313-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py313-flake8,py313-docs,py313-pkg +# envlist = py312-clean,py312-build_test,py312-codegen,py{39,310,311,312,313}-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg skip_missing_interpreters=True ignore_basepython_conflict=True skipsdist = true @@ -136,8 +138,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.67.0 # Compatible with grpcio-tools 1.67.0 - test: protobuf == 5.27.2 # Compatible with grpcio-tools 1.67.0 + test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 + test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 build_test: pytest build_test: coverage build_test: mako @@ -145,7 +147,7 @@ deps = build_test: pep8-naming codegen: mako codegen: packaging - codegen: grpcio-tools == 1.67.0 # First version to support Python 3.13 + codegen: grpcio-tools == 1.59.0 # First version to support Python 3.12 installers: build flake8: hacking flake8: pep8-naming @@ -157,12 +159,12 @@ deps = pkg: twine depends = - codegen: py313-clean - installers: py313-codegen - flake8: py313-codegen - docs: py313-codegen - test: py313-installers - pkg: py313-installers + codegen: py312-clean + installers: py312-codegen + flake8: py312-codegen + docs: py312-codegen + test: py312-installers + pkg: py312-installers allowlist_externals = build_test: mv From 7ca97df5cb97cbb5248624afe57fbfe492bcbaa0 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Sun, 16 Feb 2025 14:25:39 -0600 Subject: [PATCH 06/10] Rerun codegen --- .../nidcpower/nidcpower/nidcpower_pb2.py | 29 +- .../nidcpower/nidcpower/nidcpower_pb2_grpc.py | 2667 ++++------------- generated/nidcpower/nidcpower/nidevice_pb2.py | 17 +- .../nidcpower/nidcpower/nidevice_pb2_grpc.py | 20 - generated/nidcpower/nidcpower/session_pb2.py | 17 +- .../nidcpower/nidcpower/session_pb2_grpc.py | 111 +- generated/nidcpower/setup.py | 2 +- generated/nidigital/nidigital/nidevice_pb2.py | 17 +- .../nidigital/nidigital/nidevice_pb2_grpc.py | 20 - .../nidigital/nidigitalpattern_pb2.py | 25 +- .../nidigital/nidigitalpattern_pb2_grpc.py | 2361 ++++----------- generated/nidigital/nidigital/session_pb2.py | 17 +- .../nidigital/nidigital/session_pb2_grpc.py | 111 +- generated/nidigital/setup.py | 2 +- generated/nidmm/nidmm/nidevice_pb2.py | 17 +- generated/nidmm/nidmm/nidevice_pb2_grpc.py | 20 - generated/nidmm/nidmm/nidmm_pb2.py | 33 +- generated/nidmm/nidmm/nidmm_pb2_grpc.py | 1551 +++------- generated/nidmm/nidmm/session_pb2.py | 17 +- generated/nidmm/nidmm/session_pb2_grpc.py | 111 +- generated/nidmm/setup.py | 2 +- generated/nifake/nifake/nidevice_pb2.py | 17 +- generated/nifake/nifake/nidevice_pb2_grpc.py | 20 - generated/nifake/nifake/nifake_pb2.py | 25 +- generated/nifake/nifake/nifake_pb2_grpc.py | 1767 +++-------- generated/nifake/nifake/session_pb2.py | 17 +- generated/nifake/nifake/session_pb2_grpc.py | 111 +- generated/nifake/setup.py | 2 +- generated/nifgen/nifgen/nidevice_pb2.py | 17 +- generated/nifgen/nifgen/nidevice_pb2_grpc.py | 20 - generated/nifgen/nifgen/nifgen_pb2.py | 37 +- generated/nifgen/nifgen/nifgen_pb2_grpc.py | 2343 ++++----------- generated/nifgen/nifgen/session_pb2.py | 17 +- generated/nifgen/nifgen/session_pb2_grpc.py | 111 +- generated/nifgen/setup.py | 2 +- generated/niscope/niscope/nidevice_pb2.py | 17 +- .../niscope/niscope/nidevice_pb2_grpc.py | 20 - generated/niscope/niscope/niscope_pb2.py | 33 +- generated/niscope/niscope/niscope_pb2_grpc.py | 1641 +++------- generated/niscope/niscope/session_pb2.py | 17 +- generated/niscope/niscope/session_pb2_grpc.py | 111 +- generated/niscope/setup.py | 2 +- generated/niswitch/niswitch/nidevice_pb2.py | 17 +- .../niswitch/niswitch/nidevice_pb2_grpc.py | 20 - generated/niswitch/niswitch/niswitch_pb2.py | 33 +- .../niswitch/niswitch/niswitch_pb2_grpc.py | 1101 ++----- generated/niswitch/niswitch/session_pb2.py | 17 +- .../niswitch/niswitch/session_pb2_grpc.py | 111 +- generated/niswitch/setup.py | 2 +- 49 files changed, 3210 insertions(+), 11605 deletions(-) diff --git a/generated/nidcpower/nidcpower/nidcpower_pb2.py b/generated/nidcpower/nidcpower/nidcpower_pb2.py index 7f5a186d4..535f40c34 100644 --- a/generated/nidcpower/nidcpower/nidcpower_pb2.py +++ b/generated/nidcpower/nidcpower/nidcpower_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidcpower.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidcpower.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,15 +20,15 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidcpower_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.ni.grpc.dcpowerB\tNiDCPowerP\001\252\002 NationalInstruments.Grpc.DCPower' - _globals['_NIDCPOWERINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIDCPOWERINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\023com.ni.grpc.dcpowerB\tNiDCPowerP\001\252\002 NationalInstruments.Grpc.DCPower' + _NIDCPOWERINT32ATTRIBUTEVALUES._options = None + _NIDCPOWERINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._options = None + _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE.fields_by_name['error_message']._options = None + _INITIALIZEWITHINDEPENDENTCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDCPOWERATTRIBUTE']._serialized_start=28538 _globals['_NIDCPOWERATTRIBUTE']._serialized_end=40784 _globals['_CURRENTLIMITBEHAVIOR']._serialized_start=40787 diff --git a/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py b/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py index bfc17121d..79c2ea265 100644 --- a/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/nidcpower_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import nidcpower_pb2 as nidcpower__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidcpower_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiDCPowerStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,737 +18,737 @@ def __init__(self, channel): '/nidcpower_grpc.NiDCPower/InitializeWithChannels', request_serializer=nidcpower__pb2.InitializeWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitializeWithChannelsResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Close', request_serializer=nidcpower__pb2.CloseRequest.SerializeToString, response_deserializer=nidcpower__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.ConfigureSourceMode = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', request_serializer=nidcpower__pb2.ConfigureSourceModeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSourceModeResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputFunction = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', request_serializer=nidcpower__pb2.ConfigureOutputFunctionRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputFunctionResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputEnabled = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', request_serializer=nidcpower__pb2.ConfigureOutputEnabledRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputEnabledResponse.FromString, - _registered_method=True) + ) self.SetSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetSequence', request_serializer=nidcpower__pb2.SetSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetSequenceResponse.FromString, - _registered_method=True) + ) self.ConfigureVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', request_serializer=nidcpower__pb2.ConfigureVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLevelResponse.FromString, - _registered_method=True) + ) self.ConfigureCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', request_serializer=nidcpower__pb2.ConfigureCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLimitResponse.FromString, - _registered_method=True) + ) self.ConfigureVoltageLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', request_serializer=nidcpower__pb2.ConfigureVoltageLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLevelRangeResponse.FromString, - _registered_method=True) + ) self.ConfigureCurrentLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', request_serializer=nidcpower__pb2.ConfigureCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLimitRangeResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputResistance = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', request_serializer=nidcpower__pb2.ConfigureOutputResistanceRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOutputResistanceResponse.FromString, - _registered_method=True) + ) self.ConfigureCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', request_serializer=nidcpower__pb2.ConfigureCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLevelResponse.FromString, - _registered_method=True) + ) self.ConfigureCurrentLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', request_serializer=nidcpower__pb2.ConfigureCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureCurrentLevelRangeResponse.FromString, - _registered_method=True) + ) self.ConfigureVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', request_serializer=nidcpower__pb2.ConfigureVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLimitResponse.FromString, - _registered_method=True) + ) self.ConfigureVoltageLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', request_serializer=nidcpower__pb2.ConfigureVoltageLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureVoltageLimitRangeResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLevelResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLimitResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseBiasVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', request_serializer=nidcpower__pb2.ConfigurePulseBiasVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasVoltageLevelResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseBiasCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', request_serializer=nidcpower__pb2.ConfigurePulseBiasCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasCurrentLimitResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseVoltageLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLevelRangeResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseCurrentLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLimitRangeResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLevelResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLimitResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseBiasCurrentLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', request_serializer=nidcpower__pb2.ConfigurePulseBiasCurrentLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasCurrentLevelResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseBiasVoltageLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', request_serializer=nidcpower__pb2.ConfigurePulseBiasVoltageLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseBiasVoltageLimitResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseCurrentLevelRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', request_serializer=nidcpower__pb2.ConfigurePulseCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseCurrentLevelRangeResponse.FromString, - _registered_method=True) + ) self.ConfigurePulseVoltageLimitRange = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', request_serializer=nidcpower__pb2.ConfigurePulseVoltageLimitRangeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePulseVoltageLimitRangeResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', request_serializer=nidcpower__pb2.CreateAdvancedSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedSequenceStep = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', request_serializer=nidcpower__pb2.CreateAdvancedSequenceStepRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceStepResponse.FromString, - _registered_method=True) + ) self.DeleteAdvancedSequence = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', request_serializer=nidcpower__pb2.DeleteAdvancedSequenceRequest.SerializeToString, response_deserializer=nidcpower__pb2.DeleteAdvancedSequenceResponse.FromString, - _registered_method=True) + ) self.ConfigureApertureTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', request_serializer=nidcpower__pb2.ConfigureApertureTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureApertureTimeResponse.FromString, - _registered_method=True) + ) self.ConfigureAutoZero = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', request_serializer=nidcpower__pb2.ConfigureAutoZeroRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureAutoZeroResponse.FromString, - _registered_method=True) + ) self.ConfigurePowerLineFrequency = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', request_serializer=nidcpower__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigurePowerLineFrequencyResponse.FromString, - _registered_method=True) + ) self.ConfigureSense = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSense', request_serializer=nidcpower__pb2.ConfigureSenseRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSenseResponse.FromString, - _registered_method=True) + ) self.Measure = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Measure', request_serializer=nidcpower__pb2.MeasureRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureResponse.FromString, - _registered_method=True) + ) self.MeasureMultiple = channel.unary_unary( '/nidcpower_grpc.NiDCPower/MeasureMultiple', request_serializer=nidcpower__pb2.MeasureMultipleRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureMultipleResponse.FromString, - _registered_method=True) + ) self.FetchMultiple = channel.unary_unary( '/nidcpower_grpc.NiDCPower/FetchMultiple', request_serializer=nidcpower__pb2.FetchMultipleRequest.SerializeToString, response_deserializer=nidcpower__pb2.FetchMultipleResponse.FromString, - _registered_method=True) + ) self.MeasureMultipleLCR = channel.unary_unary( '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', request_serializer=nidcpower__pb2.MeasureMultipleLCRRequest.SerializeToString, response_deserializer=nidcpower__pb2.MeasureMultipleLCRResponse.FromString, - _registered_method=True) + ) self.FetchMultipleLCR = channel.unary_unary( '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', request_serializer=nidcpower__pb2.FetchMultipleLCRRequest.SerializeToString, response_deserializer=nidcpower__pb2.FetchMultipleLCRResponse.FromString, - _registered_method=True) + ) self.QueryInCompliance = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryInCompliance', request_serializer=nidcpower__pb2.QueryInComplianceRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryInComplianceResponse.FromString, - _registered_method=True) + ) self.QueryOutputState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryOutputState', request_serializer=nidcpower__pb2.QueryOutputStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryOutputStateResponse.FromString, - _registered_method=True) + ) self.QueryLatchedOutputCutoffState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', request_serializer=nidcpower__pb2.QueryLatchedOutputCutoffStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryLatchedOutputCutoffStateResponse.FromString, - _registered_method=True) + ) self.ClearLatchedOutputCutoffState = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', request_serializer=nidcpower__pb2.ClearLatchedOutputCutoffStateRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearLatchedOutputCutoffStateResponse.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Commit', request_serializer=nidcpower__pb2.CommitRequest.SerializeToString, response_deserializer=nidcpower__pb2.CommitResponse.FromString, - _registered_method=True) + ) self.Initiate = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Initiate', request_serializer=nidcpower__pb2.InitiateRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitiateResponse.FromString, - _registered_method=True) + ) self.Abort = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Abort', request_serializer=nidcpower__pb2.AbortRequest.SerializeToString, response_deserializer=nidcpower__pb2.AbortResponse.FromString, - _registered_method=True) + ) self.QueryMaxCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', request_serializer=nidcpower__pb2.QueryMaxCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMaxCurrentLimitResponse.FromString, - _registered_method=True) + ) self.QueryMaxVoltageLevel = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', request_serializer=nidcpower__pb2.QueryMaxVoltageLevelRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMaxVoltageLevelResponse.FromString, - _registered_method=True) + ) self.QueryMinCurrentLimit = channel.unary_unary( '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', request_serializer=nidcpower__pb2.QueryMinCurrentLimitRequest.SerializeToString, response_deserializer=nidcpower__pb2.QueryMinCurrentLimitResponse.FromString, - _registered_method=True) + ) self.CalSelfCalibrate = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', request_serializer=nidcpower__pb2.CalSelfCalibrateRequest.SerializeToString, response_deserializer=nidcpower__pb2.CalSelfCalibrateResponse.FromString, - _registered_method=True) + ) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', request_serializer=nidcpower__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalRecommendedIntervalResponse.FromString, - _registered_method=True) + ) self.GetExtCalLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', request_serializer=nidcpower__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalLastDateAndTimeResponse.FromString, - _registered_method=True) + ) self.ReadCurrentTemperature = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', request_serializer=nidcpower__pb2.ReadCurrentTemperatureRequest.SerializeToString, response_deserializer=nidcpower__pb2.ReadCurrentTemperatureResponse.FromString, - _registered_method=True) + ) self.GetExtCalLastTemp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', request_serializer=nidcpower__pb2.GetExtCalLastTempRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetExtCalLastTempResponse.FromString, - _registered_method=True) + ) self.GetSelfCalLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', request_serializer=nidcpower__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - _registered_method=True) + ) self.GetSelfCalLastTemp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', request_serializer=nidcpower__pb2.GetSelfCalLastTempRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetSelfCalLastTempResponse.FromString, - _registered_method=True) + ) self.GetLCRCompensationLastDateAndTime = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', request_serializer=nidcpower__pb2.GetLCRCompensationLastDateAndTimeRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCompensationLastDateAndTimeResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.DisableStartTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableStartTrigger', request_serializer=nidcpower__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerResponse.FromString, - _registered_method=True) + ) self.DisableSequenceAdvanceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', request_serializer=nidcpower__pb2.DisableSequenceAdvanceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSequenceAdvanceTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerResponse.FromString, - _registered_method=True) + ) self.DisableSourceTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', request_serializer=nidcpower__pb2.DisableSourceTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSourceTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeMeasureTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeMeasureTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', request_serializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerResponse.FromString, - _registered_method=True) + ) self.DisablePulseTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', request_serializer=nidcpower__pb2.DisablePulseTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisablePulseTriggerResponse.FromString, - _registered_method=True) + ) self.ExportSignal = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportSignal', request_serializer=nidcpower__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportSignalResponse.FromString, - _registered_method=True) + ) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', request_serializer=nidcpower__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nidcpower__pb2.SendSoftwareEdgeTriggerResponse.FromString, - _registered_method=True) + ) self.WaitForEvent = channel.unary_unary( '/nidcpower_grpc.NiDCPower/WaitForEvent', request_serializer=nidcpower__pb2.WaitForEventRequest.SerializeToString, response_deserializer=nidcpower__pb2.WaitForEventResponse.FromString, - _registered_method=True) + ) self.Disable = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Disable', request_serializer=nidcpower__pb2.DisableRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/nidcpower_grpc.NiDCPower/Reset', request_serializer=nidcpower__pb2.ResetRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.ResetDevice = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetDevice', request_serializer=nidcpower__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetDeviceResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SelfTest', request_serializer=nidcpower__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidcpower__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.RevisionQuery = channel.unary_unary( '/nidcpower_grpc.NiDCPower/RevisionQuery', request_serializer=nidcpower__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nidcpower__pb2.RevisionQueryResponse.FromString, - _registered_method=True) + ) self.ResetWithDefaults = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetWithDefaults', request_serializer=nidcpower__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetWithDefaultsResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetChannelName', request_serializer=nidcpower__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.GetChannelNameFromString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', request_serializer=nidcpower__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetChannelNameFromStringResponse.FromString, - _registered_method=True) + ) self.GetNextCoercionRecord = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', request_serializer=nidcpower__pb2.GetNextCoercionRecordRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetNextCoercionRecordResponse.FromString, - _registered_method=True) + ) self.ClearInterchangeWarnings = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', request_serializer=nidcpower__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearInterchangeWarningsResponse.FromString, - _registered_method=True) + ) self.ResetInterchangeCheck = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', request_serializer=nidcpower__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetInterchangeCheckResponse.FromString, - _registered_method=True) + ) self.GetNextInterchangeWarning = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', request_serializer=nidcpower__pb2.GetNextInterchangeWarningRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetNextInterchangeWarningResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetError', request_serializer=nidcpower__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.ClearError = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ClearError', request_serializer=nidcpower__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidcpower__pb2.ClearErrorResponse.FromString, - _registered_method=True) + ) self.ErrorMessage = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ErrorMessage', request_serializer=nidcpower__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nidcpower__pb2.ErrorMessageResponse.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', request_serializer=nidcpower__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', request_serializer=nidcpower__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', request_serializer=nidcpower__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViString', request_serializer=nidcpower__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViSession', request_serializer=nidcpower__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', request_serializer=nidcpower__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidcpower__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', request_serializer=nidcpower__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViInt64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', request_serializer=nidcpower__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', request_serializer=nidcpower__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViString', request_serializer=nidcpower__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViSession', request_serializer=nidcpower__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', request_serializer=nidcpower__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', request_serializer=nidcpower__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidcpower__pb2.ImportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', request_serializer=nidcpower__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', request_serializer=nidcpower__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidcpower__pb2.ImportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', request_serializer=nidcpower__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.PerformLCROpenCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', request_serializer=nidcpower__pb2.PerformLCROpenCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCROpenCompensationResponse.FromString, - _registered_method=True) + ) self.PerformLCRShortCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', request_serializer=nidcpower__pb2.PerformLCRShortCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRShortCompensationResponse.FromString, - _registered_method=True) + ) self.PerformLCRLoadCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', request_serializer=nidcpower__pb2.PerformLCRLoadCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRLoadCompensationResponse.FromString, - _registered_method=True) + ) self.ConfigureLCRCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', request_serializer=nidcpower__pb2.ConfigureLCRCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureLCRCompensationResponse.FromString, - _registered_method=True) + ) self.PerformLCROpenCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', request_serializer=nidcpower__pb2.PerformLCROpenCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCROpenCustomCableCompensationResponse.FromString, - _registered_method=True) + ) self.PerformLCRShortCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', request_serializer=nidcpower__pb2.PerformLCRShortCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.PerformLCRShortCustomCableCompensationResponse.FromString, - _registered_method=True) + ) self.GetLCRCompensationData = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', request_serializer=nidcpower__pb2.GetLCRCompensationDataRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCompensationDataResponse.FromString, - _registered_method=True) + ) self.InitializeWithIndependentChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', request_serializer=nidcpower__pb2.InitializeWithIndependentChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitializeWithIndependentChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSourceModeWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', request_serializer=nidcpower__pb2.ConfigureSourceModeWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSourceModeWithChannelsResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedSequenceWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceWithChannelsResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedSequenceStepWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedSequenceCommitStepWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', request_serializer=nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsResponse.FromString, - _registered_method=True) + ) self.DeleteAdvancedSequenceWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', request_serializer=nidcpower__pb2.DeleteAdvancedSequenceWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DeleteAdvancedSequenceWithChannelsResponse.FromString, - _registered_method=True) + ) self.CommitWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/CommitWithChannels', request_serializer=nidcpower__pb2.CommitWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.CommitWithChannelsResponse.FromString, - _registered_method=True) + ) self.InitiateWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InitiateWithChannels', request_serializer=nidcpower__pb2.InitiateWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.InitiateWithChannelsResponse.FromString, - _registered_method=True) + ) self.AbortWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/AbortWithChannels', request_serializer=nidcpower__pb2.AbortWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.AbortWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.DisableStartTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', request_serializer=nidcpower__pb2.DisableStartTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableStartTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.DisableSequenceAdvanceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', request_serializer=nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.DisableSourceTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', request_serializer=nidcpower__pb2.DisableSourceTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableSourceTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeMeasureTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeMeasureTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.DisablePulseTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', request_serializer=nidcpower__pb2.DisablePulseTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisablePulseTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.DisableShutdownTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', request_serializer=nidcpower__pb2.DisableShutdownTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.DisableShutdownTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.ExportSignalWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', request_serializer=nidcpower__pb2.ExportSignalWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ExportSignalWithChannelsResponse.FromString, - _registered_method=True) + ) self.SendSoftwareEdgeTriggerWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', request_serializer=nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsResponse.FromString, - _registered_method=True) + ) self.WaitForEventWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', request_serializer=nidcpower__pb2.WaitForEventWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.WaitForEventWithChannelsResponse.FromString, - _registered_method=True) + ) self.ResetWithChannels = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ResetWithChannels', request_serializer=nidcpower__pb2.ResetWithChannelsRequest.SerializeToString, response_deserializer=nidcpower__pb2.ResetWithChannelsResponse.FromString, - _registered_method=True) + ) self.InvalidateAllAttributes = channel.unary_unary( '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', request_serializer=nidcpower__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nidcpower__pb2.InvalidateAllAttributesResponse.FromString, - _registered_method=True) + ) self.ConfigureOvp = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureOvp', request_serializer=nidcpower__pb2.ConfigureOvpRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureOvpResponse.FromString, - _registered_method=True) + ) self.ErrorQuery = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ErrorQuery', request_serializer=nidcpower__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=nidcpower__pb2.ErrorQueryResponse.FromString, - _registered_method=True) + ) self.GetLCRCustomCableCompensationData = channel.unary_unary( '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', request_serializer=nidcpower__pb2.GetLCRCustomCableCompensationDataRequest.SerializeToString, response_deserializer=nidcpower__pb2.GetLCRCustomCableCompensationDataResponse.FromString, - _registered_method=True) + ) self.ConfigureLCRCustomCableCompensation = channel.unary_unary( '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', request_serializer=nidcpower__pb2.ConfigureLCRCustomCableCompensationRequest.SerializeToString, response_deserializer=nidcpower__pb2.ConfigureLCRCustomCableCompensationResponse.FromString, - _registered_method=True) + ) class NiDCPowerServicer(object): @@ -2398,7 +2378,6 @@ def add_NiDCPowerServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidcpower_grpc.NiDCPower', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidcpower_grpc.NiDCPower', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2416,21 +2395,11 @@ def InitializeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/InitializeWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitializeWithChannels', nidcpower__pb2.InitializeWithChannelsRequest.SerializeToString, nidcpower__pb2.InitializeWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -2443,21 +2412,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Close', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Close', nidcpower__pb2.CloseRequest.SerializeToString, nidcpower__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSourceMode(request, @@ -2470,21 +2429,11 @@ def ConfigureSourceMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSourceMode', nidcpower__pb2.ConfigureSourceModeRequest.SerializeToString, nidcpower__pb2.ConfigureSourceModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputFunction(request, @@ -2497,21 +2446,11 @@ def ConfigureOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputFunction', nidcpower__pb2.ConfigureOutputFunctionRequest.SerializeToString, nidcpower__pb2.ConfigureOutputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputEnabled(request, @@ -2524,21 +2463,11 @@ def ConfigureOutputEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputEnabled', nidcpower__pb2.ConfigureOutputEnabledRequest.SerializeToString, nidcpower__pb2.ConfigureOutputEnabledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetSequence(request, @@ -2551,21 +2480,11 @@ def SetSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetSequence', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetSequence', nidcpower__pb2.SetSequenceRequest.SerializeToString, nidcpower__pb2.SetSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVoltageLevel(request, @@ -2578,21 +2497,11 @@ def ConfigureVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevel', nidcpower__pb2.ConfigureVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCurrentLimit(request, @@ -2605,21 +2514,11 @@ def ConfigureCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimit', nidcpower__pb2.ConfigureCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVoltageLevelRange(request, @@ -2632,21 +2531,11 @@ def ConfigureVoltageLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLevelRange', nidcpower__pb2.ConfigureVoltageLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLevelRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCurrentLimitRange(request, @@ -2659,21 +2548,11 @@ def ConfigureCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLimitRange', nidcpower__pb2.ConfigureCurrentLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLimitRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputResistance(request, @@ -2686,21 +2565,11 @@ def ConfigureOutputResistance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOutputResistance', nidcpower__pb2.ConfigureOutputResistanceRequest.SerializeToString, nidcpower__pb2.ConfigureOutputResistanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCurrentLevel(request, @@ -2713,21 +2582,11 @@ def ConfigureCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevel', nidcpower__pb2.ConfigureCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCurrentLevelRange(request, @@ -2740,21 +2599,11 @@ def ConfigureCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureCurrentLevelRange', nidcpower__pb2.ConfigureCurrentLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigureCurrentLevelRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVoltageLimit(request, @@ -2767,21 +2616,11 @@ def ConfigureVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimit', nidcpower__pb2.ConfigureVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVoltageLimitRange(request, @@ -2794,21 +2633,11 @@ def ConfigureVoltageLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureVoltageLimitRange', nidcpower__pb2.ConfigureVoltageLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigureVoltageLimitRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseVoltageLevel(request, @@ -2821,21 +2650,11 @@ def ConfigurePulseVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevel', nidcpower__pb2.ConfigurePulseVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseCurrentLimit(request, @@ -2848,21 +2667,11 @@ def ConfigurePulseCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimit', nidcpower__pb2.ConfigurePulseCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseBiasVoltageLevel(request, @@ -2875,21 +2684,11 @@ def ConfigurePulseBiasVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLevel', nidcpower__pb2.ConfigurePulseBiasVoltageLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasVoltageLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseBiasCurrentLimit(request, @@ -2902,21 +2701,11 @@ def ConfigurePulseBiasCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLimit', nidcpower__pb2.ConfigurePulseBiasCurrentLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseVoltageLevelRange(request, @@ -2929,21 +2718,11 @@ def ConfigurePulseVoltageLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLevelRange', nidcpower__pb2.ConfigurePulseVoltageLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLevelRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseCurrentLimitRange(request, @@ -2956,21 +2735,11 @@ def ConfigurePulseCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLimitRange', nidcpower__pb2.ConfigurePulseCurrentLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLimitRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseCurrentLevel(request, @@ -2983,21 +2752,11 @@ def ConfigurePulseCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevel', nidcpower__pb2.ConfigurePulseCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseVoltageLimit(request, @@ -3010,21 +2769,11 @@ def ConfigurePulseVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimit', nidcpower__pb2.ConfigurePulseVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseBiasCurrentLevel(request, @@ -3037,21 +2786,11 @@ def ConfigurePulseBiasCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasCurrentLevel', nidcpower__pb2.ConfigurePulseBiasCurrentLevelRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasCurrentLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseBiasVoltageLimit(request, @@ -3064,21 +2803,11 @@ def ConfigurePulseBiasVoltageLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseBiasVoltageLimit', nidcpower__pb2.ConfigurePulseBiasVoltageLimitRequest.SerializeToString, nidcpower__pb2.ConfigurePulseBiasVoltageLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseCurrentLevelRange(request, @@ -3091,21 +2820,11 @@ def ConfigurePulseCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseCurrentLevelRange', nidcpower__pb2.ConfigurePulseCurrentLevelRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseCurrentLevelRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePulseVoltageLimitRange(request, @@ -3118,21 +2837,11 @@ def ConfigurePulseVoltageLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePulseVoltageLimitRange', nidcpower__pb2.ConfigurePulseVoltageLimitRangeRequest.SerializeToString, nidcpower__pb2.ConfigurePulseVoltageLimitRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedSequence(request, @@ -3145,21 +2854,11 @@ def CreateAdvancedSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequence', nidcpower__pb2.CreateAdvancedSequenceRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedSequenceStep(request, @@ -3172,21 +2871,11 @@ def CreateAdvancedSequenceStep(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStep', nidcpower__pb2.CreateAdvancedSequenceStepRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceStepResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteAdvancedSequence(request, @@ -3199,21 +2888,11 @@ def DeleteAdvancedSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequence', nidcpower__pb2.DeleteAdvancedSequenceRequest.SerializeToString, nidcpower__pb2.DeleteAdvancedSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureApertureTime(request, @@ -3226,21 +2905,11 @@ def ConfigureApertureTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureApertureTime', nidcpower__pb2.ConfigureApertureTimeRequest.SerializeToString, nidcpower__pb2.ConfigureApertureTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureAutoZero(request, @@ -3253,21 +2922,11 @@ def ConfigureAutoZero(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureAutoZero', nidcpower__pb2.ConfigureAutoZeroRequest.SerializeToString, nidcpower__pb2.ConfigureAutoZeroResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePowerLineFrequency(request, @@ -3280,21 +2939,11 @@ def ConfigurePowerLineFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigurePowerLineFrequency', nidcpower__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, nidcpower__pb2.ConfigurePowerLineFrequencyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSense(request, @@ -3307,21 +2956,11 @@ def ConfigureSense(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSense', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSense', nidcpower__pb2.ConfigureSenseRequest.SerializeToString, nidcpower__pb2.ConfigureSenseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Measure(request, @@ -3334,21 +2973,11 @@ def Measure(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Measure', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Measure', nidcpower__pb2.MeasureRequest.SerializeToString, nidcpower__pb2.MeasureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MeasureMultiple(request, @@ -3361,21 +2990,11 @@ def MeasureMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/MeasureMultiple', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/MeasureMultiple', nidcpower__pb2.MeasureMultipleRequest.SerializeToString, nidcpower__pb2.MeasureMultipleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchMultiple(request, @@ -3388,21 +3007,11 @@ def FetchMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/FetchMultiple', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/FetchMultiple', nidcpower__pb2.FetchMultipleRequest.SerializeToString, nidcpower__pb2.FetchMultipleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MeasureMultipleLCR(request, @@ -3415,21 +3024,11 @@ def MeasureMultipleLCR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/MeasureMultipleLCR', nidcpower__pb2.MeasureMultipleLCRRequest.SerializeToString, nidcpower__pb2.MeasureMultipleLCRResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchMultipleLCR(request, @@ -3442,21 +3041,11 @@ def FetchMultipleLCR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/FetchMultipleLCR', nidcpower__pb2.FetchMultipleLCRRequest.SerializeToString, nidcpower__pb2.FetchMultipleLCRResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryInCompliance(request, @@ -3469,21 +3058,11 @@ def QueryInCompliance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryInCompliance', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryInCompliance', nidcpower__pb2.QueryInComplianceRequest.SerializeToString, nidcpower__pb2.QueryInComplianceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryOutputState(request, @@ -3496,21 +3075,11 @@ def QueryOutputState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryOutputState', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryOutputState', nidcpower__pb2.QueryOutputStateRequest.SerializeToString, nidcpower__pb2.QueryOutputStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryLatchedOutputCutoffState(request, @@ -3523,21 +3092,11 @@ def QueryLatchedOutputCutoffState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryLatchedOutputCutoffState', nidcpower__pb2.QueryLatchedOutputCutoffStateRequest.SerializeToString, nidcpower__pb2.QueryLatchedOutputCutoffStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearLatchedOutputCutoffState(request, @@ -3550,21 +3109,11 @@ def ClearLatchedOutputCutoffState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearLatchedOutputCutoffState', nidcpower__pb2.ClearLatchedOutputCutoffStateRequest.SerializeToString, nidcpower__pb2.ClearLatchedOutputCutoffStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -3577,21 +3126,11 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Commit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Commit', nidcpower__pb2.CommitRequest.SerializeToString, nidcpower__pb2.CommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Initiate(request, @@ -3604,21 +3143,11 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Initiate', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Initiate', nidcpower__pb2.InitiateRequest.SerializeToString, nidcpower__pb2.InitiateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Abort(request, @@ -3631,21 +3160,11 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Abort', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Abort', nidcpower__pb2.AbortRequest.SerializeToString, nidcpower__pb2.AbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryMaxCurrentLimit(request, @@ -3658,21 +3177,11 @@ def QueryMaxCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMaxCurrentLimit', nidcpower__pb2.QueryMaxCurrentLimitRequest.SerializeToString, nidcpower__pb2.QueryMaxCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryMaxVoltageLevel(request, @@ -3685,21 +3194,11 @@ def QueryMaxVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMaxVoltageLevel', nidcpower__pb2.QueryMaxVoltageLevelRequest.SerializeToString, nidcpower__pb2.QueryMaxVoltageLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryMinCurrentLimit(request, @@ -3712,21 +3211,11 @@ def QueryMinCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/QueryMinCurrentLimit', nidcpower__pb2.QueryMinCurrentLimitRequest.SerializeToString, nidcpower__pb2.QueryMinCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CalSelfCalibrate(request, @@ -3739,21 +3228,11 @@ def CalSelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CalSelfCalibrate', nidcpower__pb2.CalSelfCalibrateRequest.SerializeToString, nidcpower__pb2.CalSelfCalibrateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalRecommendedInterval(request, @@ -3766,21 +3245,11 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalRecommendedInterval', nidcpower__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nidcpower__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalLastDateAndTime(request, @@ -3793,21 +3262,11 @@ def GetExtCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalLastDateAndTime', nidcpower__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetExtCalLastDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadCurrentTemperature(request, @@ -3820,21 +3279,11 @@ def ReadCurrentTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ReadCurrentTemperature', nidcpower__pb2.ReadCurrentTemperatureRequest.SerializeToString, nidcpower__pb2.ReadCurrentTemperatureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalLastTemp(request, @@ -3847,21 +3296,11 @@ def GetExtCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetExtCalLastTemp', nidcpower__pb2.GetExtCalLastTempRequest.SerializeToString, nidcpower__pb2.GetExtCalLastTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalLastDateAndTime(request, @@ -3874,21 +3313,11 @@ def GetSelfCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetSelfCalLastDateAndTime', nidcpower__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalLastTemp(request, @@ -3901,21 +3330,11 @@ def GetSelfCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetSelfCalLastTemp', nidcpower__pb2.GetSelfCalLastTempRequest.SerializeToString, nidcpower__pb2.GetSelfCalLastTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLCRCompensationLastDateAndTime(request, @@ -3928,21 +3347,11 @@ def GetLCRCompensationLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCompensationLastDateAndTime', nidcpower__pb2.GetLCRCompensationLastDateAndTimeRequest.SerializeToString, nidcpower__pb2.GetLCRCompensationLastDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -3955,21 +3364,11 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTrigger', nidcpower__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -3982,21 +3381,11 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTrigger', nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableStartTrigger(request, @@ -4009,21 +3398,11 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableStartTrigger', nidcpower__pb2.DisableStartTriggerRequest.SerializeToString, nidcpower__pb2.DisableStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeSequenceAdvanceTrigger(request, @@ -4036,21 +3415,11 @@ def ConfigureDigitalEdgeSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTrigger', nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeSequenceAdvanceTrigger(request, @@ -4063,21 +3432,11 @@ def ConfigureSoftwareEdgeSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTrigger', nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableSequenceAdvanceTrigger(request, @@ -4090,21 +3449,11 @@ def DisableSequenceAdvanceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTrigger', nidcpower__pb2.DisableSequenceAdvanceTriggerRequest.SerializeToString, nidcpower__pb2.DisableSequenceAdvanceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeSourceTrigger(request, @@ -4117,21 +3466,11 @@ def ConfigureDigitalEdgeSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTrigger', nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeSourceTrigger(request, @@ -4144,21 +3483,11 @@ def ConfigureSoftwareEdgeSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTrigger', nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableSourceTrigger(request, @@ -4171,21 +3500,11 @@ def DisableSourceTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSourceTrigger', nidcpower__pb2.DisableSourceTriggerRequest.SerializeToString, nidcpower__pb2.DisableSourceTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeMeasureTrigger(request, @@ -4198,21 +3517,11 @@ def ConfigureDigitalEdgeMeasureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTrigger', nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeMeasureTrigger(request, @@ -4225,21 +3534,11 @@ def ConfigureSoftwareEdgeMeasureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTrigger', nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgePulseTrigger(request, @@ -4252,21 +3551,11 @@ def ConfigureDigitalEdgePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTrigger', nidcpower__pb2.ConfigureDigitalEdgePulseTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgePulseTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgePulseTrigger(request, @@ -4279,21 +3568,11 @@ def ConfigureSoftwareEdgePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTrigger', nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisablePulseTrigger(request, @@ -4306,21 +3585,11 @@ def DisablePulseTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisablePulseTrigger', nidcpower__pb2.DisablePulseTriggerRequest.SerializeToString, nidcpower__pb2.DisablePulseTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportSignal(request, @@ -4333,21 +3602,11 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ExportSignal', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportSignal', nidcpower__pb2.ExportSignalRequest.SerializeToString, nidcpower__pb2.ExportSignalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -4360,21 +3619,11 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTrigger', nidcpower__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nidcpower__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitForEvent(request, @@ -4387,21 +3636,11 @@ def WaitForEvent(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/WaitForEvent', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/WaitForEvent', nidcpower__pb2.WaitForEventRequest.SerializeToString, nidcpower__pb2.WaitForEventResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disable(request, @@ -4414,21 +3653,11 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Disable', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Disable', nidcpower__pb2.DisableRequest.SerializeToString, nidcpower__pb2.DisableResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -4441,21 +3670,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/Reset', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/Reset', nidcpower__pb2.ResetRequest.SerializeToString, nidcpower__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetDevice(request, @@ -4468,21 +3687,11 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ResetDevice', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetDevice', nidcpower__pb2.ResetDeviceRequest.SerializeToString, nidcpower__pb2.ResetDeviceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -4495,21 +3704,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SelfTest', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SelfTest', nidcpower__pb2.SelfTestRequest.SerializeToString, nidcpower__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RevisionQuery(request, @@ -4522,21 +3721,11 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/RevisionQuery', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/RevisionQuery', nidcpower__pb2.RevisionQueryRequest.SerializeToString, nidcpower__pb2.RevisionQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetWithDefaults(request, @@ -4549,21 +3738,11 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ResetWithDefaults', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetWithDefaults', nidcpower__pb2.ResetWithDefaultsRequest.SerializeToString, nidcpower__pb2.ResetWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -4576,21 +3755,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetChannelName', nidcpower__pb2.GetChannelNameRequest.SerializeToString, nidcpower__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelNameFromString(request, @@ -4603,21 +3772,11 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetChannelNameFromString', nidcpower__pb2.GetChannelNameFromStringRequest.SerializeToString, nidcpower__pb2.GetChannelNameFromStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetNextCoercionRecord(request, @@ -4630,21 +3789,11 @@ def GetNextCoercionRecord(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetNextCoercionRecord', nidcpower__pb2.GetNextCoercionRecordRequest.SerializeToString, nidcpower__pb2.GetNextCoercionRecordResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearInterchangeWarnings(request, @@ -4657,21 +3806,11 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearInterchangeWarnings', nidcpower__pb2.ClearInterchangeWarningsRequest.SerializeToString, nidcpower__pb2.ClearInterchangeWarningsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetInterchangeCheck(request, @@ -4684,21 +3823,11 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetInterchangeCheck', nidcpower__pb2.ResetInterchangeCheckRequest.SerializeToString, nidcpower__pb2.ResetInterchangeCheckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetNextInterchangeWarning(request, @@ -4711,21 +3840,11 @@ def GetNextInterchangeWarning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetNextInterchangeWarning', nidcpower__pb2.GetNextInterchangeWarningRequest.SerializeToString, nidcpower__pb2.GetNextInterchangeWarningResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -4738,21 +3857,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetError', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetError', nidcpower__pb2.GetErrorRequest.SerializeToString, nidcpower__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearError(request, @@ -4765,21 +3874,11 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ClearError', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ClearError', nidcpower__pb2.ClearErrorRequest.SerializeToString, nidcpower__pb2.ClearErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorMessage(request, @@ -4792,21 +3891,11 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ErrorMessage', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ErrorMessage', nidcpower__pb2.ErrorMessageRequest.SerializeToString, nidcpower__pb2.ErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -4819,21 +3908,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViInt32', nidcpower__pb2.SetAttributeViInt32Request.SerializeToString, nidcpower__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt64(request, @@ -4846,21 +3925,11 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViInt64', nidcpower__pb2.SetAttributeViInt64Request.SerializeToString, nidcpower__pb2.SetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -4873,21 +3942,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViReal64', nidcpower__pb2.SetAttributeViReal64Request.SerializeToString, nidcpower__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -4900,21 +3959,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViString', nidcpower__pb2.SetAttributeViStringRequest.SerializeToString, nidcpower__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -4927,21 +3976,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViSession', nidcpower__pb2.SetAttributeViSessionRequest.SerializeToString, nidcpower__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -4954,21 +3993,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SetAttributeViBoolean', nidcpower__pb2.SetAttributeViBooleanRequest.SerializeToString, nidcpower__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -4981,21 +4010,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViInt32', nidcpower__pb2.GetAttributeViInt32Request.SerializeToString, nidcpower__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt64(request, @@ -5008,21 +4027,11 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViInt64', nidcpower__pb2.GetAttributeViInt64Request.SerializeToString, nidcpower__pb2.GetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -5035,21 +4044,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViReal64', nidcpower__pb2.GetAttributeViReal64Request.SerializeToString, nidcpower__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -5062,21 +4061,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViString', nidcpower__pb2.GetAttributeViStringRequest.SerializeToString, nidcpower__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -5089,21 +4078,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViSession', nidcpower__pb2.GetAttributeViSessionRequest.SerializeToString, nidcpower__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -5116,21 +4095,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetAttributeViBoolean', nidcpower__pb2.GetAttributeViBooleanRequest.SerializeToString, nidcpower__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationFile(request, @@ -5143,21 +4112,11 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationFile', nidcpower__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nidcpower__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationFile(request, @@ -5170,21 +4129,11 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationFile', nidcpower__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nidcpower__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -5197,21 +4146,11 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ImportAttributeConfigurationBuffer', nidcpower__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nidcpower__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -5224,21 +4163,11 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportAttributeConfigurationBuffer', nidcpower__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nidcpower__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformLCROpenCompensation(request, @@ -5251,21 +4180,11 @@ def PerformLCROpenCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCROpenCompensation', nidcpower__pb2.PerformLCROpenCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCROpenCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformLCRShortCompensation(request, @@ -5278,21 +4197,11 @@ def PerformLCRShortCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRShortCompensation', nidcpower__pb2.PerformLCRShortCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRShortCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformLCRLoadCompensation(request, @@ -5305,21 +4214,11 @@ def PerformLCRLoadCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRLoadCompensation', nidcpower__pb2.PerformLCRLoadCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRLoadCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureLCRCompensation(request, @@ -5332,21 +4231,11 @@ def ConfigureLCRCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureLCRCompensation', nidcpower__pb2.ConfigureLCRCompensationRequest.SerializeToString, nidcpower__pb2.ConfigureLCRCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformLCROpenCustomCableCompensation(request, @@ -5359,21 +4248,11 @@ def PerformLCROpenCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCROpenCustomCableCompensation', nidcpower__pb2.PerformLCROpenCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCROpenCustomCableCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformLCRShortCustomCableCompensation(request, @@ -5386,21 +4265,11 @@ def PerformLCRShortCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/PerformLCRShortCustomCableCompensation', nidcpower__pb2.PerformLCRShortCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.PerformLCRShortCustomCableCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLCRCompensationData(request, @@ -5413,21 +4282,11 @@ def GetLCRCompensationData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCompensationData', nidcpower__pb2.GetLCRCompensationDataRequest.SerializeToString, nidcpower__pb2.GetLCRCompensationDataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitializeWithIndependentChannels(request, @@ -5440,21 +4299,11 @@ def InitializeWithIndependentChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitializeWithIndependentChannels', nidcpower__pb2.InitializeWithIndependentChannelsRequest.SerializeToString, nidcpower__pb2.InitializeWithIndependentChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSourceModeWithChannels(request, @@ -5467,21 +4316,11 @@ def ConfigureSourceModeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSourceModeWithChannels', nidcpower__pb2.ConfigureSourceModeWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSourceModeWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedSequenceWithChannels(request, @@ -5494,21 +4333,11 @@ def CreateAdvancedSequenceWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceWithChannels', nidcpower__pb2.CreateAdvancedSequenceWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedSequenceStepWithChannels(request, @@ -5521,21 +4350,11 @@ def CreateAdvancedSequenceStepWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceStepWithChannels', nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceStepWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedSequenceCommitStepWithChannels(request, @@ -5548,21 +4367,11 @@ def CreateAdvancedSequenceCommitStepWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CreateAdvancedSequenceCommitStepWithChannels', nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsRequest.SerializeToString, nidcpower__pb2.CreateAdvancedSequenceCommitStepWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteAdvancedSequenceWithChannels(request, @@ -5575,21 +4384,11 @@ def DeleteAdvancedSequenceWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DeleteAdvancedSequenceWithChannels', nidcpower__pb2.DeleteAdvancedSequenceWithChannelsRequest.SerializeToString, nidcpower__pb2.DeleteAdvancedSequenceWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CommitWithChannels(request, @@ -5602,21 +4401,11 @@ def CommitWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/CommitWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/CommitWithChannels', nidcpower__pb2.CommitWithChannelsRequest.SerializeToString, nidcpower__pb2.CommitWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitiateWithChannels(request, @@ -5629,21 +4418,11 @@ def InitiateWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/InitiateWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InitiateWithChannels', nidcpower__pb2.InitiateWithChannelsRequest.SerializeToString, nidcpower__pb2.InitiateWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AbortWithChannels(request, @@ -5656,21 +4435,11 @@ def AbortWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/AbortWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/AbortWithChannels', nidcpower__pb2.AbortWithChannelsRequest.SerializeToString, nidcpower__pb2.AbortWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeStartTriggerWithChannels(request, @@ -5683,21 +4452,11 @@ def ConfigureDigitalEdgeStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeStartTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeStartTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeStartTriggerWithChannels(request, @@ -5710,21 +4469,11 @@ def ConfigureSoftwareEdgeStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeStartTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeStartTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableStartTriggerWithChannels(request, @@ -5737,21 +4486,11 @@ def DisableStartTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableStartTriggerWithChannels', nidcpower__pb2.DisableStartTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableStartTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels(request, @@ -5764,21 +4503,11 @@ def ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels(request, @@ -5791,21 +4520,11 @@ def ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableSequenceAdvanceTriggerWithChannels(request, @@ -5818,21 +4537,11 @@ def DisableSequenceAdvanceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSequenceAdvanceTriggerWithChannels', nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableSequenceAdvanceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeSourceTriggerWithChannels(request, @@ -5845,21 +4554,11 @@ def ConfigureDigitalEdgeSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeSourceTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeSourceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeSourceTriggerWithChannels(request, @@ -5872,21 +4571,11 @@ def ConfigureSoftwareEdgeSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeSourceTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeSourceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableSourceTriggerWithChannels(request, @@ -5899,21 +4588,11 @@ def DisableSourceTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableSourceTriggerWithChannels', nidcpower__pb2.DisableSourceTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableSourceTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeMeasureTriggerWithChannels(request, @@ -5926,21 +4605,11 @@ def ConfigureDigitalEdgeMeasureTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeMeasureTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeMeasureTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeMeasureTriggerWithChannels(request, @@ -5953,21 +4622,11 @@ def ConfigureSoftwareEdgeMeasureTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeMeasureTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeMeasureTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgePulseTriggerWithChannels(request, @@ -5980,21 +4639,11 @@ def ConfigureDigitalEdgePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgePulseTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgePulseTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgePulseTriggerWithChannels(request, @@ -6007,21 +4656,11 @@ def ConfigureSoftwareEdgePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgePulseTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgePulseTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisablePulseTriggerWithChannels(request, @@ -6034,21 +4673,11 @@ def DisablePulseTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisablePulseTriggerWithChannels', nidcpower__pb2.DisablePulseTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisablePulseTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeShutdownTriggerWithChannels(request, @@ -6061,21 +4690,11 @@ def ConfigureDigitalEdgeShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureDigitalEdgeShutdownTriggerWithChannels', nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureDigitalEdgeShutdownTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeShutdownTriggerWithChannels(request, @@ -6088,21 +4707,11 @@ def ConfigureSoftwareEdgeShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureSoftwareEdgeShutdownTriggerWithChannels', nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.ConfigureSoftwareEdgeShutdownTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableShutdownTriggerWithChannels(request, @@ -6115,21 +4724,11 @@ def DisableShutdownTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/DisableShutdownTriggerWithChannels', nidcpower__pb2.DisableShutdownTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.DisableShutdownTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportSignalWithChannels(request, @@ -6142,21 +4741,11 @@ def ExportSignalWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ExportSignalWithChannels', nidcpower__pb2.ExportSignalWithChannelsRequest.SerializeToString, nidcpower__pb2.ExportSignalWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareEdgeTriggerWithChannels(request, @@ -6169,21 +4758,11 @@ def SendSoftwareEdgeTriggerWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/SendSoftwareEdgeTriggerWithChannels', nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsRequest.SerializeToString, nidcpower__pb2.SendSoftwareEdgeTriggerWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitForEventWithChannels(request, @@ -6196,21 +4775,11 @@ def WaitForEventWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/WaitForEventWithChannels', nidcpower__pb2.WaitForEventWithChannelsRequest.SerializeToString, nidcpower__pb2.WaitForEventWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetWithChannels(request, @@ -6223,21 +4792,11 @@ def ResetWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ResetWithChannels', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ResetWithChannels', nidcpower__pb2.ResetWithChannelsRequest.SerializeToString, nidcpower__pb2.ResetWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InvalidateAllAttributes(request, @@ -6250,21 +4809,11 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/InvalidateAllAttributes', nidcpower__pb2.InvalidateAllAttributesRequest.SerializeToString, nidcpower__pb2.InvalidateAllAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOvp(request, @@ -6277,21 +4826,11 @@ def ConfigureOvp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureOvp', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureOvp', nidcpower__pb2.ConfigureOvpRequest.SerializeToString, nidcpower__pb2.ConfigureOvpResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorQuery(request, @@ -6304,21 +4843,11 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ErrorQuery', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ErrorQuery', nidcpower__pb2.ErrorQueryRequest.SerializeToString, nidcpower__pb2.ErrorQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLCRCustomCableCompensationData(request, @@ -6331,21 +4860,11 @@ def GetLCRCustomCableCompensationData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/GetLCRCustomCableCompensationData', nidcpower__pb2.GetLCRCustomCableCompensationDataRequest.SerializeToString, nidcpower__pb2.GetLCRCustomCableCompensationDataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureLCRCustomCableCompensation(request, @@ -6358,18 +4877,8 @@ def ConfigureLCRCustomCableCompensation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', + return grpc.experimental.unary_unary(request, target, '/nidcpower_grpc.NiDCPower/ConfigureLCRCustomCableCompensation', nidcpower__pb2.ConfigureLCRCustomCableCompensationRequest.SerializeToString, nidcpower__pb2.ConfigureLCRCustomCableCompensationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidcpower/nidcpower/nidevice_pb2.py b/generated/nidcpower/nidcpower/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/nidcpower/nidcpower/nidevice_pb2.py +++ b/generated/nidcpower/nidcpower/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py b/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/nidcpower/nidcpower/session_pb2.py b/generated/nidcpower/nidcpower/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/nidcpower/nidcpower/session_pb2.py +++ b/generated/nidcpower/nidcpower/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidcpower/nidcpower/session_pb2_grpc.py b/generated/nidcpower/nidcpower/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/nidcpower/nidcpower/session_pb2_grpc.py +++ b/generated/nidcpower/nidcpower/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidcpower/setup.py b/generated/nidcpower/setup.py index 064352292..c4d97faef 100644 --- a/generated/nidcpower/setup.py +++ b/generated/nidcpower/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/nidigital/nidigital/nidevice_pb2.py b/generated/nidigital/nidigital/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/nidigital/nidigital/nidevice_pb2.py +++ b/generated/nidigital/nidigital/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidigital/nidigital/nidevice_pb2_grpc.py b/generated/nidigital/nidigital/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/nidigital/nidigital/nidevice_pb2_grpc.py +++ b/generated/nidigital/nidigital/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/nidigital/nidigital/nidigitalpattern_pb2.py b/generated/nidigital/nidigital/nidigitalpattern_pb2.py index 984ee781f..2f8bec885 100644 --- a/generated/nidigital/nidigital/nidigitalpattern_pb2.py +++ b/generated/nidigital/nidigital/nidigitalpattern_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidigitalpattern.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidigitalpattern.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,13 +19,13 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidigitalpattern_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\025com.ni.grpc.nidigitalB\tNiDigitalP\001\252\002 NationalInstruments.Grpc.Digital' - _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025com.ni.grpc.nidigitalB\tNiDigitalP\001\252\002 NationalInstruments.Grpc.Digital' + _INITRESPONSE.fields_by_name['error_message']._options = None + _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDIGITALATTRIBUTE']._serialized_start=25129 _globals['_NIDIGITALATTRIBUTE']._serialized_end=29749 _globals['_PPMUAPERTURETIMEUNITS']._serialized_start=29751 diff --git a/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py b/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py index f82275bfa..b19dea54d 100644 --- a/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py +++ b/generated/nidigital/nidigital/nidigitalpattern_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import nidigitalpattern_pb2 as nidigitalpattern__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidigitalpattern_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiDigitalStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,652 +18,652 @@ def __init__(self, channel): '/nidigitalpattern_grpc.NiDigital/Init', request_serializer=nidigitalpattern__pb2.InitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/InitWithOptions', request_serializer=nidigitalpattern__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Close', request_serializer=nidigitalpattern__pb2.CloseRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Reset', request_serializer=nidigitalpattern__pb2.ResetRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.ResetDevice = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ResetDevice', request_serializer=nidigitalpattern__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetDeviceResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelfTest', request_serializer=nidigitalpattern__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetError', request_serializer=nidigitalpattern__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.ClearError = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClearError', request_serializer=nidigitalpattern__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClearErrorResponse.FromString, - _registered_method=True) + ) self.ErrorMessage = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ErrorMessage', request_serializer=nidigitalpattern__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ErrorMessageResponse.FromString, - _registered_method=True) + ) self.SelfCalibrate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', request_serializer=nidigitalpattern__pb2.SelfCalibrateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelfCalibrateResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', request_serializer=nidigitalpattern__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViInt64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', request_serializer=nidigitalpattern__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', request_serializer=nidigitalpattern__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', request_serializer=nidigitalpattern__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', request_serializer=nidigitalpattern__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', request_serializer=nidigitalpattern__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', request_serializer=nidigitalpattern__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', request_serializer=nidigitalpattern__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', request_serializer=nidigitalpattern__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', request_serializer=nidigitalpattern__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', request_serializer=nidigitalpattern__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', request_serializer=nidigitalpattern__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.ResetAttribute = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ResetAttribute', request_serializer=nidigitalpattern__pb2.ResetAttributeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ResetAttributeResponse.FromString, - _registered_method=True) + ) self.LoadPinMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadPinMap', request_serializer=nidigitalpattern__pb2.LoadPinMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadPinMapResponse.FromString, - _registered_method=True) + ) self.EnableSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EnableSites', request_serializer=nidigitalpattern__pb2.EnableSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EnableSitesResponse.FromString, - _registered_method=True) + ) self.DisableSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableSites', request_serializer=nidigitalpattern__pb2.DisableSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableSitesResponse.FromString, - _registered_method=True) + ) self.IsSiteEnabled = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', request_serializer=nidigitalpattern__pb2.IsSiteEnabledRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.IsSiteEnabledResponse.FromString, - _registered_method=True) + ) self.CreatePinMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreatePinMap', request_serializer=nidigitalpattern__pb2.CreatePinMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreatePinMapResponse.FromString, - _registered_method=True) + ) self.CreatePinGroup = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', request_serializer=nidigitalpattern__pb2.CreatePinGroupRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreatePinGroupResponse.FromString, - _registered_method=True) + ) self.CreateChannelMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', request_serializer=nidigitalpattern__pb2.CreateChannelMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateChannelMapResponse.FromString, - _registered_method=True) + ) self.MapPinToChannel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', request_serializer=nidigitalpattern__pb2.MapPinToChannelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.MapPinToChannelResponse.FromString, - _registered_method=True) + ) self.EndChannelMap = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EndChannelMap', request_serializer=nidigitalpattern__pb2.EndChannelMapRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EndChannelMapResponse.FromString, - _registered_method=True) + ) self.GetPinName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPinName', request_serializer=nidigitalpattern__pb2.GetPinNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPinNameResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetChannelName', request_serializer=nidigitalpattern__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.SelectFunction = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SelectFunction', request_serializer=nidigitalpattern__pb2.SelectFunctionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SelectFunctionResponse.FromString, - _registered_method=True) + ) self.ReadStatic = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadStatic', request_serializer=nidigitalpattern__pb2.ReadStaticRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadStaticResponse.FromString, - _registered_method=True) + ) self.WriteStatic = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteStatic', request_serializer=nidigitalpattern__pb2.WriteStaticRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteStaticResponse.FromString, - _registered_method=True) + ) self.ClockGeneratorGenerateClock = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', request_serializer=nidigitalpattern__pb2.ClockGeneratorGenerateClockRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorGenerateClockResponse.FromString, - _registered_method=True) + ) self.ClockGeneratorInitiate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', request_serializer=nidigitalpattern__pb2.ClockGeneratorInitiateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorInitiateResponse.FromString, - _registered_method=True) + ) self.ClockGeneratorAbort = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', request_serializer=nidigitalpattern__pb2.ClockGeneratorAbortRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ClockGeneratorAbortResponse.FromString, - _registered_method=True) + ) self.LoadSpecifications = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', request_serializer=nidigitalpattern__pb2.LoadSpecificationsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadSpecificationsResponse.FromString, - _registered_method=True) + ) self.UnloadSpecifications = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', request_serializer=nidigitalpattern__pb2.UnloadSpecificationsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.UnloadSpecificationsResponse.FromString, - _registered_method=True) + ) self.LoadLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadLevels', request_serializer=nidigitalpattern__pb2.LoadLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadLevelsResponse.FromString, - _registered_method=True) + ) self.LoadTiming = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadTiming', request_serializer=nidigitalpattern__pb2.LoadTimingRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadTimingResponse.FromString, - _registered_method=True) + ) self.ApplyLevelsAndTiming = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', request_serializer=nidigitalpattern__pb2.ApplyLevelsAndTimingRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ApplyLevelsAndTimingResponse.FromString, - _registered_method=True) + ) self.ConfigureVoltageLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', request_serializer=nidigitalpattern__pb2.ConfigureVoltageLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureVoltageLevelsResponse.FromString, - _registered_method=True) + ) self.ConfigureActiveLoadLevels = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', request_serializer=nidigitalpattern__pb2.ConfigureActiveLoadLevelsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureActiveLoadLevelsResponse.FromString, - _registered_method=True) + ) self.ConfigureTerminationMode = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', request_serializer=nidigitalpattern__pb2.ConfigureTerminationModeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTerminationModeResponse.FromString, - _registered_method=True) + ) self.CreateTimeSet = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', request_serializer=nidigitalpattern__pb2.CreateTimeSetRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateTimeSetResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetPeriod = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetPeriodRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetPeriodResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetDriveEdges = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetCompareEdgesStrobe = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetDriveFormat = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveFormatRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveFormatResponse.FromString, - _registered_method=True) + ) self.DeleteAllTimeSets = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', request_serializer=nidigitalpattern__pb2.DeleteAllTimeSetsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DeleteAllTimeSetsResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetEdgeMultiplier = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetDriveEdges2x = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetCompareEdgesStrobe2x = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xResponse.FromString, - _registered_method=True) + ) self.ConfigureTimeSetEdge = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', request_serializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureTimeSetEdgeResponse.FromString, - _registered_method=True) + ) self.GetTimeSetPeriod = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', request_serializer=nidigitalpattern__pb2.GetTimeSetPeriodRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetPeriodResponse.FromString, - _registered_method=True) + ) self.GetTimeSetEdge = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', request_serializer=nidigitalpattern__pb2.GetTimeSetEdgeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetEdgeResponse.FromString, - _registered_method=True) + ) self.GetTimeSetEdgeMultiplier = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', request_serializer=nidigitalpattern__pb2.GetTimeSetEdgeMultiplierRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetEdgeMultiplierResponse.FromString, - _registered_method=True) + ) self.GetTimeSetDriveFormat = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', request_serializer=nidigitalpattern__pb2.GetTimeSetDriveFormatRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetDriveFormatResponse.FromString, - _registered_method=True) + ) self.GetTimeSetName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', request_serializer=nidigitalpattern__pb2.GetTimeSetNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetTimeSetNameResponse.FromString, - _registered_method=True) + ) self.TDR = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/TDR', request_serializer=nidigitalpattern__pb2.TDRRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.TDRResponse.FromString, - _registered_method=True) + ) self.ApplyTDROffsets = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', request_serializer=nidigitalpattern__pb2.ApplyTDROffsetsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ApplyTDROffsetsResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureOutputFunction = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', request_serializer=nidigitalpattern__pb2.PPMUConfigureOutputFunctionRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureOutputFunctionResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureApertureTime = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', request_serializer=nidigitalpattern__pb2.PPMUConfigureApertureTimeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureApertureTimeResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureVoltageLevel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', request_serializer=nidigitalpattern__pb2.PPMUConfigureVoltageLevelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureVoltageLevelResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureCurrentLimit = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureCurrentLimitRange = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureCurrentLevel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureCurrentLevelRange = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', request_serializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeResponse.FromString, - _registered_method=True) + ) self.PPMUConfigureVoltageLimits = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', request_serializer=nidigitalpattern__pb2.PPMUConfigureVoltageLimitsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUConfigureVoltageLimitsResponse.FromString, - _registered_method=True) + ) self.PPMUSource = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUSource', request_serializer=nidigitalpattern__pb2.PPMUSourceRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUSourceResponse.FromString, - _registered_method=True) + ) self.PPMUMeasure = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', request_serializer=nidigitalpattern__pb2.PPMUMeasureRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.PPMUMeasureResponse.FromString, - _registered_method=True) + ) self.LoadPattern = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/LoadPattern', request_serializer=nidigitalpattern__pb2.LoadPatternRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.LoadPatternResponse.FromString, - _registered_method=True) + ) self.UnloadAllPatterns = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', request_serializer=nidigitalpattern__pb2.UnloadAllPatternsRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.UnloadAllPatternsResponse.FromString, - _registered_method=True) + ) self.ConfigureStartLabel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', request_serializer=nidigitalpattern__pb2.ConfigureStartLabelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureStartLabelResponse.FromString, - _registered_method=True) + ) self.ConfigurePatternBurstSites = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', request_serializer=nidigitalpattern__pb2.ConfigurePatternBurstSitesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigurePatternBurstSitesResponse.FromString, - _registered_method=True) + ) self.GetPatternPinIndexes = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', request_serializer=nidigitalpattern__pb2.GetPatternPinIndexesRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternPinIndexesResponse.FromString, - _registered_method=True) + ) self.GetPatternPinList = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', request_serializer=nidigitalpattern__pb2.GetPatternPinListRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternPinListResponse.FromString, - _registered_method=True) + ) self.GetPatternName = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPatternName', request_serializer=nidigitalpattern__pb2.GetPatternNameRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPatternNameResponse.FromString, - _registered_method=True) + ) self.BurstPattern = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/BurstPattern', request_serializer=nidigitalpattern__pb2.BurstPatternRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.BurstPatternResponse.FromString, - _registered_method=True) + ) self.BurstPatternSynchronized = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', request_serializer=nidigitalpattern__pb2.BurstPatternSynchronizedRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.BurstPatternSynchronizedResponse.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Commit', request_serializer=nidigitalpattern__pb2.CommitRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CommitResponse.FromString, - _registered_method=True) + ) self.Initiate = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Initiate', request_serializer=nidigitalpattern__pb2.InitiateRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.InitiateResponse.FromString, - _registered_method=True) + ) self.IsDone = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/IsDone', request_serializer=nidigitalpattern__pb2.IsDoneRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.IsDoneResponse.FromString, - _registered_method=True) + ) self.WaitUntilDone = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', request_serializer=nidigitalpattern__pb2.WaitUntilDoneRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WaitUntilDoneResponse.FromString, - _registered_method=True) + ) self.Abort = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/Abort', request_serializer=nidigitalpattern__pb2.AbortRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.AbortResponse.FromString, - _registered_method=True) + ) self.AbortKeepAlive = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', request_serializer=nidigitalpattern__pb2.AbortKeepAliveRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.AbortKeepAliveResponse.FromString, - _registered_method=True) + ) self.ConfigurePatternLabelHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureCycleNumberHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureFirstFailureHistoryRAMTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', request_serializer=nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureHistoryRAMCyclesToAcquire = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', request_serializer=nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireResponse.FromString, - _registered_method=True) + ) self.GetHistoryRAMSampleCount = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', request_serializer=nidigitalpattern__pb2.GetHistoryRAMSampleCountRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetHistoryRAMSampleCountResponse.FromString, - _registered_method=True) + ) self.FetchHistoryRAMCycleInformation = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMCycleInformationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMCycleInformationResponse.FromString, - _registered_method=True) + ) self.FetchHistoryRAMCyclePinData = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataResponse.FromString, - _registered_method=True) + ) self.FetchHistoryRAMScanCycleNumber = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', request_serializer=nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberResponse.FromString, - _registered_method=True) + ) self.CreateSourceWaveformParallel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformParallelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformParallelResponse.FromString, - _registered_method=True) + ) self.CreateSourceWaveformSerial = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformSerialRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformSerialResponse.FromString, - _registered_method=True) + ) self.CreateSourceWaveformFromFileTDMS = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', request_serializer=nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSResponse.FromString, - _registered_method=True) + ) self.WriteSourceWaveformBroadcastU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Response.FromString, - _registered_method=True) + ) self.WriteSourceWaveformSiteUniqueU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Response.FromString, - _registered_method=True) + ) self.WriteSourceWaveformDataFromFileTDMS = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', request_serializer=nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSResponse.FromString, - _registered_method=True) + ) self.CreateCaptureWaveformParallel = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformParallelRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformParallelResponse.FromString, - _registered_method=True) + ) self.CreateCaptureWaveformSerial = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformSerialRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformSerialResponse.FromString, - _registered_method=True) + ) self.CreateCaptureWaveformFromFileDigicapture = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', request_serializer=nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureResponse.FromString, - _registered_method=True) + ) self.FetchCaptureWaveformU32 = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', request_serializer=nidigitalpattern__pb2.FetchCaptureWaveformU32Request.SerializeToString, response_deserializer=nidigitalpattern__pb2.FetchCaptureWaveformU32Response.FromString, - _registered_method=True) + ) self.ExportSignal = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ExportSignal', request_serializer=nidigitalpattern__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ExportSignalResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', request_serializer=nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', request_serializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.DisableStartTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', request_serializer=nidigitalpattern__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerResponse.FromString, - _registered_method=True) + ) self.DisableConditionalJumpTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', request_serializer=nidigitalpattern__pb2.DisableConditionalJumpTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.DisableConditionalJumpTriggerResponse.FromString, - _registered_method=True) + ) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', request_serializer=nidigitalpattern__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.SendSoftwareEdgeTriggerResponse.FromString, - _registered_method=True) + ) self.WriteSequencerFlag = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', request_serializer=nidigitalpattern__pb2.WriteSequencerFlagRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerFlagResponse.FromString, - _registered_method=True) + ) self.WriteSequencerFlagSynchronized = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', request_serializer=nidigitalpattern__pb2.WriteSequencerFlagSynchronizedRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerFlagSynchronizedResponse.FromString, - _registered_method=True) + ) self.ReadSequencerFlag = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', request_serializer=nidigitalpattern__pb2.ReadSequencerFlagRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadSequencerFlagResponse.FromString, - _registered_method=True) + ) self.WriteSequencerRegister = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', request_serializer=nidigitalpattern__pb2.WriteSequencerRegisterRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.WriteSequencerRegisterResponse.FromString, - _registered_method=True) + ) self.ReadSequencerRegister = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', request_serializer=nidigitalpattern__pb2.ReadSequencerRegisterRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.ReadSequencerRegisterResponse.FromString, - _registered_method=True) + ) self.EnableMatchFailCombination = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', request_serializer=nidigitalpattern__pb2.EnableMatchFailCombinationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.EnableMatchFailCombinationResponse.FromString, - _registered_method=True) + ) self.GetSitePassFail = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', request_serializer=nidigitalpattern__pb2.GetSitePassFailRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetSitePassFailResponse.FromString, - _registered_method=True) + ) self.GetFailCount = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetFailCount', request_serializer=nidigitalpattern__pb2.GetFailCountRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetFailCountResponse.FromString, - _registered_method=True) + ) self.GetPinResultsPinInformation = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', request_serializer=nidigitalpattern__pb2.GetPinResultsPinInformationRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetPinResultsPinInformationResponse.FromString, - _registered_method=True) + ) self.GetSiteResultsSiteNumbers = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', request_serializer=nidigitalpattern__pb2.GetSiteResultsSiteNumbersRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetSiteResultsSiteNumbersResponse.FromString, - _registered_method=True) + ) self.FrequencyCounterConfigureMeasurementTime = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', request_serializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeResponse.FromString, - _registered_method=True) + ) self.FrequencyCounterConfigureMeasurementMode = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', request_serializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeResponse.FromString, - _registered_method=True) + ) self.FrequencyCounterMeasureFrequency = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', request_serializer=nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyResponse.FromString, - _registered_method=True) + ) self.GetChannelNameFromString = channel.unary_unary( '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', request_serializer=nidigitalpattern__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=nidigitalpattern__pb2.GetChannelNameFromStringResponse.FromString, - _registered_method=True) + ) class NiDigitalServicer(object): @@ -2126,7 +2106,6 @@ def add_NiDigitalServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidigitalpattern_grpc.NiDigital', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidigitalpattern_grpc.NiDigital', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2144,21 +2123,11 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Init', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Init', nidigitalpattern__pb2.InitRequest.SerializeToString, nidigitalpattern__pb2.InitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -2171,21 +2140,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/InitWithOptions', nidigitalpattern__pb2.InitWithOptionsRequest.SerializeToString, nidigitalpattern__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -2198,21 +2157,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Close', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Close', nidigitalpattern__pb2.CloseRequest.SerializeToString, nidigitalpattern__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -2225,21 +2174,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Reset', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Reset', nidigitalpattern__pb2.ResetRequest.SerializeToString, nidigitalpattern__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetDevice(request, @@ -2252,21 +2191,11 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ResetDevice', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ResetDevice', nidigitalpattern__pb2.ResetDeviceRequest.SerializeToString, nidigitalpattern__pb2.ResetDeviceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -2279,21 +2208,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SelfTest', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelfTest', nidigitalpattern__pb2.SelfTestRequest.SerializeToString, nidigitalpattern__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -2306,21 +2225,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetError', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetError', nidigitalpattern__pb2.GetErrorRequest.SerializeToString, nidigitalpattern__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearError(request, @@ -2333,21 +2242,11 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ClearError', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClearError', nidigitalpattern__pb2.ClearErrorRequest.SerializeToString, nidigitalpattern__pb2.ClearErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorMessage(request, @@ -2360,21 +2259,11 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ErrorMessage', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ErrorMessage', nidigitalpattern__pb2.ErrorMessageRequest.SerializeToString, nidigitalpattern__pb2.ErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfCalibrate(request, @@ -2387,21 +2276,11 @@ def SelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelfCalibrate', nidigitalpattern__pb2.SelfCalibrateRequest.SerializeToString, nidigitalpattern__pb2.SelfCalibrateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -2414,21 +2293,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt32', nidigitalpattern__pb2.GetAttributeViInt32Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt64(request, @@ -2441,21 +2310,11 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViInt64', nidigitalpattern__pb2.GetAttributeViInt64Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -2468,21 +2327,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViReal64', nidigitalpattern__pb2.GetAttributeViReal64Request.SerializeToString, nidigitalpattern__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -2495,21 +2344,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViString', nidigitalpattern__pb2.GetAttributeViStringRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -2522,21 +2361,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViSession', nidigitalpattern__pb2.GetAttributeViSessionRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -2549,21 +2378,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetAttributeViBoolean', nidigitalpattern__pb2.GetAttributeViBooleanRequest.SerializeToString, nidigitalpattern__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -2576,21 +2395,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt32', nidigitalpattern__pb2.SetAttributeViInt32Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt64(request, @@ -2603,21 +2412,11 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViInt64', nidigitalpattern__pb2.SetAttributeViInt64Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -2630,21 +2429,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViReal64', nidigitalpattern__pb2.SetAttributeViReal64Request.SerializeToString, nidigitalpattern__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -2657,21 +2446,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViString', nidigitalpattern__pb2.SetAttributeViStringRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -2684,21 +2463,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViSession', nidigitalpattern__pb2.SetAttributeViSessionRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -2711,21 +2480,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SetAttributeViBoolean', nidigitalpattern__pb2.SetAttributeViBooleanRequest.SerializeToString, nidigitalpattern__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetAttribute(request, @@ -2738,21 +2497,11 @@ def ResetAttribute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ResetAttribute', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ResetAttribute', nidigitalpattern__pb2.ResetAttributeRequest.SerializeToString, nidigitalpattern__pb2.ResetAttributeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def LoadPinMap(request, @@ -2765,21 +2514,11 @@ def LoadPinMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/LoadPinMap', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadPinMap', nidigitalpattern__pb2.LoadPinMapRequest.SerializeToString, nidigitalpattern__pb2.LoadPinMapResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnableSites(request, @@ -2792,21 +2531,11 @@ def EnableSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/EnableSites', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EnableSites', nidigitalpattern__pb2.EnableSitesRequest.SerializeToString, nidigitalpattern__pb2.EnableSitesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableSites(request, @@ -2819,21 +2548,11 @@ def DisableSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/DisableSites', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableSites', nidigitalpattern__pb2.DisableSitesRequest.SerializeToString, nidigitalpattern__pb2.DisableSitesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsSiteEnabled(request, @@ -2846,21 +2565,11 @@ def IsSiteEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/IsSiteEnabled', nidigitalpattern__pb2.IsSiteEnabledRequest.SerializeToString, nidigitalpattern__pb2.IsSiteEnabledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreatePinMap(request, @@ -2873,21 +2582,11 @@ def CreatePinMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreatePinMap', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreatePinMap', nidigitalpattern__pb2.CreatePinMapRequest.SerializeToString, nidigitalpattern__pb2.CreatePinMapResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreatePinGroup(request, @@ -2900,21 +2599,11 @@ def CreatePinGroup(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreatePinGroup', nidigitalpattern__pb2.CreatePinGroupRequest.SerializeToString, nidigitalpattern__pb2.CreatePinGroupResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateChannelMap(request, @@ -2927,21 +2616,11 @@ def CreateChannelMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateChannelMap', nidigitalpattern__pb2.CreateChannelMapRequest.SerializeToString, nidigitalpattern__pb2.CreateChannelMapResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MapPinToChannel(request, @@ -2954,21 +2633,11 @@ def MapPinToChannel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/MapPinToChannel', nidigitalpattern__pb2.MapPinToChannelRequest.SerializeToString, nidigitalpattern__pb2.MapPinToChannelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EndChannelMap(request, @@ -2981,21 +2650,11 @@ def EndChannelMap(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/EndChannelMap', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EndChannelMap', nidigitalpattern__pb2.EndChannelMapRequest.SerializeToString, nidigitalpattern__pb2.EndChannelMapResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPinName(request, @@ -3008,21 +2667,11 @@ def GetPinName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetPinName', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPinName', nidigitalpattern__pb2.GetPinNameRequest.SerializeToString, nidigitalpattern__pb2.GetPinNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -3035,21 +2684,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetChannelName', nidigitalpattern__pb2.GetChannelNameRequest.SerializeToString, nidigitalpattern__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelectFunction(request, @@ -3062,21 +2701,11 @@ def SelectFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SelectFunction', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SelectFunction', nidigitalpattern__pb2.SelectFunctionRequest.SerializeToString, nidigitalpattern__pb2.SelectFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadStatic(request, @@ -3089,21 +2718,11 @@ def ReadStatic(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ReadStatic', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadStatic', nidigitalpattern__pb2.ReadStaticRequest.SerializeToString, nidigitalpattern__pb2.ReadStaticResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteStatic(request, @@ -3116,21 +2735,11 @@ def WriteStatic(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteStatic', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteStatic', nidigitalpattern__pb2.WriteStaticRequest.SerializeToString, nidigitalpattern__pb2.WriteStaticResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClockGeneratorGenerateClock(request, @@ -3143,21 +2752,11 @@ def ClockGeneratorGenerateClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorGenerateClock', nidigitalpattern__pb2.ClockGeneratorGenerateClockRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorGenerateClockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClockGeneratorInitiate(request, @@ -3170,21 +2769,11 @@ def ClockGeneratorInitiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorInitiate', nidigitalpattern__pb2.ClockGeneratorInitiateRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorInitiateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClockGeneratorAbort(request, @@ -3197,21 +2786,11 @@ def ClockGeneratorAbort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ClockGeneratorAbort', nidigitalpattern__pb2.ClockGeneratorAbortRequest.SerializeToString, nidigitalpattern__pb2.ClockGeneratorAbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def LoadSpecifications(request, @@ -3224,21 +2803,11 @@ def LoadSpecifications(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadSpecifications', nidigitalpattern__pb2.LoadSpecificationsRequest.SerializeToString, nidigitalpattern__pb2.LoadSpecificationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UnloadSpecifications(request, @@ -3251,21 +2820,11 @@ def UnloadSpecifications(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/UnloadSpecifications', nidigitalpattern__pb2.UnloadSpecificationsRequest.SerializeToString, nidigitalpattern__pb2.UnloadSpecificationsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def LoadLevels(request, @@ -3278,21 +2837,11 @@ def LoadLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/LoadLevels', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadLevels', nidigitalpattern__pb2.LoadLevelsRequest.SerializeToString, nidigitalpattern__pb2.LoadLevelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def LoadTiming(request, @@ -3305,21 +2854,11 @@ def LoadTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/LoadTiming', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadTiming', nidigitalpattern__pb2.LoadTimingRequest.SerializeToString, nidigitalpattern__pb2.LoadTimingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyLevelsAndTiming(request, @@ -3332,21 +2871,11 @@ def ApplyLevelsAndTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ApplyLevelsAndTiming', nidigitalpattern__pb2.ApplyLevelsAndTimingRequest.SerializeToString, nidigitalpattern__pb2.ApplyLevelsAndTimingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVoltageLevels(request, @@ -3359,21 +2888,11 @@ def ConfigureVoltageLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureVoltageLevels', nidigitalpattern__pb2.ConfigureVoltageLevelsRequest.SerializeToString, nidigitalpattern__pb2.ConfigureVoltageLevelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureActiveLoadLevels(request, @@ -3386,21 +2905,11 @@ def ConfigureActiveLoadLevels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureActiveLoadLevels', nidigitalpattern__pb2.ConfigureActiveLoadLevelsRequest.SerializeToString, nidigitalpattern__pb2.ConfigureActiveLoadLevelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTerminationMode(request, @@ -3413,21 +2922,11 @@ def ConfigureTerminationMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTerminationMode', nidigitalpattern__pb2.ConfigureTerminationModeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTerminationModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateTimeSet(request, @@ -3440,21 +2939,11 @@ def CreateTimeSet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateTimeSet', nidigitalpattern__pb2.CreateTimeSetRequest.SerializeToString, nidigitalpattern__pb2.CreateTimeSetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetPeriod(request, @@ -3467,21 +2956,11 @@ def ConfigureTimeSetPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetPeriod', nidigitalpattern__pb2.ConfigureTimeSetPeriodRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetPeriodResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetDriveEdges(request, @@ -3494,21 +2973,11 @@ def ConfigureTimeSetDriveEdges(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges', nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveEdgesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetCompareEdgesStrobe(request, @@ -3521,21 +2990,11 @@ def ConfigureTimeSetCompareEdgesStrobe(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe', nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetDriveFormat(request, @@ -3548,21 +3007,11 @@ def ConfigureTimeSetDriveFormat(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveFormat', nidigitalpattern__pb2.ConfigureTimeSetDriveFormatRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveFormatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteAllTimeSets(request, @@ -3575,21 +3024,11 @@ def DeleteAllTimeSets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DeleteAllTimeSets', nidigitalpattern__pb2.DeleteAllTimeSetsRequest.SerializeToString, nidigitalpattern__pb2.DeleteAllTimeSetsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetEdgeMultiplier(request, @@ -3602,21 +3041,11 @@ def ConfigureTimeSetEdgeMultiplier(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdgeMultiplier', nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetEdgeMultiplierResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetDriveEdges2x(request, @@ -3629,21 +3058,11 @@ def ConfigureTimeSetDriveEdges2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetDriveEdges2x', nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetDriveEdges2xResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetCompareEdgesStrobe2x(request, @@ -3656,21 +3075,11 @@ def ConfigureTimeSetCompareEdgesStrobe2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetCompareEdgesStrobe2x', nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetCompareEdgesStrobe2xResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTimeSetEdge(request, @@ -3683,21 +3092,11 @@ def ConfigureTimeSetEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureTimeSetEdge', nidigitalpattern__pb2.ConfigureTimeSetEdgeRequest.SerializeToString, nidigitalpattern__pb2.ConfigureTimeSetEdgeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTimeSetPeriod(request, @@ -3710,21 +3109,11 @@ def GetTimeSetPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetPeriod', nidigitalpattern__pb2.GetTimeSetPeriodRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetPeriodResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTimeSetEdge(request, @@ -3737,21 +3126,11 @@ def GetTimeSetEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdge', nidigitalpattern__pb2.GetTimeSetEdgeRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetEdgeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTimeSetEdgeMultiplier(request, @@ -3764,21 +3143,11 @@ def GetTimeSetEdgeMultiplier(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetEdgeMultiplier', nidigitalpattern__pb2.GetTimeSetEdgeMultiplierRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetEdgeMultiplierResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTimeSetDriveFormat(request, @@ -3791,21 +3160,11 @@ def GetTimeSetDriveFormat(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetDriveFormat', nidigitalpattern__pb2.GetTimeSetDriveFormatRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetDriveFormatResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTimeSetName(request, @@ -3818,21 +3177,11 @@ def GetTimeSetName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetTimeSetName', nidigitalpattern__pb2.GetTimeSetNameRequest.SerializeToString, nidigitalpattern__pb2.GetTimeSetNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def TDR(request, @@ -3845,21 +3194,11 @@ def TDR(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/TDR', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/TDR', nidigitalpattern__pb2.TDRRequest.SerializeToString, nidigitalpattern__pb2.TDRResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ApplyTDROffsets(request, @@ -3872,21 +3211,11 @@ def ApplyTDROffsets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ApplyTDROffsets', nidigitalpattern__pb2.ApplyTDROffsetsRequest.SerializeToString, nidigitalpattern__pb2.ApplyTDROffsetsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureOutputFunction(request, @@ -3899,21 +3228,11 @@ def PPMUConfigureOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureOutputFunction', nidigitalpattern__pb2.PPMUConfigureOutputFunctionRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureOutputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureApertureTime(request, @@ -3926,21 +3245,11 @@ def PPMUConfigureApertureTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureApertureTime', nidigitalpattern__pb2.PPMUConfigureApertureTimeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureApertureTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureVoltageLevel(request, @@ -3953,21 +3262,11 @@ def PPMUConfigureVoltageLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLevel', nidigitalpattern__pb2.PPMUConfigureVoltageLevelRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureVoltageLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureCurrentLimit(request, @@ -3980,21 +3279,11 @@ def PPMUConfigureCurrentLimit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimit', nidigitalpattern__pb2.PPMUConfigureCurrentLimitRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLimitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureCurrentLimitRange(request, @@ -4007,21 +3296,11 @@ def PPMUConfigureCurrentLimitRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLimitRange', nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLimitRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureCurrentLevel(request, @@ -4034,21 +3313,11 @@ def PPMUConfigureCurrentLevel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevel', nidigitalpattern__pb2.PPMUConfigureCurrentLevelRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLevelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureCurrentLevelRange(request, @@ -4061,21 +3330,11 @@ def PPMUConfigureCurrentLevelRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureCurrentLevelRange', nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureCurrentLevelRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUConfigureVoltageLimits(request, @@ -4088,21 +3347,11 @@ def PPMUConfigureVoltageLimits(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUConfigureVoltageLimits', nidigitalpattern__pb2.PPMUConfigureVoltageLimitsRequest.SerializeToString, nidigitalpattern__pb2.PPMUConfigureVoltageLimitsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUSource(request, @@ -4115,21 +3364,11 @@ def PPMUSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUSource', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUSource', nidigitalpattern__pb2.PPMUSourceRequest.SerializeToString, nidigitalpattern__pb2.PPMUSourceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PPMUMeasure(request, @@ -4142,21 +3381,11 @@ def PPMUMeasure(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/PPMUMeasure', nidigitalpattern__pb2.PPMUMeasureRequest.SerializeToString, nidigitalpattern__pb2.PPMUMeasureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def LoadPattern(request, @@ -4169,21 +3398,11 @@ def LoadPattern(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/LoadPattern', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/LoadPattern', nidigitalpattern__pb2.LoadPatternRequest.SerializeToString, nidigitalpattern__pb2.LoadPatternResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UnloadAllPatterns(request, @@ -4196,21 +3415,11 @@ def UnloadAllPatterns(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/UnloadAllPatterns', nidigitalpattern__pb2.UnloadAllPatternsRequest.SerializeToString, nidigitalpattern__pb2.UnloadAllPatternsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureStartLabel(request, @@ -4223,21 +3432,11 @@ def ConfigureStartLabel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureStartLabel', nidigitalpattern__pb2.ConfigureStartLabelRequest.SerializeToString, nidigitalpattern__pb2.ConfigureStartLabelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePatternBurstSites(request, @@ -4250,21 +3449,11 @@ def ConfigurePatternBurstSites(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigurePatternBurstSites', nidigitalpattern__pb2.ConfigurePatternBurstSitesRequest.SerializeToString, nidigitalpattern__pb2.ConfigurePatternBurstSitesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPatternPinIndexes(request, @@ -4277,21 +3466,11 @@ def GetPatternPinIndexes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternPinIndexes', nidigitalpattern__pb2.GetPatternPinIndexesRequest.SerializeToString, nidigitalpattern__pb2.GetPatternPinIndexesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPatternPinList(request, @@ -4304,21 +3483,11 @@ def GetPatternPinList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternPinList', nidigitalpattern__pb2.GetPatternPinListRequest.SerializeToString, nidigitalpattern__pb2.GetPatternPinListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPatternName(request, @@ -4331,21 +3500,11 @@ def GetPatternName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetPatternName', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPatternName', nidigitalpattern__pb2.GetPatternNameRequest.SerializeToString, nidigitalpattern__pb2.GetPatternNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BurstPattern(request, @@ -4358,21 +3517,11 @@ def BurstPattern(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/BurstPattern', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/BurstPattern', nidigitalpattern__pb2.BurstPatternRequest.SerializeToString, nidigitalpattern__pb2.BurstPatternResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BurstPatternSynchronized(request, @@ -4385,21 +3534,11 @@ def BurstPatternSynchronized(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/BurstPatternSynchronized', nidigitalpattern__pb2.BurstPatternSynchronizedRequest.SerializeToString, nidigitalpattern__pb2.BurstPatternSynchronizedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -4412,21 +3551,11 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Commit', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Commit', nidigitalpattern__pb2.CommitRequest.SerializeToString, nidigitalpattern__pb2.CommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Initiate(request, @@ -4439,21 +3568,11 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Initiate', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Initiate', nidigitalpattern__pb2.InitiateRequest.SerializeToString, nidigitalpattern__pb2.InitiateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsDone(request, @@ -4466,21 +3585,11 @@ def IsDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/IsDone', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/IsDone', nidigitalpattern__pb2.IsDoneRequest.SerializeToString, nidigitalpattern__pb2.IsDoneResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitUntilDone(request, @@ -4493,21 +3602,11 @@ def WaitUntilDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WaitUntilDone', nidigitalpattern__pb2.WaitUntilDoneRequest.SerializeToString, nidigitalpattern__pb2.WaitUntilDoneResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Abort(request, @@ -4520,21 +3619,11 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/Abort', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/Abort', nidigitalpattern__pb2.AbortRequest.SerializeToString, nidigitalpattern__pb2.AbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AbortKeepAlive(request, @@ -4547,21 +3636,11 @@ def AbortKeepAlive(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/AbortKeepAlive', nidigitalpattern__pb2.AbortKeepAliveRequest.SerializeToString, nidigitalpattern__pb2.AbortKeepAliveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePatternLabelHistoryRAMTrigger(request, @@ -4574,21 +3653,11 @@ def ConfigurePatternLabelHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigurePatternLabelHistoryRAMTrigger', nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigurePatternLabelHistoryRAMTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCycleNumberHistoryRAMTrigger(request, @@ -4601,21 +3670,11 @@ def ConfigureCycleNumberHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureCycleNumberHistoryRAMTrigger', nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureCycleNumberHistoryRAMTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureFirstFailureHistoryRAMTrigger(request, @@ -4628,21 +3687,11 @@ def ConfigureFirstFailureHistoryRAMTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureFirstFailureHistoryRAMTrigger', nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureFirstFailureHistoryRAMTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureHistoryRAMCyclesToAcquire(request, @@ -4655,21 +3704,11 @@ def ConfigureHistoryRAMCyclesToAcquire(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureHistoryRAMCyclesToAcquire', nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireRequest.SerializeToString, nidigitalpattern__pb2.ConfigureHistoryRAMCyclesToAcquireResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetHistoryRAMSampleCount(request, @@ -4682,21 +3721,11 @@ def GetHistoryRAMSampleCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetHistoryRAMSampleCount', nidigitalpattern__pb2.GetHistoryRAMSampleCountRequest.SerializeToString, nidigitalpattern__pb2.GetHistoryRAMSampleCountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchHistoryRAMCycleInformation(request, @@ -4709,21 +3738,11 @@ def FetchHistoryRAMCycleInformation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCycleInformation', nidigitalpattern__pb2.FetchHistoryRAMCycleInformationRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMCycleInformationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchHistoryRAMCyclePinData(request, @@ -4736,21 +3755,11 @@ def FetchHistoryRAMCyclePinData(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMCyclePinData', nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMCyclePinDataResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchHistoryRAMScanCycleNumber(request, @@ -4763,21 +3772,11 @@ def FetchHistoryRAMScanCycleNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchHistoryRAMScanCycleNumber', nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberRequest.SerializeToString, nidigitalpattern__pb2.FetchHistoryRAMScanCycleNumberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateSourceWaveformParallel(request, @@ -4790,21 +3789,11 @@ def CreateSourceWaveformParallel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformParallel', nidigitalpattern__pb2.CreateSourceWaveformParallelRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformParallelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateSourceWaveformSerial(request, @@ -4817,21 +3806,11 @@ def CreateSourceWaveformSerial(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformSerial', nidigitalpattern__pb2.CreateSourceWaveformSerialRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformSerialResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateSourceWaveformFromFileTDMS(request, @@ -4844,21 +3823,11 @@ def CreateSourceWaveformFromFileTDMS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateSourceWaveformFromFileTDMS', nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSRequest.SerializeToString, nidigitalpattern__pb2.CreateSourceWaveformFromFileTDMSResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSourceWaveformBroadcastU32(request, @@ -4871,21 +3840,11 @@ def WriteSourceWaveformBroadcastU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformBroadcastU32', nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Request.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformBroadcastU32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSourceWaveformSiteUniqueU32(request, @@ -4898,21 +3857,11 @@ def WriteSourceWaveformSiteUniqueU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformSiteUniqueU32', nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Request.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformSiteUniqueU32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSourceWaveformDataFromFileTDMS(request, @@ -4925,21 +3874,11 @@ def WriteSourceWaveformDataFromFileTDMS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSourceWaveformDataFromFileTDMS', nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSRequest.SerializeToString, nidigitalpattern__pb2.WriteSourceWaveformDataFromFileTDMSResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateCaptureWaveformParallel(request, @@ -4952,21 +3891,11 @@ def CreateCaptureWaveformParallel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformParallel', nidigitalpattern__pb2.CreateCaptureWaveformParallelRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformParallelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateCaptureWaveformSerial(request, @@ -4979,21 +3908,11 @@ def CreateCaptureWaveformSerial(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformSerial', nidigitalpattern__pb2.CreateCaptureWaveformSerialRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformSerialResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateCaptureWaveformFromFileDigicapture(request, @@ -5006,21 +3925,11 @@ def CreateCaptureWaveformFromFileDigicapture(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/CreateCaptureWaveformFromFileDigicapture', nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureRequest.SerializeToString, nidigitalpattern__pb2.CreateCaptureWaveformFromFileDigicaptureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchCaptureWaveformU32(request, @@ -5033,21 +3942,11 @@ def FetchCaptureWaveformU32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FetchCaptureWaveformU32', nidigitalpattern__pb2.FetchCaptureWaveformU32Request.SerializeToString, nidigitalpattern__pb2.FetchCaptureWaveformU32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportSignal(request, @@ -5060,21 +3959,11 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ExportSignal', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ExportSignal', nidigitalpattern__pb2.ExportSignalRequest.SerializeToString, nidigitalpattern__pb2.ExportSignalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -5087,21 +3976,11 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeStartTrigger', nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -5114,21 +3993,11 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeStartTrigger', nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableStartTrigger(request, @@ -5141,21 +4010,11 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableStartTrigger', nidigitalpattern__pb2.DisableStartTriggerRequest.SerializeToString, nidigitalpattern__pb2.DisableStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeConditionalJumpTrigger(request, @@ -5168,21 +4027,11 @@ def ConfigureDigitalEdgeConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureDigitalEdgeConditionalJumpTrigger', nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureDigitalEdgeConditionalJumpTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeConditionalJumpTrigger(request, @@ -5195,21 +4044,11 @@ def ConfigureSoftwareEdgeConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ConfigureSoftwareEdgeConditionalJumpTrigger', nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.ConfigureSoftwareEdgeConditionalJumpTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableConditionalJumpTrigger(request, @@ -5222,21 +4061,11 @@ def DisableConditionalJumpTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/DisableConditionalJumpTrigger', nidigitalpattern__pb2.DisableConditionalJumpTriggerRequest.SerializeToString, nidigitalpattern__pb2.DisableConditionalJumpTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -5249,21 +4078,11 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/SendSoftwareEdgeTrigger', nidigitalpattern__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nidigitalpattern__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSequencerFlag(request, @@ -5276,21 +4095,11 @@ def WriteSequencerFlag(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlag', nidigitalpattern__pb2.WriteSequencerFlagRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerFlagResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSequencerFlagSynchronized(request, @@ -5303,21 +4112,11 @@ def WriteSequencerFlagSynchronized(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerFlagSynchronized', nidigitalpattern__pb2.WriteSequencerFlagSynchronizedRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerFlagSynchronizedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadSequencerFlag(request, @@ -5330,21 +4129,11 @@ def ReadSequencerFlag(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadSequencerFlag', nidigitalpattern__pb2.ReadSequencerFlagRequest.SerializeToString, nidigitalpattern__pb2.ReadSequencerFlagResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteSequencerRegister(request, @@ -5357,21 +4146,11 @@ def WriteSequencerRegister(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/WriteSequencerRegister', nidigitalpattern__pb2.WriteSequencerRegisterRequest.SerializeToString, nidigitalpattern__pb2.WriteSequencerRegisterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadSequencerRegister(request, @@ -5384,21 +4163,11 @@ def ReadSequencerRegister(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/ReadSequencerRegister', nidigitalpattern__pb2.ReadSequencerRegisterRequest.SerializeToString, nidigitalpattern__pb2.ReadSequencerRegisterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnableMatchFailCombination(request, @@ -5411,21 +4180,11 @@ def EnableMatchFailCombination(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/EnableMatchFailCombination', nidigitalpattern__pb2.EnableMatchFailCombinationRequest.SerializeToString, nidigitalpattern__pb2.EnableMatchFailCombinationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSitePassFail(request, @@ -5438,21 +4197,11 @@ def GetSitePassFail(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetSitePassFail', nidigitalpattern__pb2.GetSitePassFailRequest.SerializeToString, nidigitalpattern__pb2.GetSitePassFailResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFailCount(request, @@ -5465,21 +4214,11 @@ def GetFailCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetFailCount', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetFailCount', nidigitalpattern__pb2.GetFailCountRequest.SerializeToString, nidigitalpattern__pb2.GetFailCountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPinResultsPinInformation(request, @@ -5492,21 +4231,11 @@ def GetPinResultsPinInformation(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetPinResultsPinInformation', nidigitalpattern__pb2.GetPinResultsPinInformationRequest.SerializeToString, nidigitalpattern__pb2.GetPinResultsPinInformationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSiteResultsSiteNumbers(request, @@ -5519,21 +4248,11 @@ def GetSiteResultsSiteNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetSiteResultsSiteNumbers', nidigitalpattern__pb2.GetSiteResultsSiteNumbersRequest.SerializeToString, nidigitalpattern__pb2.GetSiteResultsSiteNumbersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FrequencyCounterConfigureMeasurementTime(request, @@ -5546,21 +4265,11 @@ def FrequencyCounterConfigureMeasurementTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementTime', nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FrequencyCounterConfigureMeasurementMode(request, @@ -5573,21 +4282,11 @@ def FrequencyCounterConfigureMeasurementMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterConfigureMeasurementMode', nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterConfigureMeasurementModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FrequencyCounterMeasureFrequency(request, @@ -5600,21 +4299,11 @@ def FrequencyCounterMeasureFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/FrequencyCounterMeasureFrequency', nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyRequest.SerializeToString, nidigitalpattern__pb2.FrequencyCounterMeasureFrequencyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelNameFromString(request, @@ -5627,18 +4316,8 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', + return grpc.experimental.unary_unary(request, target, '/nidigitalpattern_grpc.NiDigital/GetChannelNameFromString', nidigitalpattern__pb2.GetChannelNameFromStringRequest.SerializeToString, nidigitalpattern__pb2.GetChannelNameFromStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidigital/nidigital/session_pb2.py b/generated/nidigital/nidigital/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/nidigital/nidigital/session_pb2.py +++ b/generated/nidigital/nidigital/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidigital/nidigital/session_pb2_grpc.py b/generated/nidigital/nidigital/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/nidigital/nidigital/session_pb2_grpc.py +++ b/generated/nidigital/nidigital/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidigital/setup.py b/generated/nidigital/setup.py index 37238ce24..3c6001b71 100644 --- a/generated/nidigital/setup.py +++ b/generated/nidigital/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/nidmm/nidmm/nidevice_pb2.py b/generated/nidmm/nidmm/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/nidmm/nidmm/nidevice_pb2.py +++ b/generated/nidmm/nidmm/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nidmm/nidmm/nidevice_pb2_grpc.py b/generated/nidmm/nidmm/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/nidmm/nidmm/nidevice_pb2_grpc.py +++ b/generated/nidmm/nidmm/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/nidmm/nidmm/nidmm_pb2.py b/generated/nidmm/nidmm/nidmm_pb2.py index 5b9947d7a..4be527f87 100644 --- a/generated/nidmm/nidmm/nidmm_pb2.py +++ b/generated/nidmm/nidmm/nidmm_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidmm.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidmm.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,17 +19,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidmm_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\017com.ni.grpc.dmmB\005NiDmmP\001\252\002\034NationalInstruments.Grpc.Dmm' - _globals['_NIDMMINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIDMMINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_NIDMMREAL64ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIDMMREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\017com.ni.grpc.dmmB\005NiDmmP\001\252\002\034NationalInstruments.Grpc.Dmm' + _NIDMMINT32ATTRIBUTEVALUES._options = None + _NIDMMINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _NIDMMREAL64ATTRIBUTEVALUES._options = None + _NIDMMREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' + _INITRESPONSE.fields_by_name['error_message']._options = None + _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIDMMATTRIBUTE']._serialized_start=17041 _globals['_NIDMMATTRIBUTE']._serialized_end=20507 _globals['_FUNCTION']._serialized_start=20510 diff --git a/generated/nidmm/nidmm/nidmm_pb2_grpc.py b/generated/nidmm/nidmm/nidmm_pb2_grpc.py index fdffdc92a..cbe353554 100644 --- a/generated/nidmm/nidmm/nidmm_pb2_grpc.py +++ b/generated/nidmm/nidmm/nidmm_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import nidmm_pb2 as nidmm__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidmm_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiDmmStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,427 +18,427 @@ def __init__(self, channel): '/nidmm_grpc.NiDmm/Init', request_serializer=nidmm__pb2.InitRequest.SerializeToString, response_deserializer=nidmm__pb2.InitResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/nidmm_grpc.NiDmm/InitWithOptions', request_serializer=nidmm__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nidmm__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/nidmm_grpc.NiDmm/Close', request_serializer=nidmm__pb2.CloseRequest.SerializeToString, response_deserializer=nidmm__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/nidmm_grpc.NiDmm/GetError', request_serializer=nidmm__pb2.GetErrorRequest.SerializeToString, response_deserializer=nidmm__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.GetErrorMessage = channel.unary_unary( '/nidmm_grpc.NiDmm/GetErrorMessage', request_serializer=nidmm__pb2.GetErrorMessageRequest.SerializeToString, response_deserializer=nidmm__pb2.GetErrorMessageResponse.FromString, - _registered_method=True) + ) self.ClearError = channel.unary_unary( '/nidmm_grpc.NiDmm/ClearError', request_serializer=nidmm__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nidmm__pb2.ClearErrorResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/nidmm_grpc.NiDmm/Reset', request_serializer=nidmm__pb2.ResetRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/nidmm_grpc.NiDmm/SelfTest', request_serializer=nidmm__pb2.SelfTestRequest.SerializeToString, response_deserializer=nidmm__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.SelfCal = channel.unary_unary( '/nidmm_grpc.NiDmm/SelfCal', request_serializer=nidmm__pb2.SelfCalRequest.SerializeToString, response_deserializer=nidmm__pb2.SelfCalResponse.FromString, - _registered_method=True) + ) self.RevisionQuery = channel.unary_unary( '/nidmm_grpc.NiDmm/RevisionQuery', request_serializer=nidmm__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nidmm__pb2.RevisionQueryResponse.FromString, - _registered_method=True) + ) self.ResetWithDefaults = channel.unary_unary( '/nidmm_grpc.NiDmm/ResetWithDefaults', request_serializer=nidmm__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetWithDefaultsResponse.FromString, - _registered_method=True) + ) self.Disable = channel.unary_unary( '/nidmm_grpc.NiDmm/Disable', request_serializer=nidmm__pb2.DisableRequest.SerializeToString, response_deserializer=nidmm__pb2.DisableResponse.FromString, - _registered_method=True) + ) self.GetMeasurementPeriod = channel.unary_unary( '/nidmm_grpc.NiDmm/GetMeasurementPeriod', request_serializer=nidmm__pb2.GetMeasurementPeriodRequest.SerializeToString, response_deserializer=nidmm__pb2.GetMeasurementPeriodResponse.FromString, - _registered_method=True) + ) self.ConfigureTrigger = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTrigger', request_serializer=nidmm__pb2.ConfigureTriggerRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTriggerResponse.FromString, - _registered_method=True) + ) self.Read = channel.unary_unary( '/nidmm_grpc.NiDmm/Read', request_serializer=nidmm__pb2.ReadRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadResponse.FromString, - _registered_method=True) + ) self.Fetch = channel.unary_unary( '/nidmm_grpc.NiDmm/Fetch', request_serializer=nidmm__pb2.FetchRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchResponse.FromString, - _registered_method=True) + ) self.Abort = channel.unary_unary( '/nidmm_grpc.NiDmm/Abort', request_serializer=nidmm__pb2.AbortRequest.SerializeToString, response_deserializer=nidmm__pb2.AbortResponse.FromString, - _registered_method=True) + ) self.Initiate = channel.unary_unary( '/nidmm_grpc.NiDmm/Initiate', request_serializer=nidmm__pb2.InitiateRequest.SerializeToString, response_deserializer=nidmm__pb2.InitiateResponse.FromString, - _registered_method=True) + ) self.IsOverRange = channel.unary_unary( '/nidmm_grpc.NiDmm/IsOverRange', request_serializer=nidmm__pb2.IsOverRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.IsOverRangeResponse.FromString, - _registered_method=True) + ) self.IsUnderRange = channel.unary_unary( '/nidmm_grpc.NiDmm/IsUnderRange', request_serializer=nidmm__pb2.IsUnderRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.IsUnderRangeResponse.FromString, - _registered_method=True) + ) self.ConfigureACBandwidth = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureACBandwidth', request_serializer=nidmm__pb2.ConfigureACBandwidthRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureACBandwidthResponse.FromString, - _registered_method=True) + ) self.ConfigureFrequencyVoltageRange = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', request_serializer=nidmm__pb2.ConfigureFrequencyVoltageRangeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureFrequencyVoltageRangeResponse.FromString, - _registered_method=True) + ) self.ConfigureMeasCompleteDest = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', request_serializer=nidmm__pb2.ConfigureMeasCompleteDestRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasCompleteDestResponse.FromString, - _registered_method=True) + ) self.ConfigureMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMultiPoint', request_serializer=nidmm__pb2.ConfigureMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMultiPointResponse.FromString, - _registered_method=True) + ) self.ReadMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadMultiPoint', request_serializer=nidmm__pb2.ReadMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadMultiPointResponse.FromString, - _registered_method=True) + ) self.FetchMultiPoint = channel.unary_unary( '/nidmm_grpc.NiDmm/FetchMultiPoint', request_serializer=nidmm__pb2.FetchMultiPointRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchMultiPointResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', request_serializer=nidmm__pb2.ConfigureTriggerSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTriggerSlopeResponse.FromString, - _registered_method=True) + ) self.SendSoftwareTrigger = channel.unary_unary( '/nidmm_grpc.NiDmm/SendSoftwareTrigger', request_serializer=nidmm__pb2.SendSoftwareTriggerRequest.SerializeToString, response_deserializer=nidmm__pb2.SendSoftwareTriggerResponse.FromString, - _registered_method=True) + ) self.GetApertureTimeInfo = channel.unary_unary( '/nidmm_grpc.NiDmm/GetApertureTimeInfo', request_serializer=nidmm__pb2.GetApertureTimeInfoRequest.SerializeToString, response_deserializer=nidmm__pb2.GetApertureTimeInfoResponse.FromString, - _registered_method=True) + ) self.GetAutoRangeValue = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAutoRangeValue', request_serializer=nidmm__pb2.GetAutoRangeValueRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAutoRangeValueResponse.FromString, - _registered_method=True) + ) self.ConfigureAutoZeroMode = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', request_serializer=nidmm__pb2.ConfigureAutoZeroModeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureAutoZeroModeResponse.FromString, - _registered_method=True) + ) self.ConfigurePowerLineFrequency = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', request_serializer=nidmm__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigurePowerLineFrequencyResponse.FromString, - _registered_method=True) + ) self.ConfigureMeasurementDigits = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', request_serializer=nidmm__pb2.ConfigureMeasurementDigitsRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasurementDigitsResponse.FromString, - _registered_method=True) + ) self.ConfigureMeasurementAbsolute = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', request_serializer=nidmm__pb2.ConfigureMeasurementAbsoluteRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasurementAbsoluteResponse.FromString, - _registered_method=True) + ) self.ConfigureMeasCompleteSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', request_serializer=nidmm__pb2.ConfigureMeasCompleteSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureMeasCompleteSlopeResponse.FromString, - _registered_method=True) + ) self.ConfigureSampleTriggerSlope = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', request_serializer=nidmm__pb2.ConfigureSampleTriggerSlopeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureSampleTriggerSlopeResponse.FromString, - _registered_method=True) + ) self.ReadStatus = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadStatus', request_serializer=nidmm__pb2.ReadStatusRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadStatusResponse.FromString, - _registered_method=True) + ) self.Control = channel.unary_unary( '/nidmm_grpc.NiDmm/Control', request_serializer=nidmm__pb2.ControlRequest.SerializeToString, response_deserializer=nidmm__pb2.ControlResponse.FromString, - _registered_method=True) + ) self.ConfigureADCCalibration = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureADCCalibration', request_serializer=nidmm__pb2.ConfigureADCCalibrationRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureADCCalibrationResponse.FromString, - _registered_method=True) + ) self.ConfigureOffsetCompOhms = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', request_serializer=nidmm__pb2.ConfigureOffsetCompOhmsRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureOffsetCompOhmsResponse.FromString, - _registered_method=True) + ) self.ConfigureCurrentSource = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureCurrentSource', request_serializer=nidmm__pb2.ConfigureCurrentSourceRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureCurrentSourceResponse.FromString, - _registered_method=True) + ) self.ConfigureCableCompType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureCableCompType', request_serializer=nidmm__pb2.ConfigureCableCompTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureCableCompTypeResponse.FromString, - _registered_method=True) + ) self.PerformOpenCableComp = channel.unary_unary( '/nidmm_grpc.NiDmm/PerformOpenCableComp', request_serializer=nidmm__pb2.PerformOpenCableCompRequest.SerializeToString, response_deserializer=nidmm__pb2.PerformOpenCableCompResponse.FromString, - _registered_method=True) + ) self.PerformShortCableComp = channel.unary_unary( '/nidmm_grpc.NiDmm/PerformShortCableComp', request_serializer=nidmm__pb2.PerformShortCableCompRequest.SerializeToString, response_deserializer=nidmm__pb2.PerformShortCableCompResponse.FromString, - _registered_method=True) + ) self.ConfigureOpenCableCompValues = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', request_serializer=nidmm__pb2.ConfigureOpenCableCompValuesRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureOpenCableCompValuesResponse.FromString, - _registered_method=True) + ) self.ConfigureShortCableCompValues = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', request_serializer=nidmm__pb2.ConfigureShortCableCompValuesRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureShortCableCompValuesResponse.FromString, - _registered_method=True) + ) self.ConfigureWaveformAcquisition = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', request_serializer=nidmm__pb2.ConfigureWaveformAcquisitionRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureWaveformAcquisitionResponse.FromString, - _registered_method=True) + ) self.ConfigureWaveformCoupling = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', request_serializer=nidmm__pb2.ConfigureWaveformCouplingRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureWaveformCouplingResponse.FromString, - _registered_method=True) + ) self.FetchWaveform = channel.unary_unary( '/nidmm_grpc.NiDmm/FetchWaveform', request_serializer=nidmm__pb2.FetchWaveformRequest.SerializeToString, response_deserializer=nidmm__pb2.FetchWaveformResponse.FromString, - _registered_method=True) + ) self.ReadWaveform = channel.unary_unary( '/nidmm_grpc.NiDmm/ReadWaveform', request_serializer=nidmm__pb2.ReadWaveformRequest.SerializeToString, response_deserializer=nidmm__pb2.ReadWaveformResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViInt32', request_serializer=nidmm__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViInt32', request_serializer=nidmm__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.CheckAttributeViInt32 = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViInt32', request_serializer=nidmm__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViReal64', request_serializer=nidmm__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViReal64', request_serializer=nidmm__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViReal64 = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViReal64', request_serializer=nidmm__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViString', request_serializer=nidmm__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViString', request_serializer=nidmm__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViString = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViString', request_serializer=nidmm__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViSession', request_serializer=nidmm__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViSession', request_serializer=nidmm__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViSession = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViSession', request_serializer=nidmm__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/GetAttributeViBoolean', request_serializer=nidmm__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/SetAttributeViBoolean', request_serializer=nidmm__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViBoolean = channel.unary_unary( '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', request_serializer=nidmm__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=nidmm__pb2.CheckAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', request_serializer=nidmm__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidmm__pb2.ImportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', request_serializer=nidmm__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nidmm__pb2.ExportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', request_serializer=nidmm__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidmm__pb2.ImportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', request_serializer=nidmm__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nidmm__pb2.ExportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ResetInterchangeCheck = channel.unary_unary( '/nidmm_grpc.NiDmm/ResetInterchangeCheck', request_serializer=nidmm__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nidmm__pb2.ResetInterchangeCheckResponse.FromString, - _registered_method=True) + ) self.ClearInterchangeWarnings = channel.unary_unary( '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', request_serializer=nidmm__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nidmm__pb2.ClearInterchangeWarningsResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/nidmm_grpc.NiDmm/GetChannelName', request_serializer=nidmm__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nidmm__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', request_serializer=nidmm__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nidmm__pb2.GetExtCalRecommendedIntervalResponse.FromString, - _registered_method=True) + ) self.GetSelfCalSupported = channel.unary_unary( '/nidmm_grpc.NiDmm/GetSelfCalSupported', request_serializer=nidmm__pb2.GetSelfCalSupportedRequest.SerializeToString, response_deserializer=nidmm__pb2.GetSelfCalSupportedResponse.FromString, - _registered_method=True) + ) self.GetCalDateAndTime = channel.unary_unary( '/nidmm_grpc.NiDmm/GetCalDateAndTime', request_serializer=nidmm__pb2.GetCalDateAndTimeRequest.SerializeToString, response_deserializer=nidmm__pb2.GetCalDateAndTimeResponse.FromString, - _registered_method=True) + ) self.GetLastCalTemp = channel.unary_unary( '/nidmm_grpc.NiDmm/GetLastCalTemp', request_serializer=nidmm__pb2.GetLastCalTempRequest.SerializeToString, response_deserializer=nidmm__pb2.GetLastCalTempResponse.FromString, - _registered_method=True) + ) self.GetDevTemp = channel.unary_unary( '/nidmm_grpc.NiDmm/GetDevTemp', request_serializer=nidmm__pb2.GetDevTempRequest.SerializeToString, response_deserializer=nidmm__pb2.GetDevTempResponse.FromString, - _registered_method=True) + ) self.ConfigureTransducerType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureTransducerType', request_serializer=nidmm__pb2.ConfigureTransducerTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureTransducerTypeResponse.FromString, - _registered_method=True) + ) self.ConfigureThermocouple = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermocouple', request_serializer=nidmm__pb2.ConfigureThermocoupleRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermocoupleResponse.FromString, - _registered_method=True) + ) self.ConfigureFixedRefJunction = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', request_serializer=nidmm__pb2.ConfigureFixedRefJunctionRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureFixedRefJunctionResponse.FromString, - _registered_method=True) + ) self.ConfigureRTDType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureRTDType', request_serializer=nidmm__pb2.ConfigureRTDTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureRTDTypeResponse.FromString, - _registered_method=True) + ) self.ConfigureRTDCustom = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureRTDCustom', request_serializer=nidmm__pb2.ConfigureRTDCustomRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureRTDCustomResponse.FromString, - _registered_method=True) + ) self.ConfigureThermistorType = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermistorType', request_serializer=nidmm__pb2.ConfigureThermistorTypeRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermistorTypeResponse.FromString, - _registered_method=True) + ) self.ConfigureThermistorCustom = channel.unary_unary( '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', request_serializer=nidmm__pb2.ConfigureThermistorCustomRequest.SerializeToString, response_deserializer=nidmm__pb2.ConfigureThermistorCustomResponse.FromString, - _registered_method=True) + ) self.InvalidateAllAttributes = channel.unary_unary( '/nidmm_grpc.NiDmm/InvalidateAllAttributes', request_serializer=nidmm__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nidmm__pb2.InvalidateAllAttributesResponse.FromString, - _registered_method=True) + ) class NiDmmServicer(object): @@ -1406,7 +1386,6 @@ def add_NiDmmServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidmm_grpc.NiDmm', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidmm_grpc.NiDmm', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1424,21 +1403,11 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Init', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Init', nidmm__pb2.InitRequest.SerializeToString, nidmm__pb2.InitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -1451,21 +1420,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/InitWithOptions', nidmm__pb2.InitWithOptionsRequest.SerializeToString, nidmm__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -1478,21 +1437,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Close', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Close', nidmm__pb2.CloseRequest.SerializeToString, nidmm__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -1505,21 +1454,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetError', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetError', nidmm__pb2.GetErrorRequest.SerializeToString, nidmm__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetErrorMessage(request, @@ -1532,21 +1471,11 @@ def GetErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetErrorMessage', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetErrorMessage', nidmm__pb2.GetErrorMessageRequest.SerializeToString, nidmm__pb2.GetErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearError(request, @@ -1559,21 +1488,11 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ClearError', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ClearError', nidmm__pb2.ClearErrorRequest.SerializeToString, nidmm__pb2.ClearErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -1586,21 +1505,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Reset', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Reset', nidmm__pb2.ResetRequest.SerializeToString, nidmm__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -1613,21 +1522,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SelfTest', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SelfTest', nidmm__pb2.SelfTestRequest.SerializeToString, nidmm__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfCal(request, @@ -1640,21 +1539,11 @@ def SelfCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SelfCal', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SelfCal', nidmm__pb2.SelfCalRequest.SerializeToString, nidmm__pb2.SelfCalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RevisionQuery(request, @@ -1667,21 +1556,11 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/RevisionQuery', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/RevisionQuery', nidmm__pb2.RevisionQueryRequest.SerializeToString, nidmm__pb2.RevisionQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetWithDefaults(request, @@ -1694,21 +1573,11 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ResetWithDefaults', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ResetWithDefaults', nidmm__pb2.ResetWithDefaultsRequest.SerializeToString, nidmm__pb2.ResetWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disable(request, @@ -1721,21 +1590,11 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Disable', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Disable', nidmm__pb2.DisableRequest.SerializeToString, nidmm__pb2.DisableResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetMeasurementPeriod(request, @@ -1748,21 +1607,11 @@ def GetMeasurementPeriod(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetMeasurementPeriod', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetMeasurementPeriod', nidmm__pb2.GetMeasurementPeriodRequest.SerializeToString, nidmm__pb2.GetMeasurementPeriodResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTrigger(request, @@ -1775,21 +1624,11 @@ def ConfigureTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureTrigger', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTrigger', nidmm__pb2.ConfigureTriggerRequest.SerializeToString, nidmm__pb2.ConfigureTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Read(request, @@ -1802,21 +1641,11 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Read', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Read', nidmm__pb2.ReadRequest.SerializeToString, nidmm__pb2.ReadResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Fetch(request, @@ -1829,21 +1658,11 @@ def Fetch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Fetch', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Fetch', nidmm__pb2.FetchRequest.SerializeToString, nidmm__pb2.FetchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Abort(request, @@ -1856,21 +1675,11 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Abort', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Abort', nidmm__pb2.AbortRequest.SerializeToString, nidmm__pb2.AbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Initiate(request, @@ -1883,21 +1692,11 @@ def Initiate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Initiate', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Initiate', nidmm__pb2.InitiateRequest.SerializeToString, nidmm__pb2.InitiateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsOverRange(request, @@ -1910,21 +1709,11 @@ def IsOverRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/IsOverRange', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/IsOverRange', nidmm__pb2.IsOverRangeRequest.SerializeToString, nidmm__pb2.IsOverRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsUnderRange(request, @@ -1937,21 +1726,11 @@ def IsUnderRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/IsUnderRange', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/IsUnderRange', nidmm__pb2.IsUnderRangeRequest.SerializeToString, nidmm__pb2.IsUnderRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureACBandwidth(request, @@ -1964,21 +1743,11 @@ def ConfigureACBandwidth(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureACBandwidth', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureACBandwidth', nidmm__pb2.ConfigureACBandwidthRequest.SerializeToString, nidmm__pb2.ConfigureACBandwidthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureFrequencyVoltageRange(request, @@ -1991,21 +1760,11 @@ def ConfigureFrequencyVoltageRange(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureFrequencyVoltageRange', nidmm__pb2.ConfigureFrequencyVoltageRangeRequest.SerializeToString, nidmm__pb2.ConfigureFrequencyVoltageRangeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureMeasCompleteDest(request, @@ -2018,21 +1777,11 @@ def ConfigureMeasCompleteDest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasCompleteDest', nidmm__pb2.ConfigureMeasCompleteDestRequest.SerializeToString, nidmm__pb2.ConfigureMeasCompleteDestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureMultiPoint(request, @@ -2045,21 +1794,11 @@ def ConfigureMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureMultiPoint', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMultiPoint', nidmm__pb2.ConfigureMultiPointRequest.SerializeToString, nidmm__pb2.ConfigureMultiPointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadMultiPoint(request, @@ -2072,21 +1811,11 @@ def ReadMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ReadMultiPoint', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadMultiPoint', nidmm__pb2.ReadMultiPointRequest.SerializeToString, nidmm__pb2.ReadMultiPointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchMultiPoint(request, @@ -2099,21 +1828,11 @@ def FetchMultiPoint(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/FetchMultiPoint', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/FetchMultiPoint', nidmm__pb2.FetchMultiPointRequest.SerializeToString, nidmm__pb2.FetchMultiPointResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerSlope(request, @@ -2126,21 +1845,11 @@ def ConfigureTriggerSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTriggerSlope', nidmm__pb2.ConfigureTriggerSlopeRequest.SerializeToString, nidmm__pb2.ConfigureTriggerSlopeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareTrigger(request, @@ -2153,21 +1862,11 @@ def SendSoftwareTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SendSoftwareTrigger', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SendSoftwareTrigger', nidmm__pb2.SendSoftwareTriggerRequest.SerializeToString, nidmm__pb2.SendSoftwareTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetApertureTimeInfo(request, @@ -2180,21 +1879,11 @@ def GetApertureTimeInfo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetApertureTimeInfo', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetApertureTimeInfo', nidmm__pb2.GetApertureTimeInfoRequest.SerializeToString, nidmm__pb2.GetApertureTimeInfoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAutoRangeValue(request, @@ -2207,21 +1896,11 @@ def GetAutoRangeValue(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAutoRangeValue', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAutoRangeValue', nidmm__pb2.GetAutoRangeValueRequest.SerializeToString, nidmm__pb2.GetAutoRangeValueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureAutoZeroMode(request, @@ -2234,21 +1913,11 @@ def ConfigureAutoZeroMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureAutoZeroMode', nidmm__pb2.ConfigureAutoZeroModeRequest.SerializeToString, nidmm__pb2.ConfigureAutoZeroModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigurePowerLineFrequency(request, @@ -2261,21 +1930,11 @@ def ConfigurePowerLineFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigurePowerLineFrequency', nidmm__pb2.ConfigurePowerLineFrequencyRequest.SerializeToString, nidmm__pb2.ConfigurePowerLineFrequencyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureMeasurementDigits(request, @@ -2288,21 +1947,11 @@ def ConfigureMeasurementDigits(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasurementDigits', nidmm__pb2.ConfigureMeasurementDigitsRequest.SerializeToString, nidmm__pb2.ConfigureMeasurementDigitsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureMeasurementAbsolute(request, @@ -2315,21 +1964,11 @@ def ConfigureMeasurementAbsolute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasurementAbsolute', nidmm__pb2.ConfigureMeasurementAbsoluteRequest.SerializeToString, nidmm__pb2.ConfigureMeasurementAbsoluteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureMeasCompleteSlope(request, @@ -2342,21 +1981,11 @@ def ConfigureMeasCompleteSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureMeasCompleteSlope', nidmm__pb2.ConfigureMeasCompleteSlopeRequest.SerializeToString, nidmm__pb2.ConfigureMeasCompleteSlopeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSampleTriggerSlope(request, @@ -2369,21 +1998,11 @@ def ConfigureSampleTriggerSlope(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureSampleTriggerSlope', nidmm__pb2.ConfigureSampleTriggerSlopeRequest.SerializeToString, nidmm__pb2.ConfigureSampleTriggerSlopeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadStatus(request, @@ -2396,21 +2015,11 @@ def ReadStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ReadStatus', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadStatus', nidmm__pb2.ReadStatusRequest.SerializeToString, nidmm__pb2.ReadStatusResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Control(request, @@ -2423,21 +2032,11 @@ def Control(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/Control', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/Control', nidmm__pb2.ControlRequest.SerializeToString, nidmm__pb2.ControlResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureADCCalibration(request, @@ -2450,21 +2049,11 @@ def ConfigureADCCalibration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureADCCalibration', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureADCCalibration', nidmm__pb2.ConfigureADCCalibrationRequest.SerializeToString, nidmm__pb2.ConfigureADCCalibrationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOffsetCompOhms(request, @@ -2477,21 +2066,11 @@ def ConfigureOffsetCompOhms(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureOffsetCompOhms', nidmm__pb2.ConfigureOffsetCompOhmsRequest.SerializeToString, nidmm__pb2.ConfigureOffsetCompOhmsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCurrentSource(request, @@ -2504,21 +2083,11 @@ def ConfigureCurrentSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureCurrentSource', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureCurrentSource', nidmm__pb2.ConfigureCurrentSourceRequest.SerializeToString, nidmm__pb2.ConfigureCurrentSourceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCableCompType(request, @@ -2531,21 +2100,11 @@ def ConfigureCableCompType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureCableCompType', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureCableCompType', nidmm__pb2.ConfigureCableCompTypeRequest.SerializeToString, nidmm__pb2.ConfigureCableCompTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformOpenCableComp(request, @@ -2558,21 +2117,11 @@ def PerformOpenCableComp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/PerformOpenCableComp', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/PerformOpenCableComp', nidmm__pb2.PerformOpenCableCompRequest.SerializeToString, nidmm__pb2.PerformOpenCableCompResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PerformShortCableComp(request, @@ -2585,21 +2134,11 @@ def PerformShortCableComp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/PerformShortCableComp', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/PerformShortCableComp', nidmm__pb2.PerformShortCableCompRequest.SerializeToString, nidmm__pb2.PerformShortCableCompResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOpenCableCompValues(request, @@ -2612,21 +2151,11 @@ def ConfigureOpenCableCompValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureOpenCableCompValues', nidmm__pb2.ConfigureOpenCableCompValuesRequest.SerializeToString, nidmm__pb2.ConfigureOpenCableCompValuesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureShortCableCompValues(request, @@ -2639,21 +2168,11 @@ def ConfigureShortCableCompValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureShortCableCompValues', nidmm__pb2.ConfigureShortCableCompValuesRequest.SerializeToString, nidmm__pb2.ConfigureShortCableCompValuesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureWaveformAcquisition(request, @@ -2666,21 +2185,11 @@ def ConfigureWaveformAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureWaveformAcquisition', nidmm__pb2.ConfigureWaveformAcquisitionRequest.SerializeToString, nidmm__pb2.ConfigureWaveformAcquisitionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureWaveformCoupling(request, @@ -2693,21 +2202,11 @@ def ConfigureWaveformCoupling(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureWaveformCoupling', nidmm__pb2.ConfigureWaveformCouplingRequest.SerializeToString, nidmm__pb2.ConfigureWaveformCouplingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchWaveform(request, @@ -2720,21 +2219,11 @@ def FetchWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/FetchWaveform', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/FetchWaveform', nidmm__pb2.FetchWaveformRequest.SerializeToString, nidmm__pb2.FetchWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadWaveform(request, @@ -2747,21 +2236,11 @@ def ReadWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ReadWaveform', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ReadWaveform', nidmm__pb2.ReadWaveformRequest.SerializeToString, nidmm__pb2.ReadWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -2774,21 +2253,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViInt32', nidmm__pb2.GetAttributeViInt32Request.SerializeToString, nidmm__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -2801,21 +2270,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViInt32', nidmm__pb2.SetAttributeViInt32Request.SerializeToString, nidmm__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt32(request, @@ -2828,21 +2287,11 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/CheckAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViInt32', nidmm__pb2.CheckAttributeViInt32Request.SerializeToString, nidmm__pb2.CheckAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -2855,21 +2304,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViReal64', nidmm__pb2.GetAttributeViReal64Request.SerializeToString, nidmm__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -2882,21 +2321,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViReal64', nidmm__pb2.SetAttributeViReal64Request.SerializeToString, nidmm__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViReal64(request, @@ -2909,21 +2338,11 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/CheckAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViReal64', nidmm__pb2.CheckAttributeViReal64Request.SerializeToString, nidmm__pb2.CheckAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -2936,21 +2355,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViString', nidmm__pb2.GetAttributeViStringRequest.SerializeToString, nidmm__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -2963,21 +2372,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViString', nidmm__pb2.SetAttributeViStringRequest.SerializeToString, nidmm__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViString(request, @@ -2990,21 +2389,11 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/CheckAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViString', nidmm__pb2.CheckAttributeViStringRequest.SerializeToString, nidmm__pb2.CheckAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -3017,21 +2406,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViSession', nidmm__pb2.GetAttributeViSessionRequest.SerializeToString, nidmm__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -3044,21 +2423,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViSession', nidmm__pb2.SetAttributeViSessionRequest.SerializeToString, nidmm__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViSession(request, @@ -3071,21 +2440,11 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/CheckAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViSession', nidmm__pb2.CheckAttributeViSessionRequest.SerializeToString, nidmm__pb2.CheckAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -3098,21 +2457,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetAttributeViBoolean', nidmm__pb2.GetAttributeViBooleanRequest.SerializeToString, nidmm__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -3125,21 +2474,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/SetAttributeViBoolean', nidmm__pb2.SetAttributeViBooleanRequest.SerializeToString, nidmm__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViBoolean(request, @@ -3152,21 +2491,11 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/CheckAttributeViBoolean', nidmm__pb2.CheckAttributeViBooleanRequest.SerializeToString, nidmm__pb2.CheckAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationFile(request, @@ -3179,21 +2508,11 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ImportAttributeConfigurationFile', nidmm__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nidmm__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationFile(request, @@ -3206,21 +2525,11 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ExportAttributeConfigurationFile', nidmm__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nidmm__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -3233,21 +2542,11 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ImportAttributeConfigurationBuffer', nidmm__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nidmm__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -3260,21 +2559,11 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ExportAttributeConfigurationBuffer', nidmm__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nidmm__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetInterchangeCheck(request, @@ -3287,21 +2576,11 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ResetInterchangeCheck', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ResetInterchangeCheck', nidmm__pb2.ResetInterchangeCheckRequest.SerializeToString, nidmm__pb2.ResetInterchangeCheckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearInterchangeWarnings(request, @@ -3314,21 +2593,11 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ClearInterchangeWarnings', nidmm__pb2.ClearInterchangeWarningsRequest.SerializeToString, nidmm__pb2.ClearInterchangeWarningsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -3341,21 +2610,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetChannelName', nidmm__pb2.GetChannelNameRequest.SerializeToString, nidmm__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalRecommendedInterval(request, @@ -3368,21 +2627,11 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetExtCalRecommendedInterval', nidmm__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nidmm__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalSupported(request, @@ -3395,21 +2644,11 @@ def GetSelfCalSupported(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetSelfCalSupported', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetSelfCalSupported', nidmm__pb2.GetSelfCalSupportedRequest.SerializeToString, nidmm__pb2.GetSelfCalSupportedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCalDateAndTime(request, @@ -3422,21 +2661,11 @@ def GetCalDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetCalDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetCalDateAndTime', nidmm__pb2.GetCalDateAndTimeRequest.SerializeToString, nidmm__pb2.GetCalDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLastCalTemp(request, @@ -3449,21 +2678,11 @@ def GetLastCalTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetLastCalTemp', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetLastCalTemp', nidmm__pb2.GetLastCalTempRequest.SerializeToString, nidmm__pb2.GetLastCalTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetDevTemp(request, @@ -3476,21 +2695,11 @@ def GetDevTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/GetDevTemp', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/GetDevTemp', nidmm__pb2.GetDevTempRequest.SerializeToString, nidmm__pb2.GetDevTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTransducerType(request, @@ -3503,21 +2712,11 @@ def ConfigureTransducerType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureTransducerType', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureTransducerType', nidmm__pb2.ConfigureTransducerTypeRequest.SerializeToString, nidmm__pb2.ConfigureTransducerTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureThermocouple(request, @@ -3530,21 +2729,11 @@ def ConfigureThermocouple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureThermocouple', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermocouple', nidmm__pb2.ConfigureThermocoupleRequest.SerializeToString, nidmm__pb2.ConfigureThermocoupleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureFixedRefJunction(request, @@ -3557,21 +2746,11 @@ def ConfigureFixedRefJunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureFixedRefJunction', nidmm__pb2.ConfigureFixedRefJunctionRequest.SerializeToString, nidmm__pb2.ConfigureFixedRefJunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureRTDType(request, @@ -3584,21 +2763,11 @@ def ConfigureRTDType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureRTDType', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureRTDType', nidmm__pb2.ConfigureRTDTypeRequest.SerializeToString, nidmm__pb2.ConfigureRTDTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureRTDCustom(request, @@ -3611,21 +2780,11 @@ def ConfigureRTDCustom(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureRTDCustom', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureRTDCustom', nidmm__pb2.ConfigureRTDCustomRequest.SerializeToString, nidmm__pb2.ConfigureRTDCustomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureThermistorType(request, @@ -3638,21 +2797,11 @@ def ConfigureThermistorType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureThermistorType', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermistorType', nidmm__pb2.ConfigureThermistorTypeRequest.SerializeToString, nidmm__pb2.ConfigureThermistorTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureThermistorCustom(request, @@ -3665,21 +2814,11 @@ def ConfigureThermistorCustom(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/ConfigureThermistorCustom', nidmm__pb2.ConfigureThermistorCustomRequest.SerializeToString, nidmm__pb2.ConfigureThermistorCustomResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InvalidateAllAttributes(request, @@ -3692,18 +2831,8 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidmm_grpc.NiDmm/InvalidateAllAttributes', + return grpc.experimental.unary_unary(request, target, '/nidmm_grpc.NiDmm/InvalidateAllAttributes', nidmm__pb2.InvalidateAllAttributesRequest.SerializeToString, nidmm__pb2.InvalidateAllAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidmm/nidmm/session_pb2.py b/generated/nidmm/nidmm/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/nidmm/nidmm/session_pb2.py +++ b/generated/nidmm/nidmm/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nidmm/nidmm/session_pb2_grpc.py b/generated/nidmm/nidmm/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/nidmm/nidmm/session_pb2_grpc.py +++ b/generated/nidmm/nidmm/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nidmm/setup.py b/generated/nidmm/setup.py index 1dec9caa2..3dec9febe 100644 --- a/generated/nidmm/setup.py +++ b/generated/nidmm/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/nifake/nifake/nidevice_pb2.py b/generated/nifake/nifake/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/nifake/nifake/nidevice_pb2.py +++ b/generated/nifake/nifake/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nifake/nifake/nidevice_pb2_grpc.py b/generated/nifake/nifake/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/nifake/nifake/nidevice_pb2_grpc.py +++ b/generated/nifake/nifake/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/nifake/nifake/nifake_pb2.py b/generated/nifake/nifake/nifake_pb2.py index d931c4bca..3741c0eb6 100644 --- a/generated/nifake/nifake/nifake_pb2.py +++ b/generated/nifake/nifake/nifake_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nifake.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nifake.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,13 +19,13 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nifake_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\020com.ni.grpc.fakeB\006NiFakeP\001\252\002\035NationalInstruments.Grpc.Fake' - _globals['_NIFAKEINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIFAKEINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_METHODWITHGETLASTERRORPARAMRESPONSE'].fields_by_name['last_error']._loaded_options = None - _globals['_METHODWITHGETLASTERRORPARAMRESPONSE'].fields_by_name['last_error']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\020com.ni.grpc.fakeB\006NiFakeP\001\252\002\035NationalInstruments.Grpc.Fake' + _NIFAKEINT32ATTRIBUTEVALUES._options = None + _NIFAKEINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _METHODWITHGETLASTERRORPARAMRESPONSE.fields_by_name['last_error']._options = None + _METHODWITHGETLASTERRORPARAMRESPONSE.fields_by_name['last_error']._serialized_options = b'\030\001' _globals['_NIFAKEATTRIBUTE']._serialized_start=18090 _globals['_NIFAKEATTRIBUTE']._serialized_end=18760 _globals['_GRPCCOLOROVERRIDE']._serialized_start=18763 diff --git a/generated/nifake/nifake/nifake_pb2_grpc.py b/generated/nifake/nifake/nifake_pb2_grpc.py index a04a469aa..75ad6454b 100644 --- a/generated/nifake/nifake/nifake_pb2_grpc.py +++ b/generated/nifake/nifake/nifake_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import nifake_pb2 as nifake__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nifake_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiFakeStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,487 +18,487 @@ def __init__(self, channel): '/nifake_grpc.NiFake/Abort', request_serializer=nifake__pb2.AbortRequest.SerializeToString, response_deserializer=nifake__pb2.AbortResponse.FromString, - _registered_method=True) + ) self.BoolArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/BoolArrayOutputFunction', request_serializer=nifake__pb2.BoolArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.BoolArrayOutputFunctionResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/nifake_grpc.NiFake/Close', request_serializer=nifake__pb2.CloseRequest.SerializeToString, response_deserializer=nifake__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.EnumArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/EnumArrayOutputFunction', request_serializer=nifake__pb2.EnumArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.EnumArrayOutputFunctionResponse.FromString, - _registered_method=True) + ) self.EnumInputFunctionWithDefaults = channel.unary_unary( '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', request_serializer=nifake__pb2.EnumInputFunctionWithDefaultsRequest.SerializeToString, response_deserializer=nifake__pb2.EnumInputFunctionWithDefaultsResponse.FromString, - _registered_method=True) + ) self.StringValuedEnumInputFunctionWithDefaults = channel.unary_unary( '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', request_serializer=nifake__pb2.StringValuedEnumInputFunctionWithDefaultsRequest.SerializeToString, response_deserializer=nifake__pb2.StringValuedEnumInputFunctionWithDefaultsResponse.FromString, - _registered_method=True) + ) self.ErrorMessage = channel.unary_unary( '/nifake_grpc.NiFake/ErrorMessage', request_serializer=nifake__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nifake__pb2.ErrorMessageResponse.FromString, - _registered_method=True) + ) self.FetchWaveform = channel.unary_unary( '/nifake_grpc.NiFake/FetchWaveform', request_serializer=nifake__pb2.FetchWaveformRequest.SerializeToString, response_deserializer=nifake__pb2.FetchWaveformResponse.FromString, - _registered_method=True) + ) self.GetABoolean = channel.unary_unary( '/nifake_grpc.NiFake/GetABoolean', request_serializer=nifake__pb2.GetABooleanRequest.SerializeToString, response_deserializer=nifake__pb2.GetABooleanResponse.FromString, - _registered_method=True) + ) self.GetANumber = channel.unary_unary( '/nifake_grpc.NiFake/GetANumber', request_serializer=nifake__pb2.GetANumberRequest.SerializeToString, response_deserializer=nifake__pb2.GetANumberResponse.FromString, - _registered_method=True) + ) self.GetAStringOfFixedMaximumSize = channel.unary_unary( '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', request_serializer=nifake__pb2.GetAStringOfFixedMaximumSizeRequest.SerializeToString, response_deserializer=nifake__pb2.GetAStringOfFixedMaximumSizeResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceCharArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceCharArray', request_serializer=nifake__pb2.GetAnIviDanceCharArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceCharArrayResponse.FromString, - _registered_method=True) + ) self.GetArrayUsingIviDance = channel.unary_unary( '/nifake_grpc.NiFake/GetArrayUsingIviDance', request_serializer=nifake__pb2.GetArrayUsingIviDanceRequest.SerializeToString, response_deserializer=nifake__pb2.GetArrayUsingIviDanceResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViBoolean', request_serializer=nifake__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViInt32', request_serializer=nifake__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViInt64 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViInt64', request_serializer=nifake__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViReal64', request_serializer=nifake__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViSession', request_serializer=nifake__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/nifake_grpc.NiFake/GetAttributeViString', request_serializer=nifake__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nifake__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetCalDateAndTime = channel.unary_unary( '/nifake_grpc.NiFake/GetCalDateAndTime', request_serializer=nifake__pb2.GetCalDateAndTimeRequest.SerializeToString, response_deserializer=nifake__pb2.GetCalDateAndTimeResponse.FromString, - _registered_method=True) + ) self.GetCalInterval = channel.unary_unary( '/nifake_grpc.NiFake/GetCalInterval', request_serializer=nifake__pb2.GetCalIntervalRequest.SerializeToString, response_deserializer=nifake__pb2.GetCalIntervalResponse.FromString, - _registered_method=True) + ) self.GetEnumValue = channel.unary_unary( '/nifake_grpc.NiFake/GetEnumValue', request_serializer=nifake__pb2.GetEnumValueRequest.SerializeToString, response_deserializer=nifake__pb2.GetEnumValueResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/nifake_grpc.NiFake/GetError', request_serializer=nifake__pb2.GetErrorRequest.SerializeToString, response_deserializer=nifake__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/nifake_grpc.NiFake/InitWithOptions', request_serializer=nifake__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nifake__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.MultipleArrayTypes = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArrayTypes', request_serializer=nifake__pb2.MultipleArrayTypesRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArrayTypesResponse.FromString, - _registered_method=True) + ) self.MultipleArraysSameSize = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArraysSameSize', request_serializer=nifake__pb2.MultipleArraysSameSizeRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArraysSameSizeResponse.FromString, - _registered_method=True) + ) self.OneInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/OneInputFunction', request_serializer=nifake__pb2.OneInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.OneInputFunctionResponse.FromString, - _registered_method=True) + ) self.ParametersAreMultipleTypes = channel.unary_unary( '/nifake_grpc.NiFake/ParametersAreMultipleTypes', request_serializer=nifake__pb2.ParametersAreMultipleTypesRequest.SerializeToString, response_deserializer=nifake__pb2.ParametersAreMultipleTypesResponse.FromString, - _registered_method=True) + ) self.PoorlyNamedSimpleFunction = channel.unary_unary( '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', request_serializer=nifake__pb2.PoorlyNamedSimpleFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.PoorlyNamedSimpleFunctionResponse.FromString, - _registered_method=True) + ) self.Read = channel.unary_unary( '/nifake_grpc.NiFake/Read', request_serializer=nifake__pb2.ReadRequest.SerializeToString, response_deserializer=nifake__pb2.ReadResponse.FromString, - _registered_method=True) + ) self.ReadFromChannel = channel.unary_unary( '/nifake_grpc.NiFake/ReadFromChannel', request_serializer=nifake__pb2.ReadFromChannelRequest.SerializeToString, response_deserializer=nifake__pb2.ReadFromChannelResponse.FromString, - _registered_method=True) + ) self.ReturnANumberAndAString = channel.unary_unary( '/nifake_grpc.NiFake/ReturnANumberAndAString', request_serializer=nifake__pb2.ReturnANumberAndAStringRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnANumberAndAStringResponse.FromString, - _registered_method=True) + ) self.ReturnMultipleTypes = channel.unary_unary( '/nifake_grpc.NiFake/ReturnMultipleTypes', request_serializer=nifake__pb2.ReturnMultipleTypesRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnMultipleTypesResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViBoolean', request_serializer=nifake__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViInt32', request_serializer=nifake__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt64 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViInt64', request_serializer=nifake__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViReal64', request_serializer=nifake__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/nifake_grpc.NiFake/SetAttributeViString', request_serializer=nifake__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nifake__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.TwoInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/TwoInputFunction', request_serializer=nifake__pb2.TwoInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.TwoInputFunctionResponse.FromString, - _registered_method=True) + ) self.Use64BitNumber = channel.unary_unary( '/nifake_grpc.NiFake/Use64BitNumber', request_serializer=nifake__pb2.Use64BitNumberRequest.SerializeToString, response_deserializer=nifake__pb2.Use64BitNumberResponse.FromString, - _registered_method=True) + ) self.WriteWaveform = channel.unary_unary( '/nifake_grpc.NiFake/WriteWaveform', request_serializer=nifake__pb2.WriteWaveformRequest.SerializeToString, response_deserializer=nifake__pb2.WriteWaveformResponse.FromString, - _registered_method=True) + ) self.SetCustomType = channel.unary_unary( '/nifake_grpc.NiFake/SetCustomType', request_serializer=nifake__pb2.SetCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.SetCustomTypeResponse.FromString, - _registered_method=True) + ) self.SetCustomTypeArray = channel.unary_unary( '/nifake_grpc.NiFake/SetCustomTypeArray', request_serializer=nifake__pb2.SetCustomTypeArrayRequest.SerializeToString, response_deserializer=nifake__pb2.SetCustomTypeArrayResponse.FromString, - _registered_method=True) + ) self.GetCustomType = channel.unary_unary( '/nifake_grpc.NiFake/GetCustomType', request_serializer=nifake__pb2.GetCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.GetCustomTypeResponse.FromString, - _registered_method=True) + ) self.GetCustomTypeArray = channel.unary_unary( '/nifake_grpc.NiFake/GetCustomTypeArray', request_serializer=nifake__pb2.GetCustomTypeArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetCustomTypeArrayResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistString = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', request_serializer=nifake__pb2.GetAnIviDanceWithATwistStringRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistStringResponse.FromString, - _registered_method=True) + ) self.DoubleAllTheNums = channel.unary_unary( '/nifake_grpc.NiFake/DoubleAllTheNums', request_serializer=nifake__pb2.DoubleAllTheNumsRequest.SerializeToString, response_deserializer=nifake__pb2.DoubleAllTheNumsResponse.FromString, - _registered_method=True) + ) self.AcceptListOfDurationsInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', request_serializer=nifake__pb2.AcceptListOfDurationsInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptListOfDurationsInSecondsResponse.FromString, - _registered_method=True) + ) self.ReturnDurationInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/ReturnDurationInSeconds', request_serializer=nifake__pb2.ReturnDurationInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnDurationInSecondsResponse.FromString, - _registered_method=True) + ) self.ReturnListOfDurationsInSeconds = channel.unary_unary( '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', request_serializer=nifake__pb2.ReturnListOfDurationsInSecondsRequest.SerializeToString, response_deserializer=nifake__pb2.ReturnListOfDurationsInSecondsResponse.FromString, - _registered_method=True) + ) self.ConfigureAbc = channel.unary_unary( '/nifake_grpc.NiFake/ConfigureAbc', request_serializer=nifake__pb2.ConfigureAbcRequest.SerializeToString, response_deserializer=nifake__pb2.ConfigureAbcResponse.FromString, - _registered_method=True) + ) self.ConfigureEnums = channel.unary_unary( '/nifake_grpc.NiFake/ConfigureEnums', request_serializer=nifake__pb2.ConfigureEnumsRequest.SerializeToString, response_deserializer=nifake__pb2.ConfigureEnumsResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBufferEx = channel.unary_unary( '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', request_serializer=nifake__pb2.ExportAttributeConfigurationBufferExRequest.SerializeToString, response_deserializer=nifake__pb2.ExportAttributeConfigurationBufferExResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBufferEx = channel.unary_unary( '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', request_serializer=nifake__pb2.ImportAttributeConfigurationBufferExRequest.SerializeToString, response_deserializer=nifake__pb2.ImportAttributeConfigurationBufferExResponse.FromString, - _registered_method=True) + ) self.FetchWithCustomSize = channel.unary_unary( '/nifake_grpc.NiFake/FetchWithCustomSize', request_serializer=nifake__pb2.FetchWithCustomSizeRequest.SerializeToString, response_deserializer=nifake__pb2.FetchWithCustomSizeResponse.FromString, - _registered_method=True) + ) self.GetParameterWithOverriddenGrpcName = channel.unary_unary( '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', request_serializer=nifake__pb2.GetParameterWithOverriddenGrpcNameRequest.SerializeToString, response_deserializer=nifake__pb2.GetParameterWithOverriddenGrpcNameResponse.FromString, - _registered_method=True) + ) self.IviDanceWithTwistWithMultipleArraysAndOneBufferSize = channel.unary_unary( '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', request_serializer=nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeRequest.SerializeToString, response_deserializer=nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeResponse.FromString, - _registered_method=True) + ) self.FunctionWithOverriddenGrpcName2x = channel.unary_unary( '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', request_serializer=nifake__pb2.FunctionWithOverriddenGrpcName2xRequest.SerializeToString, response_deserializer=nifake__pb2.FunctionWithOverriddenGrpcName2xResponse.FromString, - _registered_method=True) + ) self.StringValuedEnumNoEnumGenerated = channel.unary_unary( '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', request_serializer=nifake__pb2.StringValuedEnumNoEnumGeneratedRequest.SerializeToString, response_deserializer=nifake__pb2.StringValuedEnumNoEnumGeneratedResponse.FromString, - _registered_method=True) + ) self.IviDanceWithATwistCalculatedSizeOut = channel.unary_unary( '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', request_serializer=nifake__pb2.IviDanceWithATwistCalculatedSizeOutRequest.SerializeToString, response_deserializer=nifake__pb2.IviDanceWithATwistCalculatedSizeOutResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', request_serializer=nifake__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifake__pb2.ImportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', request_serializer=nifake__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifake__pb2.ExportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.Control4022 = channel.unary_unary( '/nifake_grpc.NiFake/Control4022', request_serializer=nifake__pb2.Control4022Request.SerializeToString, response_deserializer=nifake__pb2.Control4022Response.FromString, - _registered_method=True) + ) self.AcceptViSessionArray = channel.unary_unary( '/nifake_grpc.NiFake/AcceptViSessionArray', request_serializer=nifake__pb2.AcceptViSessionArrayRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptViSessionArrayResponse.FromString, - _registered_method=True) + ) self.AcceptViUInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/AcceptViUInt32Array', request_serializer=nifake__pb2.AcceptViUInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.AcceptViUInt32ArrayResponse.FromString, - _registered_method=True) + ) self.BoolArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/BoolArrayInputFunction', request_serializer=nifake__pb2.BoolArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.BoolArrayInputFunctionResponse.FromString, - _registered_method=True) + ) self.CloseExtCal = channel.unary_unary( '/nifake_grpc.NiFake/CloseExtCal', request_serializer=nifake__pb2.CloseExtCalRequest.SerializeToString, response_deserializer=nifake__pb2.CloseExtCalResponse.FromString, - _registered_method=True) + ) self.CommandWithReservedParam = channel.unary_unary( '/nifake_grpc.NiFake/CommandWithReservedParam', request_serializer=nifake__pb2.CommandWithReservedParamRequest.SerializeToString, response_deserializer=nifake__pb2.CommandWithReservedParamResponse.FromString, - _registered_method=True) + ) self.CreateConfigurationList = channel.unary_unary( '/nifake_grpc.NiFake/CreateConfigurationList', request_serializer=nifake__pb2.CreateConfigurationListRequest.SerializeToString, response_deserializer=nifake__pb2.CreateConfigurationListResponse.FromString, - _registered_method=True) + ) self.CustomNestedStructRoundtrip = channel.unary_unary( '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', request_serializer=nifake__pb2.CustomNestedStructRoundtripRequest.SerializeToString, response_deserializer=nifake__pb2.CustomNestedStructRoundtripResponse.FromString, - _registered_method=True) + ) self.GetBitfieldAsEnumArray = channel.unary_unary( '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', request_serializer=nifake__pb2.GetBitfieldAsEnumArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetBitfieldAsEnumArrayResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistArrayOfCustomType = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistArrayWithInputArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistByteArray = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', request_serializer=nifake__pb2.GetAnIviDanceWithATwistByteArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistByteArrayResponse.FromString, - _registered_method=True) + ) self.GetAnIviDanceWithATwistStringStrlenBug = channel.unary_unary( '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', request_serializer=nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugRequest.SerializeToString, response_deserializer=nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugResponse.FromString, - _registered_method=True) + ) self.GetArraySizeForCustomCode = channel.unary_unary( '/nifake_grpc.NiFake/GetArraySizeForCustomCode', request_serializer=nifake__pb2.GetArraySizeForCustomCodeRequest.SerializeToString, response_deserializer=nifake__pb2.GetArraySizeForCustomCodeResponse.FromString, - _registered_method=True) + ) self.GetArrayViUInt8WithEnum = channel.unary_unary( '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', request_serializer=nifake__pb2.GetArrayViUInt8WithEnumRequest.SerializeToString, response_deserializer=nifake__pb2.GetArrayViUInt8WithEnumResponse.FromString, - _registered_method=True) + ) self.GetViUInt8 = channel.unary_unary( '/nifake_grpc.NiFake/GetViUInt8', request_serializer=nifake__pb2.GetViUInt8Request.SerializeToString, response_deserializer=nifake__pb2.GetViUInt8Response.FromString, - _registered_method=True) + ) self.GetViInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/GetViInt32Array', request_serializer=nifake__pb2.GetViInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetViInt32ArrayResponse.FromString, - _registered_method=True) + ) self.GetViUInt32Array = channel.unary_unary( '/nifake_grpc.NiFake/GetViUInt32Array', request_serializer=nifake__pb2.GetViUInt32ArrayRequest.SerializeToString, response_deserializer=nifake__pb2.GetViUInt32ArrayResponse.FromString, - _registered_method=True) + ) self.MethodUsingEnumWithGrpcNameValues = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', request_serializer=nifake__pb2.MethodUsingEnumWithGrpcNameValuesRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingEnumWithGrpcNameValuesResponse.FromString, - _registered_method=True) + ) self.MethodWithGetLastErrorParam = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', request_serializer=nifake__pb2.MethodWithGetLastErrorParamRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGetLastErrorParamResponse.FromString, - _registered_method=True) + ) self.MethodWithGrpcOnlyParam = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', request_serializer=nifake__pb2.MethodWithGrpcOnlyParamRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGrpcOnlyParamResponse.FromString, - _registered_method=True) + ) self.MethodUsingWholeAndFractionalNumbers = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', request_serializer=nifake__pb2.MethodUsingWholeAndFractionalNumbersRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingWholeAndFractionalNumbersResponse.FromString, - _registered_method=True) + ) self.MethodUsingWholeMappedNumbers = channel.unary_unary( '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', request_serializer=nifake__pb2.MethodUsingWholeMappedNumbersRequest.SerializeToString, response_deserializer=nifake__pb2.MethodUsingWholeMappedNumbersResponse.FromString, - _registered_method=True) + ) self.MethodWithGrpcFieldNumber = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', request_serializer=nifake__pb2.MethodWithGrpcFieldNumberRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithGrpcFieldNumberResponse.FromString, - _registered_method=True) + ) self.MethodWithProtoOnlyParameter = channel.unary_unary( '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', request_serializer=nifake__pb2.MethodWithProtoOnlyParameterRequest.SerializeToString, response_deserializer=nifake__pb2.MethodWithProtoOnlyParameterResponse.FromString, - _registered_method=True) + ) self.ReadDataWithInOutIviTwist = channel.unary_unary( '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', request_serializer=nifake__pb2.ReadDataWithInOutIviTwistRequest.SerializeToString, response_deserializer=nifake__pb2.ReadDataWithInOutIviTwistResponse.FromString, - _registered_method=True) + ) self.ReadDataWithMultipleIviTwistParamSets = channel.unary_unary( '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', request_serializer=nifake__pb2.ReadDataWithMultipleIviTwistParamSetsRequest.SerializeToString, response_deserializer=nifake__pb2.ReadDataWithMultipleIviTwistParamSetsResponse.FromString, - _registered_method=True) + ) self.InitExtCal = channel.unary_unary( '/nifake_grpc.NiFake/InitExtCal', request_serializer=nifake__pb2.InitExtCalRequest.SerializeToString, response_deserializer=nifake__pb2.InitExtCalResponse.FromString, - _registered_method=True) + ) self.InitWithVarArgs = channel.unary_unary( '/nifake_grpc.NiFake/InitWithVarArgs', request_serializer=nifake__pb2.InitWithVarArgsRequest.SerializeToString, response_deserializer=nifake__pb2.InitWithVarArgsResponse.FromString, - _registered_method=True) + ) self.MultipleArraysSameSizeWithOptional = channel.unary_unary( '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', request_serializer=nifake__pb2.MultipleArraysSameSizeWithOptionalRequest.SerializeToString, response_deserializer=nifake__pb2.MultipleArraysSameSizeWithOptionalResponse.FromString, - _registered_method=True) + ) self.UseATwoDimensionParameter = channel.unary_unary( '/nifake_grpc.NiFake/UseATwoDimensionParameter', request_serializer=nifake__pb2.UseATwoDimensionParameterRequest.SerializeToString, response_deserializer=nifake__pb2.UseATwoDimensionParameterResponse.FromString, - _registered_method=True) + ) self.ViUInt8ArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', request_serializer=nifake__pb2.ViUInt8ArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViUInt8ArrayInputFunctionResponse.FromString, - _registered_method=True) + ) self.ViUInt8ArrayOutputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', request_serializer=nifake__pb2.ViUInt8ArrayOutputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViUInt8ArrayOutputFunctionResponse.FromString, - _registered_method=True) + ) self.ViInt16ArrayInputFunction = channel.unary_unary( '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', request_serializer=nifake__pb2.ViInt16ArrayInputFunctionRequest.SerializeToString, response_deserializer=nifake__pb2.ViInt16ArrayInputFunctionResponse.FromString, - _registered_method=True) + ) class NiFakeServicer(object): @@ -1598,7 +1578,6 @@ def add_NiFakeServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nifake_grpc.NiFake', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nifake_grpc.NiFake', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1616,21 +1595,11 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/Abort', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Abort', nifake__pb2.AbortRequest.SerializeToString, nifake__pb2.AbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BoolArrayOutputFunction(request, @@ -1643,21 +1612,11 @@ def BoolArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/BoolArrayOutputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/BoolArrayOutputFunction', nifake__pb2.BoolArrayOutputFunctionRequest.SerializeToString, nifake__pb2.BoolArrayOutputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -1670,21 +1629,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/Close', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Close', nifake__pb2.CloseRequest.SerializeToString, nifake__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnumArrayOutputFunction(request, @@ -1697,21 +1646,11 @@ def EnumArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/EnumArrayOutputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/EnumArrayOutputFunction', nifake__pb2.EnumArrayOutputFunctionRequest.SerializeToString, nifake__pb2.EnumArrayOutputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnumInputFunctionWithDefaults(request, @@ -1724,21 +1663,11 @@ def EnumInputFunctionWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/EnumInputFunctionWithDefaults', nifake__pb2.EnumInputFunctionWithDefaultsRequest.SerializeToString, nifake__pb2.EnumInputFunctionWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StringValuedEnumInputFunctionWithDefaults(request, @@ -1751,21 +1680,11 @@ def StringValuedEnumInputFunctionWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/StringValuedEnumInputFunctionWithDefaults', nifake__pb2.StringValuedEnumInputFunctionWithDefaultsRequest.SerializeToString, nifake__pb2.StringValuedEnumInputFunctionWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorMessage(request, @@ -1778,21 +1697,11 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ErrorMessage', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ErrorMessage', nifake__pb2.ErrorMessageRequest.SerializeToString, nifake__pb2.ErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchWaveform(request, @@ -1805,21 +1714,11 @@ def FetchWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/FetchWaveform', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FetchWaveform', nifake__pb2.FetchWaveformRequest.SerializeToString, nifake__pb2.FetchWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetABoolean(request, @@ -1832,21 +1731,11 @@ def GetABoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetABoolean', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetABoolean', nifake__pb2.GetABooleanRequest.SerializeToString, nifake__pb2.GetABooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetANumber(request, @@ -1859,21 +1748,11 @@ def GetANumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetANumber', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetANumber', nifake__pb2.GetANumberRequest.SerializeToString, nifake__pb2.GetANumberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAStringOfFixedMaximumSize(request, @@ -1886,21 +1765,11 @@ def GetAStringOfFixedMaximumSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAStringOfFixedMaximumSize', nifake__pb2.GetAStringOfFixedMaximumSizeRequest.SerializeToString, nifake__pb2.GetAStringOfFixedMaximumSizeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceCharArray(request, @@ -1913,21 +1782,11 @@ def GetAnIviDanceCharArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceCharArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceCharArray', nifake__pb2.GetAnIviDanceCharArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceCharArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetArrayUsingIviDance(request, @@ -1940,21 +1799,11 @@ def GetArrayUsingIviDance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetArrayUsingIviDance', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArrayUsingIviDance', nifake__pb2.GetArrayUsingIviDanceRequest.SerializeToString, nifake__pb2.GetArrayUsingIviDanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -1967,21 +1816,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViBoolean', nifake__pb2.GetAttributeViBooleanRequest.SerializeToString, nifake__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -1994,21 +1833,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViInt32', nifake__pb2.GetAttributeViInt32Request.SerializeToString, nifake__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt64(request, @@ -2021,21 +1850,11 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViInt64', nifake__pb2.GetAttributeViInt64Request.SerializeToString, nifake__pb2.GetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -2048,21 +1867,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViReal64', nifake__pb2.GetAttributeViReal64Request.SerializeToString, nifake__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -2075,21 +1884,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViSession', nifake__pb2.GetAttributeViSessionRequest.SerializeToString, nifake__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -2102,21 +1901,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAttributeViString', nifake__pb2.GetAttributeViStringRequest.SerializeToString, nifake__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCalDateAndTime(request, @@ -2129,21 +1918,11 @@ def GetCalDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetCalDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCalDateAndTime', nifake__pb2.GetCalDateAndTimeRequest.SerializeToString, nifake__pb2.GetCalDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCalInterval(request, @@ -2156,21 +1935,11 @@ def GetCalInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetCalInterval', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCalInterval', nifake__pb2.GetCalIntervalRequest.SerializeToString, nifake__pb2.GetCalIntervalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetEnumValue(request, @@ -2183,21 +1952,11 @@ def GetEnumValue(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetEnumValue', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetEnumValue', nifake__pb2.GetEnumValueRequest.SerializeToString, nifake__pb2.GetEnumValueResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -2210,21 +1969,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetError', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetError', nifake__pb2.GetErrorRequest.SerializeToString, nifake__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -2237,21 +1986,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitWithOptions', nifake__pb2.InitWithOptionsRequest.SerializeToString, nifake__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MultipleArrayTypes(request, @@ -2264,21 +2003,11 @@ def MultipleArrayTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MultipleArrayTypes', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArrayTypes', nifake__pb2.MultipleArrayTypesRequest.SerializeToString, nifake__pb2.MultipleArrayTypesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MultipleArraysSameSize(request, @@ -2291,21 +2020,11 @@ def MultipleArraysSameSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MultipleArraysSameSize', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArraysSameSize', nifake__pb2.MultipleArraysSameSizeRequest.SerializeToString, nifake__pb2.MultipleArraysSameSizeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def OneInputFunction(request, @@ -2318,21 +2037,11 @@ def OneInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/OneInputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/OneInputFunction', nifake__pb2.OneInputFunctionRequest.SerializeToString, nifake__pb2.OneInputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ParametersAreMultipleTypes(request, @@ -2345,21 +2054,11 @@ def ParametersAreMultipleTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ParametersAreMultipleTypes', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ParametersAreMultipleTypes', nifake__pb2.ParametersAreMultipleTypesRequest.SerializeToString, nifake__pb2.ParametersAreMultipleTypesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PoorlyNamedSimpleFunction(request, @@ -2372,21 +2071,11 @@ def PoorlyNamedSimpleFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/PoorlyNamedSimpleFunction', nifake__pb2.PoorlyNamedSimpleFunctionRequest.SerializeToString, nifake__pb2.PoorlyNamedSimpleFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Read(request, @@ -2399,21 +2088,11 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/Read', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Read', nifake__pb2.ReadRequest.SerializeToString, nifake__pb2.ReadResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadFromChannel(request, @@ -2426,21 +2105,11 @@ def ReadFromChannel(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReadFromChannel', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadFromChannel', nifake__pb2.ReadFromChannelRequest.SerializeToString, nifake__pb2.ReadFromChannelResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReturnANumberAndAString(request, @@ -2453,21 +2122,11 @@ def ReturnANumberAndAString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReturnANumberAndAString', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnANumberAndAString', nifake__pb2.ReturnANumberAndAStringRequest.SerializeToString, nifake__pb2.ReturnANumberAndAStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReturnMultipleTypes(request, @@ -2480,21 +2139,11 @@ def ReturnMultipleTypes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReturnMultipleTypes', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnMultipleTypes', nifake__pb2.ReturnMultipleTypesRequest.SerializeToString, nifake__pb2.ReturnMultipleTypesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -2507,21 +2156,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViBoolean', nifake__pb2.SetAttributeViBooleanRequest.SerializeToString, nifake__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -2534,21 +2173,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViInt32', nifake__pb2.SetAttributeViInt32Request.SerializeToString, nifake__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt64(request, @@ -2561,21 +2190,11 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViInt64', nifake__pb2.SetAttributeViInt64Request.SerializeToString, nifake__pb2.SetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -2588,21 +2207,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViReal64', nifake__pb2.SetAttributeViReal64Request.SerializeToString, nifake__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -2615,21 +2224,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetAttributeViString', nifake__pb2.SetAttributeViStringRequest.SerializeToString, nifake__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def TwoInputFunction(request, @@ -2642,21 +2241,11 @@ def TwoInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/TwoInputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/TwoInputFunction', nifake__pb2.TwoInputFunctionRequest.SerializeToString, nifake__pb2.TwoInputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Use64BitNumber(request, @@ -2669,21 +2258,11 @@ def Use64BitNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/Use64BitNumber', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Use64BitNumber', nifake__pb2.Use64BitNumberRequest.SerializeToString, nifake__pb2.Use64BitNumberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteWaveform(request, @@ -2696,21 +2275,11 @@ def WriteWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/WriteWaveform', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/WriteWaveform', nifake__pb2.WriteWaveformRequest.SerializeToString, nifake__pb2.WriteWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetCustomType(request, @@ -2723,21 +2292,11 @@ def SetCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetCustomType', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetCustomType', nifake__pb2.SetCustomTypeRequest.SerializeToString, nifake__pb2.SetCustomTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetCustomTypeArray(request, @@ -2750,21 +2309,11 @@ def SetCustomTypeArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/SetCustomTypeArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/SetCustomTypeArray', nifake__pb2.SetCustomTypeArrayRequest.SerializeToString, nifake__pb2.SetCustomTypeArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCustomType(request, @@ -2777,21 +2326,11 @@ def GetCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetCustomType', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCustomType', nifake__pb2.GetCustomTypeRequest.SerializeToString, nifake__pb2.GetCustomTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCustomTypeArray(request, @@ -2804,21 +2343,11 @@ def GetCustomTypeArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetCustomTypeArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetCustomTypeArray', nifake__pb2.GetCustomTypeArrayRequest.SerializeToString, nifake__pb2.GetCustomTypeArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistArray(request, @@ -2831,21 +2360,11 @@ def GetAnIviDanceWithATwistArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArray', nifake__pb2.GetAnIviDanceWithATwistArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistString(request, @@ -2858,21 +2377,11 @@ def GetAnIviDanceWithATwistString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistString', nifake__pb2.GetAnIviDanceWithATwistStringRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DoubleAllTheNums(request, @@ -2885,21 +2394,11 @@ def DoubleAllTheNums(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/DoubleAllTheNums', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/DoubleAllTheNums', nifake__pb2.DoubleAllTheNumsRequest.SerializeToString, nifake__pb2.DoubleAllTheNumsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AcceptListOfDurationsInSeconds(request, @@ -2912,21 +2411,11 @@ def AcceptListOfDurationsInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptListOfDurationsInSeconds', nifake__pb2.AcceptListOfDurationsInSecondsRequest.SerializeToString, nifake__pb2.AcceptListOfDurationsInSecondsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReturnDurationInSeconds(request, @@ -2939,21 +2428,11 @@ def ReturnDurationInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReturnDurationInSeconds', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnDurationInSeconds', nifake__pb2.ReturnDurationInSecondsRequest.SerializeToString, nifake__pb2.ReturnDurationInSecondsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReturnListOfDurationsInSeconds(request, @@ -2966,21 +2445,11 @@ def ReturnListOfDurationsInSeconds(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReturnListOfDurationsInSeconds', nifake__pb2.ReturnListOfDurationsInSecondsRequest.SerializeToString, nifake__pb2.ReturnListOfDurationsInSecondsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureAbc(request, @@ -2993,21 +2462,11 @@ def ConfigureAbc(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ConfigureAbc', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ConfigureAbc', nifake__pb2.ConfigureAbcRequest.SerializeToString, nifake__pb2.ConfigureAbcResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureEnums(request, @@ -3020,21 +2479,11 @@ def ConfigureEnums(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ConfigureEnums', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ConfigureEnums', nifake__pb2.ConfigureEnumsRequest.SerializeToString, nifake__pb2.ConfigureEnumsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBufferEx(request, @@ -3047,21 +2496,11 @@ def ExportAttributeConfigurationBufferEx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ExportAttributeConfigurationBufferEx', nifake__pb2.ExportAttributeConfigurationBufferExRequest.SerializeToString, nifake__pb2.ExportAttributeConfigurationBufferExResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBufferEx(request, @@ -3074,21 +2513,11 @@ def ImportAttributeConfigurationBufferEx(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ImportAttributeConfigurationBufferEx', nifake__pb2.ImportAttributeConfigurationBufferExRequest.SerializeToString, nifake__pb2.ImportAttributeConfigurationBufferExResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchWithCustomSize(request, @@ -3101,21 +2530,11 @@ def FetchWithCustomSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/FetchWithCustomSize', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FetchWithCustomSize', nifake__pb2.FetchWithCustomSizeRequest.SerializeToString, nifake__pb2.FetchWithCustomSizeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetParameterWithOverriddenGrpcName(request, @@ -3128,21 +2547,11 @@ def GetParameterWithOverriddenGrpcName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetParameterWithOverriddenGrpcName', nifake__pb2.GetParameterWithOverriddenGrpcNameRequest.SerializeToString, nifake__pb2.GetParameterWithOverriddenGrpcNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IviDanceWithTwistWithMultipleArraysAndOneBufferSize(request, @@ -3155,21 +2564,11 @@ def IviDanceWithTwistWithMultipleArraysAndOneBufferSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/IviDanceWithTwistWithMultipleArraysAndOneBufferSize', nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeRequest.SerializeToString, nifake__pb2.IviDanceWithTwistWithMultipleArraysAndOneBufferSizeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FunctionWithOverriddenGrpcName2x(request, @@ -3182,21 +2581,11 @@ def FunctionWithOverriddenGrpcName2x(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/FunctionWithOverriddenGrpcName2x', nifake__pb2.FunctionWithOverriddenGrpcName2xRequest.SerializeToString, nifake__pb2.FunctionWithOverriddenGrpcName2xResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StringValuedEnumNoEnumGenerated(request, @@ -3209,21 +2598,11 @@ def StringValuedEnumNoEnumGenerated(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/StringValuedEnumNoEnumGenerated', nifake__pb2.StringValuedEnumNoEnumGeneratedRequest.SerializeToString, nifake__pb2.StringValuedEnumNoEnumGeneratedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IviDanceWithATwistCalculatedSizeOut(request, @@ -3236,21 +2615,11 @@ def IviDanceWithATwistCalculatedSizeOut(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/IviDanceWithATwistCalculatedSizeOut', nifake__pb2.IviDanceWithATwistCalculatedSizeOutRequest.SerializeToString, nifake__pb2.IviDanceWithATwistCalculatedSizeOutResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -3263,21 +2632,11 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ImportAttributeConfigurationBuffer', nifake__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nifake__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -3290,21 +2649,11 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ExportAttributeConfigurationBuffer', nifake__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nifake__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Control4022(request, @@ -3317,21 +2666,11 @@ def Control4022(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/Control4022', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/Control4022', nifake__pb2.Control4022Request.SerializeToString, nifake__pb2.Control4022Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AcceptViSessionArray(request, @@ -3344,21 +2683,11 @@ def AcceptViSessionArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/AcceptViSessionArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptViSessionArray', nifake__pb2.AcceptViSessionArrayRequest.SerializeToString, nifake__pb2.AcceptViSessionArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AcceptViUInt32Array(request, @@ -3371,21 +2700,11 @@ def AcceptViUInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/AcceptViUInt32Array', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/AcceptViUInt32Array', nifake__pb2.AcceptViUInt32ArrayRequest.SerializeToString, nifake__pb2.AcceptViUInt32ArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BoolArrayInputFunction(request, @@ -3398,21 +2717,11 @@ def BoolArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/BoolArrayInputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/BoolArrayInputFunction', nifake__pb2.BoolArrayInputFunctionRequest.SerializeToString, nifake__pb2.BoolArrayInputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CloseExtCal(request, @@ -3425,21 +2734,11 @@ def CloseExtCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/CloseExtCal', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CloseExtCal', nifake__pb2.CloseExtCalRequest.SerializeToString, nifake__pb2.CloseExtCalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CommandWithReservedParam(request, @@ -3452,21 +2751,11 @@ def CommandWithReservedParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/CommandWithReservedParam', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CommandWithReservedParam', nifake__pb2.CommandWithReservedParamRequest.SerializeToString, nifake__pb2.CommandWithReservedParamResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateConfigurationList(request, @@ -3479,21 +2768,11 @@ def CreateConfigurationList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/CreateConfigurationList', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CreateConfigurationList', nifake__pb2.CreateConfigurationListRequest.SerializeToString, nifake__pb2.CreateConfigurationListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CustomNestedStructRoundtrip(request, @@ -3506,21 +2785,11 @@ def CustomNestedStructRoundtrip(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/CustomNestedStructRoundtrip', nifake__pb2.CustomNestedStructRoundtripRequest.SerializeToString, nifake__pb2.CustomNestedStructRoundtripResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetBitfieldAsEnumArray(request, @@ -3533,21 +2802,11 @@ def GetBitfieldAsEnumArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetBitfieldAsEnumArray', nifake__pb2.GetBitfieldAsEnumArrayRequest.SerializeToString, nifake__pb2.GetBitfieldAsEnumArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistArrayOfCustomType(request, @@ -3560,21 +2819,11 @@ def GetAnIviDanceWithATwistArrayOfCustomType(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayOfCustomType', nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayOfCustomTypeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistArrayWithInputArray(request, @@ -3587,21 +2836,11 @@ def GetAnIviDanceWithATwistArrayWithInputArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistArrayWithInputArray', nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistArrayWithInputArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistByteArray(request, @@ -3614,21 +2853,11 @@ def GetAnIviDanceWithATwistByteArray(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistByteArray', nifake__pb2.GetAnIviDanceWithATwistByteArrayRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistByteArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAnIviDanceWithATwistStringStrlenBug(request, @@ -3641,21 +2870,11 @@ def GetAnIviDanceWithATwistStringStrlenBug(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetAnIviDanceWithATwistStringStrlenBug', nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugRequest.SerializeToString, nifake__pb2.GetAnIviDanceWithATwistStringStrlenBugResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetArraySizeForCustomCode(request, @@ -3668,21 +2887,11 @@ def GetArraySizeForCustomCode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetArraySizeForCustomCode', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArraySizeForCustomCode', nifake__pb2.GetArraySizeForCustomCodeRequest.SerializeToString, nifake__pb2.GetArraySizeForCustomCodeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetArrayViUInt8WithEnum(request, @@ -3695,21 +2904,11 @@ def GetArrayViUInt8WithEnum(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetArrayViUInt8WithEnum', nifake__pb2.GetArrayViUInt8WithEnumRequest.SerializeToString, nifake__pb2.GetArrayViUInt8WithEnumResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetViUInt8(request, @@ -3722,21 +2921,11 @@ def GetViUInt8(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetViUInt8', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViUInt8', nifake__pb2.GetViUInt8Request.SerializeToString, nifake__pb2.GetViUInt8Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetViInt32Array(request, @@ -3749,21 +2938,11 @@ def GetViInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetViInt32Array', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViInt32Array', nifake__pb2.GetViInt32ArrayRequest.SerializeToString, nifake__pb2.GetViInt32ArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetViUInt32Array(request, @@ -3776,21 +2955,11 @@ def GetViUInt32Array(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/GetViUInt32Array', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/GetViUInt32Array', nifake__pb2.GetViUInt32ArrayRequest.SerializeToString, nifake__pb2.GetViUInt32ArrayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodUsingEnumWithGrpcNameValues(request, @@ -3803,21 +2972,11 @@ def MethodUsingEnumWithGrpcNameValues(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingEnumWithGrpcNameValues', nifake__pb2.MethodUsingEnumWithGrpcNameValuesRequest.SerializeToString, nifake__pb2.MethodUsingEnumWithGrpcNameValuesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodWithGetLastErrorParam(request, @@ -3830,21 +2989,11 @@ def MethodWithGetLastErrorParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGetLastErrorParam', nifake__pb2.MethodWithGetLastErrorParamRequest.SerializeToString, nifake__pb2.MethodWithGetLastErrorParamResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodWithGrpcOnlyParam(request, @@ -3857,21 +3006,11 @@ def MethodWithGrpcOnlyParam(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGrpcOnlyParam', nifake__pb2.MethodWithGrpcOnlyParamRequest.SerializeToString, nifake__pb2.MethodWithGrpcOnlyParamResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodUsingWholeAndFractionalNumbers(request, @@ -3884,21 +3023,11 @@ def MethodUsingWholeAndFractionalNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingWholeAndFractionalNumbers', nifake__pb2.MethodUsingWholeAndFractionalNumbersRequest.SerializeToString, nifake__pb2.MethodUsingWholeAndFractionalNumbersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodUsingWholeMappedNumbers(request, @@ -3911,21 +3040,11 @@ def MethodUsingWholeMappedNumbers(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodUsingWholeMappedNumbers', nifake__pb2.MethodUsingWholeMappedNumbersRequest.SerializeToString, nifake__pb2.MethodUsingWholeMappedNumbersResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodWithGrpcFieldNumber(request, @@ -3938,21 +3057,11 @@ def MethodWithGrpcFieldNumber(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithGrpcFieldNumber', nifake__pb2.MethodWithGrpcFieldNumberRequest.SerializeToString, nifake__pb2.MethodWithGrpcFieldNumberResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MethodWithProtoOnlyParameter(request, @@ -3965,21 +3074,11 @@ def MethodWithProtoOnlyParameter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MethodWithProtoOnlyParameter', nifake__pb2.MethodWithProtoOnlyParameterRequest.SerializeToString, nifake__pb2.MethodWithProtoOnlyParameterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadDataWithInOutIviTwist(request, @@ -3992,21 +3091,11 @@ def ReadDataWithInOutIviTwist(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadDataWithInOutIviTwist', nifake__pb2.ReadDataWithInOutIviTwistRequest.SerializeToString, nifake__pb2.ReadDataWithInOutIviTwistResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadDataWithMultipleIviTwistParamSets(request, @@ -4019,21 +3108,11 @@ def ReadDataWithMultipleIviTwistParamSets(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ReadDataWithMultipleIviTwistParamSets', nifake__pb2.ReadDataWithMultipleIviTwistParamSetsRequest.SerializeToString, nifake__pb2.ReadDataWithMultipleIviTwistParamSetsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitExtCal(request, @@ -4046,21 +3125,11 @@ def InitExtCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/InitExtCal', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitExtCal', nifake__pb2.InitExtCalRequest.SerializeToString, nifake__pb2.InitExtCalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithVarArgs(request, @@ -4073,21 +3142,11 @@ def InitWithVarArgs(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/InitWithVarArgs', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/InitWithVarArgs', nifake__pb2.InitWithVarArgsRequest.SerializeToString, nifake__pb2.InitWithVarArgsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def MultipleArraysSameSizeWithOptional(request, @@ -4100,21 +3159,11 @@ def MultipleArraysSameSizeWithOptional(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/MultipleArraysSameSizeWithOptional', nifake__pb2.MultipleArraysSameSizeWithOptionalRequest.SerializeToString, nifake__pb2.MultipleArraysSameSizeWithOptionalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UseATwoDimensionParameter(request, @@ -4127,21 +3176,11 @@ def UseATwoDimensionParameter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/UseATwoDimensionParameter', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/UseATwoDimensionParameter', nifake__pb2.UseATwoDimensionParameterRequest.SerializeToString, nifake__pb2.UseATwoDimensionParameterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ViUInt8ArrayInputFunction(request, @@ -4154,21 +3193,11 @@ def ViUInt8ArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViUInt8ArrayInputFunction', nifake__pb2.ViUInt8ArrayInputFunctionRequest.SerializeToString, nifake__pb2.ViUInt8ArrayInputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ViUInt8ArrayOutputFunction(request, @@ -4181,21 +3210,11 @@ def ViUInt8ArrayOutputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViUInt8ArrayOutputFunction', nifake__pb2.ViUInt8ArrayOutputFunctionRequest.SerializeToString, nifake__pb2.ViUInt8ArrayOutputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ViInt16ArrayInputFunction(request, @@ -4208,18 +3227,8 @@ def ViInt16ArrayInputFunction(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', + return grpc.experimental.unary_unary(request, target, '/nifake_grpc.NiFake/ViInt16ArrayInputFunction', nifake__pb2.ViInt16ArrayInputFunctionRequest.SerializeToString, nifake__pb2.ViInt16ArrayInputFunctionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nifake/nifake/session_pb2.py b/generated/nifake/nifake/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/nifake/nifake/session_pb2.py +++ b/generated/nifake/nifake/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nifake/nifake/session_pb2_grpc.py b/generated/nifake/nifake/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/nifake/nifake/session_pb2_grpc.py +++ b/generated/nifake/nifake/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nifake/setup.py b/generated/nifake/setup.py index 1e696a4b0..4ec94e59d 100644 --- a/generated/nifake/setup.py +++ b/generated/nifake/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/nifgen/nifgen/nidevice_pb2.py b/generated/nifgen/nifgen/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/nifgen/nifgen/nidevice_pb2.py +++ b/generated/nifgen/nifgen/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/nifgen/nifgen/nidevice_pb2_grpc.py b/generated/nifgen/nifgen/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/nifgen/nifgen/nidevice_pb2_grpc.py +++ b/generated/nifgen/nifgen/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/nifgen/nifgen/nifgen_pb2.py b/generated/nifgen/nifgen/nifgen_pb2.py index a8424b634..946e7adff 100644 --- a/generated/nifgen/nifgen/nifgen_pb2.py +++ b/generated/nifgen/nifgen/nifgen_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nifgen.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nifgen.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,19 +20,19 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nifgen_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\020com.ni.grpc.fgenB\006NiFgenP\001\252\002\035NationalInstruments.Grpc.Fgen' - _globals['_NIFGENINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIFGENINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_NIFGENREAL64ATTRIBUTEVALUES']._loaded_options = None - _globals['_NIFGENREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITIALIZEWITHCHANNELSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\020com.ni.grpc.fgenB\006NiFgenP\001\252\002\035NationalInstruments.Grpc.Fgen' + _NIFGENINT32ATTRIBUTEVALUES._options = None + _NIFGENINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _NIFGENREAL64ATTRIBUTEVALUES._options = None + _NIFGENREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' + _INITRESPONSE.fields_by_name['error_message']._options = None + _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._options = None + _INITIALIZEWITHCHANNELSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NIFGENATTRIBUTE']._serialized_start=24660 _globals['_NIFGENATTRIBUTE']._serialized_end=35325 _globals['_BYTEORDER']._serialized_start=35327 diff --git a/generated/nifgen/nifgen/nifgen_pb2_grpc.py b/generated/nifgen/nifgen/nifgen_pb2_grpc.py index bb8cfa866..a8ec4529a 100644 --- a/generated/nifgen/nifgen/nifgen_pb2_grpc.py +++ b/generated/nifgen/nifgen/nifgen_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import nifgen_pb2 as nifgen__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nifgen_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiFgenStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,647 +18,647 @@ def __init__(self, channel): '/nifgen_grpc.NiFgen/AbortGeneration', request_serializer=nifgen__pb2.AbortGenerationRequest.SerializeToString, response_deserializer=nifgen__pb2.AbortGenerationResponse.FromString, - _registered_method=True) + ) self.AdjustSampleClockRelativeDelay = channel.unary_unary( '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', request_serializer=nifgen__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, response_deserializer=nifgen__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - _registered_method=True) + ) self.AllocateNamedWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/AllocateNamedWaveform', request_serializer=nifgen__pb2.AllocateNamedWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.AllocateNamedWaveformResponse.FromString, - _registered_method=True) + ) self.AllocateWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/AllocateWaveform', request_serializer=nifgen__pb2.AllocateWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.AllocateWaveformResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', request_serializer=nifgen__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViInt32', request_serializer=nifgen__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViInt32Response.FromString, - _registered_method=True) + ) self.CheckAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViInt64', request_serializer=nifgen__pb2.CheckAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViInt64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViReal64', request_serializer=nifgen__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViReal64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViSession', request_serializer=nifgen__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/CheckAttributeViString', request_serializer=nifgen__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.CheckAttributeViStringResponse.FromString, - _registered_method=True) + ) self.ClearArbMemory = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbMemory', request_serializer=nifgen__pb2.ClearArbMemoryRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbMemoryResponse.FromString, - _registered_method=True) + ) self.ClearArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbSequence', request_serializer=nifgen__pb2.ClearArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbSequenceResponse.FromString, - _registered_method=True) + ) self.ClearArbWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearArbWaveform', request_serializer=nifgen__pb2.ClearArbWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearArbWaveformResponse.FromString, - _registered_method=True) + ) self.ClearError = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearError', request_serializer=nifgen__pb2.ClearErrorRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearErrorResponse.FromString, - _registered_method=True) + ) self.ClearFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearFreqList', request_serializer=nifgen__pb2.ClearFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearFreqListResponse.FromString, - _registered_method=True) + ) self.ClearInterchangeWarnings = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', request_serializer=nifgen__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearInterchangeWarningsResponse.FromString, - _registered_method=True) + ) self.ClearUserStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', request_serializer=nifgen__pb2.ClearUserStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ClearUserStandardWaveformResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/nifgen_grpc.NiFgen/Close', request_serializer=nifgen__pb2.CloseRequest.SerializeToString, response_deserializer=nifgen__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/nifgen_grpc.NiFgen/Commit', request_serializer=nifgen__pb2.CommitRequest.SerializeToString, response_deserializer=nifgen__pb2.CommitResponse.FromString, - _registered_method=True) + ) self.ConfigureAmplitude = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureAmplitude', request_serializer=nifgen__pb2.ConfigureAmplitudeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureAmplitudeResponse.FromString, - _registered_method=True) + ) self.ConfigureArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureArbSequence', request_serializer=nifgen__pb2.ConfigureArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureArbSequenceResponse.FromString, - _registered_method=True) + ) self.ConfigureArbWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureArbWaveform', request_serializer=nifgen__pb2.ConfigureArbWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureArbWaveformResponse.FromString, - _registered_method=True) + ) self.ConfigureChannels = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureChannels', request_serializer=nifgen__pb2.ConfigureChannelsRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureChannelsResponse.FromString, - _registered_method=True) + ) self.ConfigureClockMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureClockMode', request_serializer=nifgen__pb2.ConfigureClockModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureClockModeResponse.FromString, - _registered_method=True) + ) self.ConfigureCustomFIRFilterCoefficients = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', request_serializer=nifgen__pb2.ConfigureCustomFIRFilterCoefficientsRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureCustomFIRFilterCoefficientsResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', request_serializer=nifgen__pb2.ConfigureDigitalEdgeScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalEdgeScriptTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalEdgeStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', request_serializer=nifgen__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureDigitalLevelScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', request_serializer=nifgen__pb2.ConfigureDigitalLevelScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureDigitalLevelScriptTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureFreqList', request_serializer=nifgen__pb2.ConfigureFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureFreqListResponse.FromString, - _registered_method=True) + ) self.ConfigureFrequency = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureFrequency', request_serializer=nifgen__pb2.ConfigureFrequencyRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureFrequencyResponse.FromString, - _registered_method=True) + ) self.ConfigureOperationMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOperationMode', request_serializer=nifgen__pb2.ConfigureOperationModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOperationModeResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputEnabled = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', request_serializer=nifgen__pb2.ConfigureOutputEnabledRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputEnabledResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputImpedance = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', request_serializer=nifgen__pb2.ConfigureOutputImpedanceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputImpedanceResponse.FromString, - _registered_method=True) + ) self.ConfigureOutputMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureOutputMode', request_serializer=nifgen__pb2.ConfigureOutputModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureOutputModeResponse.FromString, - _registered_method=True) + ) self.ConfigureP2PEndpointFullnessStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', request_serializer=nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureReferenceClock = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureReferenceClock', request_serializer=nifgen__pb2.ConfigureReferenceClockRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureReferenceClockResponse.FromString, - _registered_method=True) + ) self.ConfigureSampleClockSource = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', request_serializer=nifgen__pb2.ConfigureSampleClockSourceRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSampleClockSourceResponse.FromString, - _registered_method=True) + ) self.ConfigureSampleRate = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSampleRate', request_serializer=nifgen__pb2.ConfigureSampleRateRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSampleRateResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', request_serializer=nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureSoftwareEdgeStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', request_serializer=nifgen__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - _registered_method=True) + ) self.ConfigureStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', request_serializer=nifgen__pb2.ConfigureStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureStandardWaveformResponse.FromString, - _registered_method=True) + ) self.ConfigureSynchronization = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureSynchronization', request_serializer=nifgen__pb2.ConfigureSynchronizationRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureSynchronizationResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerMode = channel.unary_unary( '/nifgen_grpc.NiFgen/ConfigureTriggerMode', request_serializer=nifgen__pb2.ConfigureTriggerModeRequest.SerializeToString, response_deserializer=nifgen__pb2.ConfigureTriggerModeResponse.FromString, - _registered_method=True) + ) self.CreateAdvancedArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', request_serializer=nifgen__pb2.CreateAdvancedArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateAdvancedArbSequenceResponse.FromString, - _registered_method=True) + ) self.CreateArbSequence = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateArbSequence', request_serializer=nifgen__pb2.CreateArbSequenceRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateArbSequenceResponse.FromString, - _registered_method=True) + ) self.CreateFreqList = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateFreqList', request_serializer=nifgen__pb2.CreateFreqListRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateFreqListResponse.FromString, - _registered_method=True) + ) self.CreateWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', request_serializer=nifgen__pb2.CreateWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformComplexF64Response.FromString, - _registered_method=True) + ) self.CreateWaveformF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformF64', request_serializer=nifgen__pb2.CreateWaveformF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformF64Response.FromString, - _registered_method=True) + ) self.CreateWaveformFromFileF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', request_serializer=nifgen__pb2.CreateWaveformFromFileF64Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileF64Response.FromString, - _registered_method=True) + ) self.CreateWaveformFromFileI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', request_serializer=nifgen__pb2.CreateWaveformFromFileI16Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileI16Response.FromString, - _registered_method=True) + ) self.CreateWaveformI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformI16', request_serializer=nifgen__pb2.CreateWaveformI16Request.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformI16Response.FromString, - _registered_method=True) + ) self.DefineUserStandardWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', request_serializer=nifgen__pb2.DefineUserStandardWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.DefineUserStandardWaveformResponse.FromString, - _registered_method=True) + ) self.DeleteNamedWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/DeleteNamedWaveform', request_serializer=nifgen__pb2.DeleteNamedWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.DeleteNamedWaveformResponse.FromString, - _registered_method=True) + ) self.DeleteScript = channel.unary_unary( '/nifgen_grpc.NiFgen/DeleteScript', request_serializer=nifgen__pb2.DeleteScriptRequest.SerializeToString, response_deserializer=nifgen__pb2.DeleteScriptResponse.FromString, - _registered_method=True) + ) self.Disable = channel.unary_unary( '/nifgen_grpc.NiFgen/Disable', request_serializer=nifgen__pb2.DisableRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableResponse.FromString, - _registered_method=True) + ) self.DisableAnalogFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableAnalogFilter', request_serializer=nifgen__pb2.DisableAnalogFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableAnalogFilterResponse.FromString, - _registered_method=True) + ) self.DisableDigitalFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableDigitalFilter', request_serializer=nifgen__pb2.DisableDigitalFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableDigitalFilterResponse.FromString, - _registered_method=True) + ) self.DisableDigitalPatterning = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableDigitalPatterning', request_serializer=nifgen__pb2.DisableDigitalPatterningRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableDigitalPatterningResponse.FromString, - _registered_method=True) + ) self.DisableScriptTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableScriptTrigger', request_serializer=nifgen__pb2.DisableScriptTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableScriptTriggerResponse.FromString, - _registered_method=True) + ) self.DisableStartTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/DisableStartTrigger', request_serializer=nifgen__pb2.DisableStartTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.DisableStartTriggerResponse.FromString, - _registered_method=True) + ) self.EnableAnalogFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableAnalogFilter', request_serializer=nifgen__pb2.EnableAnalogFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableAnalogFilterResponse.FromString, - _registered_method=True) + ) self.EnableDigitalFilter = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableDigitalFilter', request_serializer=nifgen__pb2.EnableDigitalFilterRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableDigitalFilterResponse.FromString, - _registered_method=True) + ) self.EnableDigitalPatterning = channel.unary_unary( '/nifgen_grpc.NiFgen/EnableDigitalPatterning', request_serializer=nifgen__pb2.EnableDigitalPatterningRequest.SerializeToString, response_deserializer=nifgen__pb2.EnableDigitalPatterningResponse.FromString, - _registered_method=True) + ) self.ErrorHandler = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorHandler', request_serializer=nifgen__pb2.ErrorHandlerRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorHandlerResponse.FromString, - _registered_method=True) + ) self.ErrorMessage = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorMessage', request_serializer=nifgen__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorMessageResponse.FromString, - _registered_method=True) + ) self.ErrorQuery = channel.unary_unary( '/nifgen_grpc.NiFgen/ErrorQuery', request_serializer=nifgen__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=nifgen__pb2.ErrorQueryResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', request_serializer=nifgen__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationFile = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', request_serializer=nifgen__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ExportSignal = channel.unary_unary( '/nifgen_grpc.NiFgen/ExportSignal', request_serializer=nifgen__pb2.ExportSignalRequest.SerializeToString, response_deserializer=nifgen__pb2.ExportSignalResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViBoolean', request_serializer=nifgen__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViInt32', request_serializer=nifgen__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViInt64', request_serializer=nifgen__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViReal64', request_serializer=nifgen__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViSession', request_serializer=nifgen__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/GetAttributeViString', request_serializer=nifgen__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/nifgen_grpc.NiFgen/GetChannelName', request_serializer=nifgen__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=nifgen__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/nifgen_grpc.NiFgen/GetError', request_serializer=nifgen__pb2.GetErrorRequest.SerializeToString, response_deserializer=nifgen__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.GetExtCalLastDateAndTime = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', request_serializer=nifgen__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalLastDateAndTimeResponse.FromString, - _registered_method=True) + ) self.GetExtCalLastTemp = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalLastTemp', request_serializer=nifgen__pb2.GetExtCalLastTempRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalLastTempResponse.FromString, - _registered_method=True) + ) self.GetExtCalRecommendedInterval = channel.unary_unary( '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', request_serializer=nifgen__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, response_deserializer=nifgen__pb2.GetExtCalRecommendedIntervalResponse.FromString, - _registered_method=True) + ) self.GetFIRFilterCoefficients = channel.unary_unary( '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', request_serializer=nifgen__pb2.GetFIRFilterCoefficientsRequest.SerializeToString, response_deserializer=nifgen__pb2.GetFIRFilterCoefficientsResponse.FromString, - _registered_method=True) + ) self.GetHardwareState = channel.unary_unary( '/nifgen_grpc.NiFgen/GetHardwareState', request_serializer=nifgen__pb2.GetHardwareStateRequest.SerializeToString, response_deserializer=nifgen__pb2.GetHardwareStateResponse.FromString, - _registered_method=True) + ) self.GetSelfCalLastDateAndTime = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', request_serializer=nifgen__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - _registered_method=True) + ) self.GetSelfCalLastTemp = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', request_serializer=nifgen__pb2.GetSelfCalLastTempRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalLastTempResponse.FromString, - _registered_method=True) + ) self.GetSelfCalSupported = channel.unary_unary( '/nifgen_grpc.NiFgen/GetSelfCalSupported', request_serializer=nifgen__pb2.GetSelfCalSupportedRequest.SerializeToString, response_deserializer=nifgen__pb2.GetSelfCalSupportedResponse.FromString, - _registered_method=True) + ) self.GetStreamEndpointHandle = channel.unary_unary( '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', request_serializer=nifgen__pb2.GetStreamEndpointHandleRequest.SerializeToString, response_deserializer=nifgen__pb2.GetStreamEndpointHandleResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', request_serializer=nifgen__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=nifgen__pb2.ImportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationFile = channel.unary_unary( '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', request_serializer=nifgen__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=nifgen__pb2.ImportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.Init = channel.unary_unary( '/nifgen_grpc.NiFgen/Init', request_serializer=nifgen__pb2.InitRequest.SerializeToString, response_deserializer=nifgen__pb2.InitResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/nifgen_grpc.NiFgen/InitWithOptions', request_serializer=nifgen__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=nifgen__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.InitializeWithChannels = channel.unary_unary( '/nifgen_grpc.NiFgen/InitializeWithChannels', request_serializer=nifgen__pb2.InitializeWithChannelsRequest.SerializeToString, response_deserializer=nifgen__pb2.InitializeWithChannelsResponse.FromString, - _registered_method=True) + ) self.InitiateGeneration = channel.unary_unary( '/nifgen_grpc.NiFgen/InitiateGeneration', request_serializer=nifgen__pb2.InitiateGenerationRequest.SerializeToString, response_deserializer=nifgen__pb2.InitiateGenerationResponse.FromString, - _registered_method=True) + ) self.InvalidateAllAttributes = channel.unary_unary( '/nifgen_grpc.NiFgen/InvalidateAllAttributes', request_serializer=nifgen__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=nifgen__pb2.InvalidateAllAttributesResponse.FromString, - _registered_method=True) + ) self.IsDone = channel.unary_unary( '/nifgen_grpc.NiFgen/IsDone', request_serializer=nifgen__pb2.IsDoneRequest.SerializeToString, response_deserializer=nifgen__pb2.IsDoneResponse.FromString, - _registered_method=True) + ) self.QueryArbSeqCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', request_serializer=nifgen__pb2.QueryArbSeqCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryArbSeqCapabilitiesResponse.FromString, - _registered_method=True) + ) self.QueryArbWfmCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', request_serializer=nifgen__pb2.QueryArbWfmCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryArbWfmCapabilitiesResponse.FromString, - _registered_method=True) + ) self.QueryFreqListCapabilities = channel.unary_unary( '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', request_serializer=nifgen__pb2.QueryFreqListCapabilitiesRequest.SerializeToString, response_deserializer=nifgen__pb2.QueryFreqListCapabilitiesResponse.FromString, - _registered_method=True) + ) self.ReadCurrentTemperature = channel.unary_unary( '/nifgen_grpc.NiFgen/ReadCurrentTemperature', request_serializer=nifgen__pb2.ReadCurrentTemperatureRequest.SerializeToString, response_deserializer=nifgen__pb2.ReadCurrentTemperatureResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/nifgen_grpc.NiFgen/Reset', request_serializer=nifgen__pb2.ResetRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.ResetAttribute = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetAttribute', request_serializer=nifgen__pb2.ResetAttributeRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetAttributeResponse.FromString, - _registered_method=True) + ) self.ResetDevice = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetDevice', request_serializer=nifgen__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetDeviceResponse.FromString, - _registered_method=True) + ) self.ResetInterchangeCheck = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetInterchangeCheck', request_serializer=nifgen__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetInterchangeCheckResponse.FromString, - _registered_method=True) + ) self.ResetWithDefaults = channel.unary_unary( '/nifgen_grpc.NiFgen/ResetWithDefaults', request_serializer=nifgen__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=nifgen__pb2.ResetWithDefaultsResponse.FromString, - _registered_method=True) + ) self.RevisionQuery = channel.unary_unary( '/nifgen_grpc.NiFgen/RevisionQuery', request_serializer=nifgen__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=nifgen__pb2.RevisionQueryResponse.FromString, - _registered_method=True) + ) self.RouteSignalOut = channel.unary_unary( '/nifgen_grpc.NiFgen/RouteSignalOut', request_serializer=nifgen__pb2.RouteSignalOutRequest.SerializeToString, response_deserializer=nifgen__pb2.RouteSignalOutResponse.FromString, - _registered_method=True) + ) self.SelfCal = channel.unary_unary( '/nifgen_grpc.NiFgen/SelfCal', request_serializer=nifgen__pb2.SelfCalRequest.SerializeToString, response_deserializer=nifgen__pb2.SelfCalResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/nifgen_grpc.NiFgen/SelfTest', request_serializer=nifgen__pb2.SelfTestRequest.SerializeToString, response_deserializer=nifgen__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.SendSoftwareEdgeTrigger = channel.unary_unary( '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', request_serializer=nifgen__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, response_deserializer=nifgen__pb2.SendSoftwareEdgeTriggerResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViBoolean', request_serializer=nifgen__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViInt32', request_serializer=nifgen__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt64 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViInt64', request_serializer=nifgen__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViReal64', request_serializer=nifgen__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViSession', request_serializer=nifgen__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/nifgen_grpc.NiFgen/SetAttributeViString', request_serializer=nifgen__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=nifgen__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetNamedWaveformNextWritePosition = channel.unary_unary( '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', request_serializer=nifgen__pb2.SetNamedWaveformNextWritePositionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetNamedWaveformNextWritePositionResponse.FromString, - _registered_method=True) + ) self.SetWaveformNextWritePosition = channel.unary_unary( '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', request_serializer=nifgen__pb2.SetWaveformNextWritePositionRequest.SerializeToString, response_deserializer=nifgen__pb2.SetWaveformNextWritePositionResponse.FromString, - _registered_method=True) + ) self.WaitUntilDone = channel.unary_unary( '/nifgen_grpc.NiFgen/WaitUntilDone', request_serializer=nifgen__pb2.WaitUntilDoneRequest.SerializeToString, response_deserializer=nifgen__pb2.WaitUntilDoneResponse.FromString, - _registered_method=True) + ) self.WriteBinary16Waveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteBinary16Waveform', request_serializer=nifgen__pb2.WriteBinary16WaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteBinary16WaveformResponse.FromString, - _registered_method=True) + ) self.WriteComplexBinary16Waveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', request_serializer=nifgen__pb2.WriteComplexBinary16WaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteComplexBinary16WaveformResponse.FromString, - _registered_method=True) + ) self.WriteNamedWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', request_serializer=nifgen__pb2.WriteNamedWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformComplexF64Response.FromString, - _registered_method=True) + ) self.WriteNamedWaveformComplexI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', request_serializer=nifgen__pb2.WriteNamedWaveformComplexI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformComplexI16Response.FromString, - _registered_method=True) + ) self.WriteNamedWaveformF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', request_serializer=nifgen__pb2.WriteNamedWaveformF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformF64Response.FromString, - _registered_method=True) + ) self.WriteNamedWaveformI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', request_serializer=nifgen__pb2.WriteNamedWaveformI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteNamedWaveformI16Response.FromString, - _registered_method=True) + ) self.WriteP2PEndpointI16 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', request_serializer=nifgen__pb2.WriteP2PEndpointI16Request.SerializeToString, response_deserializer=nifgen__pb2.WriteP2PEndpointI16Response.FromString, - _registered_method=True) + ) self.WriteScript = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteScript', request_serializer=nifgen__pb2.WriteScriptRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteScriptResponse.FromString, - _registered_method=True) + ) self.WriteWaveform = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteWaveform', request_serializer=nifgen__pb2.WriteWaveformRequest.SerializeToString, response_deserializer=nifgen__pb2.WriteWaveformResponse.FromString, - _registered_method=True) + ) self.WriteWaveformComplexF64 = channel.unary_unary( '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', request_serializer=nifgen__pb2.WriteWaveformComplexF64Request.SerializeToString, response_deserializer=nifgen__pb2.WriteWaveformComplexF64Response.FromString, - _registered_method=True) + ) self.CreateWaveformFromFileHWS = channel.unary_unary( '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', request_serializer=nifgen__pb2.CreateWaveformFromFileHWSRequest.SerializeToString, response_deserializer=nifgen__pb2.CreateWaveformFromFileHWSResponse.FromString, - _registered_method=True) + ) self.ManualEnableP2PStream = channel.unary_unary( '/nifgen_grpc.NiFgen/ManualEnableP2PStream', request_serializer=nifgen__pb2.ManualEnableP2PStreamRequest.SerializeToString, response_deserializer=nifgen__pb2.ManualEnableP2PStreamResponse.FromString, - _registered_method=True) + ) class NiFgenServicer(object): @@ -2110,7 +2090,6 @@ def add_NiFgenServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nifgen_grpc.NiFgen', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nifgen_grpc.NiFgen', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -2128,21 +2107,11 @@ def AbortGeneration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/AbortGeneration', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AbortGeneration', nifgen__pb2.AbortGenerationRequest.SerializeToString, nifgen__pb2.AbortGenerationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AdjustSampleClockRelativeDelay(request, @@ -2155,21 +2124,11 @@ def AdjustSampleClockRelativeDelay(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AdjustSampleClockRelativeDelay', nifgen__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, nifgen__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AllocateNamedWaveform(request, @@ -2182,21 +2141,11 @@ def AllocateNamedWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/AllocateNamedWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AllocateNamedWaveform', nifgen__pb2.AllocateNamedWaveformRequest.SerializeToString, nifgen__pb2.AllocateNamedWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AllocateWaveform(request, @@ -2209,21 +2158,11 @@ def AllocateWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/AllocateWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/AllocateWaveform', nifgen__pb2.AllocateWaveformRequest.SerializeToString, nifgen__pb2.AllocateWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViBoolean(request, @@ -2236,21 +2175,11 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViBoolean', nifgen__pb2.CheckAttributeViBooleanRequest.SerializeToString, nifgen__pb2.CheckAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt32(request, @@ -2263,21 +2192,11 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViInt32', nifgen__pb2.CheckAttributeViInt32Request.SerializeToString, nifgen__pb2.CheckAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt64(request, @@ -2290,21 +2209,11 @@ def CheckAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViInt64', nifgen__pb2.CheckAttributeViInt64Request.SerializeToString, nifgen__pb2.CheckAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViReal64(request, @@ -2317,21 +2226,11 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViReal64', nifgen__pb2.CheckAttributeViReal64Request.SerializeToString, nifgen__pb2.CheckAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViSession(request, @@ -2344,21 +2243,11 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViSession', nifgen__pb2.CheckAttributeViSessionRequest.SerializeToString, nifgen__pb2.CheckAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViString(request, @@ -2371,21 +2260,11 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CheckAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CheckAttributeViString', nifgen__pb2.CheckAttributeViStringRequest.SerializeToString, nifgen__pb2.CheckAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearArbMemory(request, @@ -2398,21 +2277,11 @@ def ClearArbMemory(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearArbMemory', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbMemory', nifgen__pb2.ClearArbMemoryRequest.SerializeToString, nifgen__pb2.ClearArbMemoryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearArbSequence(request, @@ -2425,21 +2294,11 @@ def ClearArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearArbSequence', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbSequence', nifgen__pb2.ClearArbSequenceRequest.SerializeToString, nifgen__pb2.ClearArbSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearArbWaveform(request, @@ -2452,21 +2311,11 @@ def ClearArbWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearArbWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearArbWaveform', nifgen__pb2.ClearArbWaveformRequest.SerializeToString, nifgen__pb2.ClearArbWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearError(request, @@ -2479,21 +2328,11 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearError', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearError', nifgen__pb2.ClearErrorRequest.SerializeToString, nifgen__pb2.ClearErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearFreqList(request, @@ -2506,21 +2345,11 @@ def ClearFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearFreqList', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearFreqList', nifgen__pb2.ClearFreqListRequest.SerializeToString, nifgen__pb2.ClearFreqListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearInterchangeWarnings(request, @@ -2533,21 +2362,11 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearInterchangeWarnings', nifgen__pb2.ClearInterchangeWarningsRequest.SerializeToString, nifgen__pb2.ClearInterchangeWarningsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearUserStandardWaveform(request, @@ -2560,21 +2379,11 @@ def ClearUserStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ClearUserStandardWaveform', nifgen__pb2.ClearUserStandardWaveformRequest.SerializeToString, nifgen__pb2.ClearUserStandardWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -2587,21 +2396,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/Close', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Close', nifgen__pb2.CloseRequest.SerializeToString, nifgen__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -2614,21 +2413,11 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/Commit', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Commit', nifgen__pb2.CommitRequest.SerializeToString, nifgen__pb2.CommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureAmplitude(request, @@ -2641,21 +2430,11 @@ def ConfigureAmplitude(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureAmplitude', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureAmplitude', nifgen__pb2.ConfigureAmplitudeRequest.SerializeToString, nifgen__pb2.ConfigureAmplitudeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureArbSequence(request, @@ -2668,21 +2447,11 @@ def ConfigureArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureArbSequence', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureArbSequence', nifgen__pb2.ConfigureArbSequenceRequest.SerializeToString, nifgen__pb2.ConfigureArbSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureArbWaveform(request, @@ -2695,21 +2464,11 @@ def ConfigureArbWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureArbWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureArbWaveform', nifgen__pb2.ConfigureArbWaveformRequest.SerializeToString, nifgen__pb2.ConfigureArbWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureChannels(request, @@ -2722,21 +2481,11 @@ def ConfigureChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureChannels', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureChannels', nifgen__pb2.ConfigureChannelsRequest.SerializeToString, nifgen__pb2.ConfigureChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureClockMode(request, @@ -2749,21 +2498,11 @@ def ConfigureClockMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureClockMode', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureClockMode', nifgen__pb2.ConfigureClockModeRequest.SerializeToString, nifgen__pb2.ConfigureClockModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureCustomFIRFilterCoefficients(request, @@ -2776,21 +2515,11 @@ def ConfigureCustomFIRFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureCustomFIRFilterCoefficients', nifgen__pb2.ConfigureCustomFIRFilterCoefficientsRequest.SerializeToString, nifgen__pb2.ConfigureCustomFIRFilterCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeScriptTrigger(request, @@ -2803,21 +2532,11 @@ def ConfigureDigitalEdgeScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeScriptTrigger', nifgen__pb2.ConfigureDigitalEdgeScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalEdgeScriptTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalEdgeStartTrigger(request, @@ -2830,21 +2549,11 @@ def ConfigureDigitalEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalEdgeStartTrigger', nifgen__pb2.ConfigureDigitalEdgeStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureDigitalLevelScriptTrigger(request, @@ -2857,21 +2566,11 @@ def ConfigureDigitalLevelScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureDigitalLevelScriptTrigger', nifgen__pb2.ConfigureDigitalLevelScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureDigitalLevelScriptTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureFreqList(request, @@ -2884,21 +2583,11 @@ def ConfigureFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureFreqList', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureFreqList', nifgen__pb2.ConfigureFreqListRequest.SerializeToString, nifgen__pb2.ConfigureFreqListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureFrequency(request, @@ -2911,21 +2600,11 @@ def ConfigureFrequency(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureFrequency', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureFrequency', nifgen__pb2.ConfigureFrequencyRequest.SerializeToString, nifgen__pb2.ConfigureFrequencyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOperationMode(request, @@ -2938,21 +2617,11 @@ def ConfigureOperationMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureOperationMode', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOperationMode', nifgen__pb2.ConfigureOperationModeRequest.SerializeToString, nifgen__pb2.ConfigureOperationModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputEnabled(request, @@ -2965,21 +2634,11 @@ def ConfigureOutputEnabled(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputEnabled', nifgen__pb2.ConfigureOutputEnabledRequest.SerializeToString, nifgen__pb2.ConfigureOutputEnabledResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputImpedance(request, @@ -2992,21 +2651,11 @@ def ConfigureOutputImpedance(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputImpedance', nifgen__pb2.ConfigureOutputImpedanceRequest.SerializeToString, nifgen__pb2.ConfigureOutputImpedanceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureOutputMode(request, @@ -3019,21 +2668,11 @@ def ConfigureOutputMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureOutputMode', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureOutputMode', nifgen__pb2.ConfigureOutputModeRequest.SerializeToString, nifgen__pb2.ConfigureOutputModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureP2PEndpointFullnessStartTrigger(request, @@ -3046,21 +2685,11 @@ def ConfigureP2PEndpointFullnessStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureP2PEndpointFullnessStartTrigger', nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureP2PEndpointFullnessStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureReferenceClock(request, @@ -3073,21 +2702,11 @@ def ConfigureReferenceClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureReferenceClock', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureReferenceClock', nifgen__pb2.ConfigureReferenceClockRequest.SerializeToString, nifgen__pb2.ConfigureReferenceClockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSampleClockSource(request, @@ -3100,21 +2719,11 @@ def ConfigureSampleClockSource(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSampleClockSource', nifgen__pb2.ConfigureSampleClockSourceRequest.SerializeToString, nifgen__pb2.ConfigureSampleClockSourceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSampleRate(request, @@ -3127,21 +2736,11 @@ def ConfigureSampleRate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureSampleRate', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSampleRate', nifgen__pb2.ConfigureSampleRateRequest.SerializeToString, nifgen__pb2.ConfigureSampleRateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeScriptTrigger(request, @@ -3154,21 +2753,11 @@ def ConfigureSoftwareEdgeScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeScriptTrigger', nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerRequest.SerializeToString, nifgen__pb2.ConfigureSoftwareEdgeScriptTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSoftwareEdgeStartTrigger(request, @@ -3181,21 +2770,11 @@ def ConfigureSoftwareEdgeStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSoftwareEdgeStartTrigger', nifgen__pb2.ConfigureSoftwareEdgeStartTriggerRequest.SerializeToString, nifgen__pb2.ConfigureSoftwareEdgeStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureStandardWaveform(request, @@ -3208,21 +2787,11 @@ def ConfigureStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureStandardWaveform', nifgen__pb2.ConfigureStandardWaveformRequest.SerializeToString, nifgen__pb2.ConfigureStandardWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureSynchronization(request, @@ -3235,21 +2804,11 @@ def ConfigureSynchronization(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureSynchronization', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureSynchronization', nifgen__pb2.ConfigureSynchronizationRequest.SerializeToString, nifgen__pb2.ConfigureSynchronizationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerMode(request, @@ -3262,21 +2821,11 @@ def ConfigureTriggerMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ConfigureTriggerMode', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ConfigureTriggerMode', nifgen__pb2.ConfigureTriggerModeRequest.SerializeToString, nifgen__pb2.ConfigureTriggerModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateAdvancedArbSequence(request, @@ -3289,21 +2838,11 @@ def CreateAdvancedArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateAdvancedArbSequence', nifgen__pb2.CreateAdvancedArbSequenceRequest.SerializeToString, nifgen__pb2.CreateAdvancedArbSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateArbSequence(request, @@ -3316,21 +2855,11 @@ def CreateArbSequence(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateArbSequence', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateArbSequence', nifgen__pb2.CreateArbSequenceRequest.SerializeToString, nifgen__pb2.CreateArbSequenceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateFreqList(request, @@ -3343,21 +2872,11 @@ def CreateFreqList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateFreqList', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateFreqList', nifgen__pb2.CreateFreqListRequest.SerializeToString, nifgen__pb2.CreateFreqListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformComplexF64(request, @@ -3370,21 +2889,11 @@ def CreateWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformComplexF64', nifgen__pb2.CreateWaveformComplexF64Request.SerializeToString, nifgen__pb2.CreateWaveformComplexF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformF64(request, @@ -3397,21 +2906,11 @@ def CreateWaveformF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformF64', nifgen__pb2.CreateWaveformF64Request.SerializeToString, nifgen__pb2.CreateWaveformF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformFromFileF64(request, @@ -3424,21 +2923,11 @@ def CreateWaveformFromFileF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileF64', nifgen__pb2.CreateWaveformFromFileF64Request.SerializeToString, nifgen__pb2.CreateWaveformFromFileF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformFromFileI16(request, @@ -3451,21 +2940,11 @@ def CreateWaveformFromFileI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileI16', nifgen__pb2.CreateWaveformFromFileI16Request.SerializeToString, nifgen__pb2.CreateWaveformFromFileI16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformI16(request, @@ -3478,21 +2957,11 @@ def CreateWaveformI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformI16', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformI16', nifgen__pb2.CreateWaveformI16Request.SerializeToString, nifgen__pb2.CreateWaveformI16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DefineUserStandardWaveform(request, @@ -3505,21 +2974,11 @@ def DefineUserStandardWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DefineUserStandardWaveform', nifgen__pb2.DefineUserStandardWaveformRequest.SerializeToString, nifgen__pb2.DefineUserStandardWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteNamedWaveform(request, @@ -3532,21 +2991,11 @@ def DeleteNamedWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DeleteNamedWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DeleteNamedWaveform', nifgen__pb2.DeleteNamedWaveformRequest.SerializeToString, nifgen__pb2.DeleteNamedWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteScript(request, @@ -3559,21 +3008,11 @@ def DeleteScript(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DeleteScript', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DeleteScript', nifgen__pb2.DeleteScriptRequest.SerializeToString, nifgen__pb2.DeleteScriptResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disable(request, @@ -3586,21 +3025,11 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/Disable', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Disable', nifgen__pb2.DisableRequest.SerializeToString, nifgen__pb2.DisableResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableAnalogFilter(request, @@ -3613,21 +3042,11 @@ def DisableAnalogFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DisableAnalogFilter', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableAnalogFilter', nifgen__pb2.DisableAnalogFilterRequest.SerializeToString, nifgen__pb2.DisableAnalogFilterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableDigitalFilter(request, @@ -3640,21 +3059,11 @@ def DisableDigitalFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DisableDigitalFilter', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableDigitalFilter', nifgen__pb2.DisableDigitalFilterRequest.SerializeToString, nifgen__pb2.DisableDigitalFilterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableDigitalPatterning(request, @@ -3667,21 +3076,11 @@ def DisableDigitalPatterning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DisableDigitalPatterning', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableDigitalPatterning', nifgen__pb2.DisableDigitalPatterningRequest.SerializeToString, nifgen__pb2.DisableDigitalPatterningResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableScriptTrigger(request, @@ -3694,21 +3093,11 @@ def DisableScriptTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DisableScriptTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableScriptTrigger', nifgen__pb2.DisableScriptTriggerRequest.SerializeToString, nifgen__pb2.DisableScriptTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisableStartTrigger(request, @@ -3721,21 +3110,11 @@ def DisableStartTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/DisableStartTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/DisableStartTrigger', nifgen__pb2.DisableStartTriggerRequest.SerializeToString, nifgen__pb2.DisableStartTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnableAnalogFilter(request, @@ -3748,21 +3127,11 @@ def EnableAnalogFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/EnableAnalogFilter', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableAnalogFilter', nifgen__pb2.EnableAnalogFilterRequest.SerializeToString, nifgen__pb2.EnableAnalogFilterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnableDigitalFilter(request, @@ -3775,21 +3144,11 @@ def EnableDigitalFilter(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/EnableDigitalFilter', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableDigitalFilter', nifgen__pb2.EnableDigitalFilterRequest.SerializeToString, nifgen__pb2.EnableDigitalFilterResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def EnableDigitalPatterning(request, @@ -3802,21 +3161,11 @@ def EnableDigitalPatterning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/EnableDigitalPatterning', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/EnableDigitalPatterning', nifgen__pb2.EnableDigitalPatterningRequest.SerializeToString, nifgen__pb2.EnableDigitalPatterningResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorHandler(request, @@ -3829,21 +3178,11 @@ def ErrorHandler(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ErrorHandler', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorHandler', nifgen__pb2.ErrorHandlerRequest.SerializeToString, nifgen__pb2.ErrorHandlerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorMessage(request, @@ -3856,21 +3195,11 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ErrorMessage', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorMessage', nifgen__pb2.ErrorMessageRequest.SerializeToString, nifgen__pb2.ErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorQuery(request, @@ -3883,21 +3212,11 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ErrorQuery', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ErrorQuery', nifgen__pb2.ErrorQueryRequest.SerializeToString, nifgen__pb2.ErrorQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -3910,21 +3229,11 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportAttributeConfigurationBuffer', nifgen__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, nifgen__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationFile(request, @@ -3937,21 +3246,11 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportAttributeConfigurationFile', nifgen__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, nifgen__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportSignal(request, @@ -3964,21 +3263,11 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ExportSignal', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ExportSignal', nifgen__pb2.ExportSignalRequest.SerializeToString, nifgen__pb2.ExportSignalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -3991,21 +3280,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViBoolean', nifgen__pb2.GetAttributeViBooleanRequest.SerializeToString, nifgen__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -4018,21 +3297,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViInt32', nifgen__pb2.GetAttributeViInt32Request.SerializeToString, nifgen__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt64(request, @@ -4045,21 +3314,11 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViInt64', nifgen__pb2.GetAttributeViInt64Request.SerializeToString, nifgen__pb2.GetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -4072,21 +3331,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViReal64', nifgen__pb2.GetAttributeViReal64Request.SerializeToString, nifgen__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -4099,21 +3348,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViSession', nifgen__pb2.GetAttributeViSessionRequest.SerializeToString, nifgen__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -4126,21 +3365,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetAttributeViString', nifgen__pb2.GetAttributeViStringRequest.SerializeToString, nifgen__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -4153,21 +3382,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetChannelName', nifgen__pb2.GetChannelNameRequest.SerializeToString, nifgen__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -4180,21 +3399,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetError', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetError', nifgen__pb2.GetErrorRequest.SerializeToString, nifgen__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalLastDateAndTime(request, @@ -4207,21 +3416,11 @@ def GetExtCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalLastDateAndTime', nifgen__pb2.GetExtCalLastDateAndTimeRequest.SerializeToString, nifgen__pb2.GetExtCalLastDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalLastTemp(request, @@ -4234,21 +3433,11 @@ def GetExtCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetExtCalLastTemp', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalLastTemp', nifgen__pb2.GetExtCalLastTempRequest.SerializeToString, nifgen__pb2.GetExtCalLastTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetExtCalRecommendedInterval(request, @@ -4261,21 +3450,11 @@ def GetExtCalRecommendedInterval(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetExtCalRecommendedInterval', nifgen__pb2.GetExtCalRecommendedIntervalRequest.SerializeToString, nifgen__pb2.GetExtCalRecommendedIntervalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFIRFilterCoefficients(request, @@ -4288,21 +3467,11 @@ def GetFIRFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetFIRFilterCoefficients', nifgen__pb2.GetFIRFilterCoefficientsRequest.SerializeToString, nifgen__pb2.GetFIRFilterCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetHardwareState(request, @@ -4315,21 +3484,11 @@ def GetHardwareState(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetHardwareState', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetHardwareState', nifgen__pb2.GetHardwareStateRequest.SerializeToString, nifgen__pb2.GetHardwareStateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalLastDateAndTime(request, @@ -4342,21 +3501,11 @@ def GetSelfCalLastDateAndTime(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalLastDateAndTime', nifgen__pb2.GetSelfCalLastDateAndTimeRequest.SerializeToString, nifgen__pb2.GetSelfCalLastDateAndTimeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalLastTemp(request, @@ -4369,21 +3518,11 @@ def GetSelfCalLastTemp(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalLastTemp', nifgen__pb2.GetSelfCalLastTempRequest.SerializeToString, nifgen__pb2.GetSelfCalLastTempResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSelfCalSupported(request, @@ -4396,21 +3535,11 @@ def GetSelfCalSupported(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetSelfCalSupported', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetSelfCalSupported', nifgen__pb2.GetSelfCalSupportedRequest.SerializeToString, nifgen__pb2.GetSelfCalSupportedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetStreamEndpointHandle(request, @@ -4423,21 +3552,11 @@ def GetStreamEndpointHandle(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/GetStreamEndpointHandle', nifgen__pb2.GetStreamEndpointHandleRequest.SerializeToString, nifgen__pb2.GetStreamEndpointHandleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -4450,21 +3569,11 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ImportAttributeConfigurationBuffer', nifgen__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, nifgen__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationFile(request, @@ -4477,21 +3586,11 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ImportAttributeConfigurationFile', nifgen__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, nifgen__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Init(request, @@ -4504,21 +3603,11 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/Init', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Init', nifgen__pb2.InitRequest.SerializeToString, nifgen__pb2.InitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -4531,21 +3620,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitWithOptions', nifgen__pb2.InitWithOptionsRequest.SerializeToString, nifgen__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitializeWithChannels(request, @@ -4558,21 +3637,11 @@ def InitializeWithChannels(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/InitializeWithChannels', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitializeWithChannels', nifgen__pb2.InitializeWithChannelsRequest.SerializeToString, nifgen__pb2.InitializeWithChannelsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitiateGeneration(request, @@ -4585,21 +3654,11 @@ def InitiateGeneration(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/InitiateGeneration', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InitiateGeneration', nifgen__pb2.InitiateGenerationRequest.SerializeToString, nifgen__pb2.InitiateGenerationResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InvalidateAllAttributes(request, @@ -4612,21 +3671,11 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/InvalidateAllAttributes', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/InvalidateAllAttributes', nifgen__pb2.InvalidateAllAttributesRequest.SerializeToString, nifgen__pb2.InvalidateAllAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsDone(request, @@ -4639,21 +3688,11 @@ def IsDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/IsDone', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/IsDone', nifgen__pb2.IsDoneRequest.SerializeToString, nifgen__pb2.IsDoneResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryArbSeqCapabilities(request, @@ -4666,21 +3705,11 @@ def QueryArbSeqCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryArbSeqCapabilities', nifgen__pb2.QueryArbSeqCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryArbSeqCapabilitiesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryArbWfmCapabilities(request, @@ -4693,21 +3722,11 @@ def QueryArbWfmCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryArbWfmCapabilities', nifgen__pb2.QueryArbWfmCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryArbWfmCapabilitiesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def QueryFreqListCapabilities(request, @@ -4720,21 +3739,11 @@ def QueryFreqListCapabilities(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/QueryFreqListCapabilities', nifgen__pb2.QueryFreqListCapabilitiesRequest.SerializeToString, nifgen__pb2.QueryFreqListCapabilitiesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadCurrentTemperature(request, @@ -4747,21 +3756,11 @@ def ReadCurrentTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ReadCurrentTemperature', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ReadCurrentTemperature', nifgen__pb2.ReadCurrentTemperatureRequest.SerializeToString, nifgen__pb2.ReadCurrentTemperatureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -4774,21 +3773,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/Reset', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/Reset', nifgen__pb2.ResetRequest.SerializeToString, nifgen__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetAttribute(request, @@ -4801,21 +3790,11 @@ def ResetAttribute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ResetAttribute', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetAttribute', nifgen__pb2.ResetAttributeRequest.SerializeToString, nifgen__pb2.ResetAttributeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetDevice(request, @@ -4828,21 +3807,11 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ResetDevice', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetDevice', nifgen__pb2.ResetDeviceRequest.SerializeToString, nifgen__pb2.ResetDeviceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetInterchangeCheck(request, @@ -4855,21 +3824,11 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ResetInterchangeCheck', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetInterchangeCheck', nifgen__pb2.ResetInterchangeCheckRequest.SerializeToString, nifgen__pb2.ResetInterchangeCheckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetWithDefaults(request, @@ -4882,21 +3841,11 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ResetWithDefaults', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ResetWithDefaults', nifgen__pb2.ResetWithDefaultsRequest.SerializeToString, nifgen__pb2.ResetWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RevisionQuery(request, @@ -4909,21 +3858,11 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/RevisionQuery', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/RevisionQuery', nifgen__pb2.RevisionQueryRequest.SerializeToString, nifgen__pb2.RevisionQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RouteSignalOut(request, @@ -4936,21 +3875,11 @@ def RouteSignalOut(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/RouteSignalOut', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/RouteSignalOut', nifgen__pb2.RouteSignalOutRequest.SerializeToString, nifgen__pb2.RouteSignalOutResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfCal(request, @@ -4963,21 +3892,11 @@ def SelfCal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SelfCal', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SelfCal', nifgen__pb2.SelfCalRequest.SerializeToString, nifgen__pb2.SelfCalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -4990,21 +3909,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SelfTest', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SelfTest', nifgen__pb2.SelfTestRequest.SerializeToString, nifgen__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareEdgeTrigger(request, @@ -5017,21 +3926,11 @@ def SendSoftwareEdgeTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SendSoftwareEdgeTrigger', nifgen__pb2.SendSoftwareEdgeTriggerRequest.SerializeToString, nifgen__pb2.SendSoftwareEdgeTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -5044,21 +3943,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViBoolean', nifgen__pb2.SetAttributeViBooleanRequest.SerializeToString, nifgen__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -5071,21 +3960,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViInt32', nifgen__pb2.SetAttributeViInt32Request.SerializeToString, nifgen__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt64(request, @@ -5098,21 +3977,11 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViInt64', nifgen__pb2.SetAttributeViInt64Request.SerializeToString, nifgen__pb2.SetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -5125,21 +3994,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViReal64', nifgen__pb2.SetAttributeViReal64Request.SerializeToString, nifgen__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -5152,21 +4011,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViSession', nifgen__pb2.SetAttributeViSessionRequest.SerializeToString, nifgen__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -5179,21 +4028,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetAttributeViString', nifgen__pb2.SetAttributeViStringRequest.SerializeToString, nifgen__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetNamedWaveformNextWritePosition(request, @@ -5206,21 +4045,11 @@ def SetNamedWaveformNextWritePosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetNamedWaveformNextWritePosition', nifgen__pb2.SetNamedWaveformNextWritePositionRequest.SerializeToString, nifgen__pb2.SetNamedWaveformNextWritePositionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetWaveformNextWritePosition(request, @@ -5233,21 +4062,11 @@ def SetWaveformNextWritePosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/SetWaveformNextWritePosition', nifgen__pb2.SetWaveformNextWritePositionRequest.SerializeToString, nifgen__pb2.SetWaveformNextWritePositionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitUntilDone(request, @@ -5260,21 +4079,11 @@ def WaitUntilDone(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WaitUntilDone', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WaitUntilDone', nifgen__pb2.WaitUntilDoneRequest.SerializeToString, nifgen__pb2.WaitUntilDoneResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteBinary16Waveform(request, @@ -5287,21 +4096,11 @@ def WriteBinary16Waveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteBinary16Waveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteBinary16Waveform', nifgen__pb2.WriteBinary16WaveformRequest.SerializeToString, nifgen__pb2.WriteBinary16WaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteComplexBinary16Waveform(request, @@ -5314,21 +4113,11 @@ def WriteComplexBinary16Waveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteComplexBinary16Waveform', nifgen__pb2.WriteComplexBinary16WaveformRequest.SerializeToString, nifgen__pb2.WriteComplexBinary16WaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteNamedWaveformComplexF64(request, @@ -5341,21 +4130,11 @@ def WriteNamedWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexF64', nifgen__pb2.WriteNamedWaveformComplexF64Request.SerializeToString, nifgen__pb2.WriteNamedWaveformComplexF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteNamedWaveformComplexI16(request, @@ -5368,21 +4147,11 @@ def WriteNamedWaveformComplexI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformComplexI16', nifgen__pb2.WriteNamedWaveformComplexI16Request.SerializeToString, nifgen__pb2.WriteNamedWaveformComplexI16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteNamedWaveformF64(request, @@ -5395,21 +4164,11 @@ def WriteNamedWaveformF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformF64', nifgen__pb2.WriteNamedWaveformF64Request.SerializeToString, nifgen__pb2.WriteNamedWaveformF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteNamedWaveformI16(request, @@ -5422,21 +4181,11 @@ def WriteNamedWaveformI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteNamedWaveformI16', nifgen__pb2.WriteNamedWaveformI16Request.SerializeToString, nifgen__pb2.WriteNamedWaveformI16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteP2PEndpointI16(request, @@ -5449,21 +4198,11 @@ def WriteP2PEndpointI16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteP2PEndpointI16', nifgen__pb2.WriteP2PEndpointI16Request.SerializeToString, nifgen__pb2.WriteP2PEndpointI16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteScript(request, @@ -5476,21 +4215,11 @@ def WriteScript(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteScript', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteScript', nifgen__pb2.WriteScriptRequest.SerializeToString, nifgen__pb2.WriteScriptResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteWaveform(request, @@ -5503,21 +4232,11 @@ def WriteWaveform(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteWaveform', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteWaveform', nifgen__pb2.WriteWaveformRequest.SerializeToString, nifgen__pb2.WriteWaveformResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WriteWaveformComplexF64(request, @@ -5530,21 +4249,11 @@ def WriteWaveformComplexF64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/WriteWaveformComplexF64', nifgen__pb2.WriteWaveformComplexF64Request.SerializeToString, nifgen__pb2.WriteWaveformComplexF64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateWaveformFromFileHWS(request, @@ -5557,21 +4266,11 @@ def CreateWaveformFromFileHWS(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/CreateWaveformFromFileHWS', nifgen__pb2.CreateWaveformFromFileHWSRequest.SerializeToString, nifgen__pb2.CreateWaveformFromFileHWSResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ManualEnableP2PStream(request, @@ -5584,18 +4283,8 @@ def ManualEnableP2PStream(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nifgen_grpc.NiFgen/ManualEnableP2PStream', + return grpc.experimental.unary_unary(request, target, '/nifgen_grpc.NiFgen/ManualEnableP2PStream', nifgen__pb2.ManualEnableP2PStreamRequest.SerializeToString, nifgen__pb2.ManualEnableP2PStreamResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nifgen/nifgen/session_pb2.py b/generated/nifgen/nifgen/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/nifgen/nifgen/session_pb2.py +++ b/generated/nifgen/nifgen/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/nifgen/nifgen/session_pb2_grpc.py b/generated/nifgen/nifgen/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/nifgen/nifgen/session_pb2_grpc.py +++ b/generated/nifgen/nifgen/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/nifgen/setup.py b/generated/nifgen/setup.py index c140bbc9d..5453ebcb9 100644 --- a/generated/nifgen/setup.py +++ b/generated/nifgen/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/niscope/niscope/nidevice_pb2.py b/generated/niscope/niscope/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/niscope/niscope/nidevice_pb2.py +++ b/generated/niscope/niscope/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/niscope/niscope/nidevice_pb2_grpc.py b/generated/niscope/niscope/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/niscope/niscope/nidevice_pb2_grpc.py +++ b/generated/niscope/niscope/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/niscope/niscope/niscope_pb2.py b/generated/niscope/niscope/niscope_pb2.py index 719f92014..3ace0301b 100644 --- a/generated/niscope/niscope/niscope_pb2.py +++ b/generated/niscope/niscope/niscope_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: niscope.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'niscope.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,17 +20,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'niscope_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\021com.ni.grpc.scopeB\007NiScopeP\001\252\002\036NationalInstruments.Grpc.Scope' - _globals['_NISCOPEINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NISCOPEINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_NISCOPEREAL64ATTRIBUTEVALUES']._loaded_options = None - _globals['_NISCOPEREAL64ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021com.ni.grpc.scopeB\007NiScopeP\001\252\002\036NationalInstruments.Grpc.Scope' + _NISCOPEINT32ATTRIBUTEVALUES._options = None + _NISCOPEINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _NISCOPEREAL64ATTRIBUTEVALUES._options = None + _NISCOPEREAL64ATTRIBUTEVALUES._serialized_options = b'\020\001' + _INITRESPONSE.fields_by_name['error_message']._options = None + _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NISCOPEATTRIBUTE']._serialized_start=21063 _globals['_NISCOPEATTRIBUTE']._serialized_end=31527 _globals['_WHICHTRIGGER']._serialized_start=31530 diff --git a/generated/niscope/niscope/niscope_pb2_grpc.py b/generated/niscope/niscope/niscope_pb2_grpc.py index ba63e448b..0e201501b 100644 --- a/generated/niscope/niscope/niscope_pb2_grpc.py +++ b/generated/niscope/niscope/niscope_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import niscope_pb2 as niscope__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in niscope_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiScopeStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,452 +18,452 @@ def __init__(self, channel): '/niscope_grpc.NiScope/Init', request_serializer=niscope__pb2.InitRequest.SerializeToString, response_deserializer=niscope__pb2.InitResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/niscope_grpc.NiScope/InitWithOptions', request_serializer=niscope__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=niscope__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/niscope_grpc.NiScope/Close', request_serializer=niscope__pb2.CloseRequest.SerializeToString, response_deserializer=niscope__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.AutoSetup = channel.unary_unary( '/niscope_grpc.NiScope/AutoSetup', request_serializer=niscope__pb2.AutoSetupRequest.SerializeToString, response_deserializer=niscope__pb2.AutoSetupResponse.FromString, - _registered_method=True) + ) self.ConfigureVertical = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureVertical', request_serializer=niscope__pb2.ConfigureVerticalRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureVerticalResponse.FromString, - _registered_method=True) + ) self.ConfigureChanCharacteristics = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureChanCharacteristics', request_serializer=niscope__pb2.ConfigureChanCharacteristicsRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureChanCharacteristicsResponse.FromString, - _registered_method=True) + ) self.ConfigureHorizontalTiming = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureHorizontalTiming', request_serializer=niscope__pb2.ConfigureHorizontalTimingRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureHorizontalTimingResponse.FromString, - _registered_method=True) + ) self.ConfigureClock = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureClock', request_serializer=niscope__pb2.ConfigureClockRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureClockResponse.FromString, - _registered_method=True) + ) self.ExportSignal = channel.unary_unary( '/niscope_grpc.NiScope/ExportSignal', request_serializer=niscope__pb2.ExportSignalRequest.SerializeToString, response_deserializer=niscope__pb2.ExportSignalResponse.FromString, - _registered_method=True) + ) self.AdjustSampleClockRelativeDelay = channel.unary_unary( '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', request_serializer=niscope__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, response_deserializer=niscope__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerEdge = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerEdge', request_serializer=niscope__pb2.ConfigureTriggerEdgeRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerEdgeResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerGlitch = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerGlitch', request_serializer=niscope__pb2.ConfigureTriggerGlitchRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerGlitchResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerHysteresis = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', request_serializer=niscope__pb2.ConfigureTriggerHysteresisRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerHysteresisResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerWindow = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerWindow', request_serializer=niscope__pb2.ConfigureTriggerWindowRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerWindowResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerSoftware = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerSoftware', request_serializer=niscope__pb2.ConfigureTriggerSoftwareRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerSoftwareResponse.FromString, - _registered_method=True) + ) self.SendSoftwareTriggerEdge = channel.unary_unary( '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', request_serializer=niscope__pb2.SendSoftwareTriggerEdgeRequest.SerializeToString, response_deserializer=niscope__pb2.SendSoftwareTriggerEdgeResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerImmediate = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerImmediate', request_serializer=niscope__pb2.ConfigureTriggerImmediateRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerImmediateResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerRunt = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerRunt', request_serializer=niscope__pb2.ConfigureTriggerRuntRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerRuntResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerDigital = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerDigital', request_serializer=niscope__pb2.ConfigureTriggerDigitalRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerDigitalResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerVideo = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerVideo', request_serializer=niscope__pb2.ConfigureTriggerVideoRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerVideoResponse.FromString, - _registered_method=True) + ) self.ConfigureTriggerWidth = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureTriggerWidth', request_serializer=niscope__pb2.ConfigureTriggerWidthRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureTriggerWidthResponse.FromString, - _registered_method=True) + ) self.ConfigureEqualizationFilterCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', request_serializer=niscope__pb2.ConfigureEqualizationFilterCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureEqualizationFilterCoefficientsResponse.FromString, - _registered_method=True) + ) self.GetEqualizationFilterCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', request_serializer=niscope__pb2.GetEqualizationFilterCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetEqualizationFilterCoefficientsResponse.FromString, - _registered_method=True) + ) self.GetFrequencyResponse = channel.unary_unary( '/niscope_grpc.NiScope/GetFrequencyResponse', request_serializer=niscope__pb2.GetFrequencyResponseRequest.SerializeToString, response_deserializer=niscope__pb2.GetFrequencyResponseResponse.FromString, - _registered_method=True) + ) self.ConfigureAcquisition = channel.unary_unary( '/niscope_grpc.NiScope/ConfigureAcquisition', request_serializer=niscope__pb2.ConfigureAcquisitionRequest.SerializeToString, response_deserializer=niscope__pb2.ConfigureAcquisitionResponse.FromString, - _registered_method=True) + ) self.InitiateAcquisition = channel.unary_unary( '/niscope_grpc.NiScope/InitiateAcquisition', request_serializer=niscope__pb2.InitiateAcquisitionRequest.SerializeToString, response_deserializer=niscope__pb2.InitiateAcquisitionResponse.FromString, - _registered_method=True) + ) self.Abort = channel.unary_unary( '/niscope_grpc.NiScope/Abort', request_serializer=niscope__pb2.AbortRequest.SerializeToString, response_deserializer=niscope__pb2.AbortResponse.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/niscope_grpc.NiScope/Commit', request_serializer=niscope__pb2.CommitRequest.SerializeToString, response_deserializer=niscope__pb2.CommitResponse.FromString, - _registered_method=True) + ) self.Read = channel.unary_unary( '/niscope_grpc.NiScope/Read', request_serializer=niscope__pb2.ReadRequest.SerializeToString, response_deserializer=niscope__pb2.ReadResponse.FromString, - _registered_method=True) + ) self.Fetch = channel.unary_unary( '/niscope_grpc.NiScope/Fetch', request_serializer=niscope__pb2.FetchRequest.SerializeToString, response_deserializer=niscope__pb2.FetchResponse.FromString, - _registered_method=True) + ) self.FetchBinary8 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary8', request_serializer=niscope__pb2.FetchBinary8Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary8Response.FromString, - _registered_method=True) + ) self.FetchBinary16 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary16', request_serializer=niscope__pb2.FetchBinary16Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary16Response.FromString, - _registered_method=True) + ) self.FetchBinary32 = channel.unary_unary( '/niscope_grpc.NiScope/FetchBinary32', request_serializer=niscope__pb2.FetchBinary32Request.SerializeToString, response_deserializer=niscope__pb2.FetchBinary32Response.FromString, - _registered_method=True) + ) self.FetchComplex = channel.unary_unary( '/niscope_grpc.NiScope/FetchComplex', request_serializer=niscope__pb2.FetchComplexRequest.SerializeToString, response_deserializer=niscope__pb2.FetchComplexResponse.FromString, - _registered_method=True) + ) self.FetchComplexBinary16 = channel.unary_unary( '/niscope_grpc.NiScope/FetchComplexBinary16', request_serializer=niscope__pb2.FetchComplexBinary16Request.SerializeToString, response_deserializer=niscope__pb2.FetchComplexBinary16Response.FromString, - _registered_method=True) + ) self.AcquisitionStatus = channel.unary_unary( '/niscope_grpc.NiScope/AcquisitionStatus', request_serializer=niscope__pb2.AcquisitionStatusRequest.SerializeToString, response_deserializer=niscope__pb2.AcquisitionStatusResponse.FromString, - _registered_method=True) + ) self.ActualNumWfms = channel.unary_unary( '/niscope_grpc.NiScope/ActualNumWfms', request_serializer=niscope__pb2.ActualNumWfmsRequest.SerializeToString, response_deserializer=niscope__pb2.ActualNumWfmsResponse.FromString, - _registered_method=True) + ) self.ActualMeasWfmSize = channel.unary_unary( '/niscope_grpc.NiScope/ActualMeasWfmSize', request_serializer=niscope__pb2.ActualMeasWfmSizeRequest.SerializeToString, response_deserializer=niscope__pb2.ActualMeasWfmSizeResponse.FromString, - _registered_method=True) + ) self.ActualRecordLength = channel.unary_unary( '/niscope_grpc.NiScope/ActualRecordLength', request_serializer=niscope__pb2.ActualRecordLengthRequest.SerializeToString, response_deserializer=niscope__pb2.ActualRecordLengthResponse.FromString, - _registered_method=True) + ) self.SampleRate = channel.unary_unary( '/niscope_grpc.NiScope/SampleRate', request_serializer=niscope__pb2.SampleRateRequest.SerializeToString, response_deserializer=niscope__pb2.SampleRateResponse.FromString, - _registered_method=True) + ) self.SampleMode = channel.unary_unary( '/niscope_grpc.NiScope/SampleMode', request_serializer=niscope__pb2.SampleModeRequest.SerializeToString, response_deserializer=niscope__pb2.SampleModeResponse.FromString, - _registered_method=True) + ) self.AddWaveformProcessing = channel.unary_unary( '/niscope_grpc.NiScope/AddWaveformProcessing', request_serializer=niscope__pb2.AddWaveformProcessingRequest.SerializeToString, response_deserializer=niscope__pb2.AddWaveformProcessingResponse.FromString, - _registered_method=True) + ) self.ClearWaveformProcessing = channel.unary_unary( '/niscope_grpc.NiScope/ClearWaveformProcessing', request_serializer=niscope__pb2.ClearWaveformProcessingRequest.SerializeToString, response_deserializer=niscope__pb2.ClearWaveformProcessingResponse.FromString, - _registered_method=True) + ) self.ClearWaveformMeasurementStats = channel.unary_unary( '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', request_serializer=niscope__pb2.ClearWaveformMeasurementStatsRequest.SerializeToString, response_deserializer=niscope__pb2.ClearWaveformMeasurementStatsResponse.FromString, - _registered_method=True) + ) self.ReadMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/ReadMeasurement', request_serializer=niscope__pb2.ReadMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.ReadMeasurementResponse.FromString, - _registered_method=True) + ) self.FetchMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/FetchMeasurement', request_serializer=niscope__pb2.FetchMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.FetchMeasurementResponse.FromString, - _registered_method=True) + ) self.FetchMeasurementStats = channel.unary_unary( '/niscope_grpc.NiScope/FetchMeasurementStats', request_serializer=niscope__pb2.FetchMeasurementStatsRequest.SerializeToString, response_deserializer=niscope__pb2.FetchMeasurementStatsResponse.FromString, - _registered_method=True) + ) self.FetchArrayMeasurement = channel.unary_unary( '/niscope_grpc.NiScope/FetchArrayMeasurement', request_serializer=niscope__pb2.FetchArrayMeasurementRequest.SerializeToString, response_deserializer=niscope__pb2.FetchArrayMeasurementResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/niscope_grpc.NiScope/Reset', request_serializer=niscope__pb2.ResetRequest.SerializeToString, response_deserializer=niscope__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/niscope_grpc.NiScope/SelfTest', request_serializer=niscope__pb2.SelfTestRequest.SerializeToString, response_deserializer=niscope__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.Disable = channel.unary_unary( '/niscope_grpc.NiScope/Disable', request_serializer=niscope__pb2.DisableRequest.SerializeToString, response_deserializer=niscope__pb2.DisableResponse.FromString, - _registered_method=True) + ) self.ResetDevice = channel.unary_unary( '/niscope_grpc.NiScope/ResetDevice', request_serializer=niscope__pb2.ResetDeviceRequest.SerializeToString, response_deserializer=niscope__pb2.ResetDeviceResponse.FromString, - _registered_method=True) + ) self.CalSelfCalibrate = channel.unary_unary( '/niscope_grpc.NiScope/CalSelfCalibrate', request_serializer=niscope__pb2.CalSelfCalibrateRequest.SerializeToString, response_deserializer=niscope__pb2.CalSelfCalibrateResponse.FromString, - _registered_method=True) + ) self.RevisionQuery = channel.unary_unary( '/niscope_grpc.NiScope/RevisionQuery', request_serializer=niscope__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=niscope__pb2.RevisionQueryResponse.FromString, - _registered_method=True) + ) self.ProbeCompensationSignalStart = channel.unary_unary( '/niscope_grpc.NiScope/ProbeCompensationSignalStart', request_serializer=niscope__pb2.ProbeCompensationSignalStartRequest.SerializeToString, response_deserializer=niscope__pb2.ProbeCompensationSignalStartResponse.FromString, - _registered_method=True) + ) self.ProbeCompensationSignalStop = channel.unary_unary( '/niscope_grpc.NiScope/ProbeCompensationSignalStop', request_serializer=niscope__pb2.ProbeCompensationSignalStopRequest.SerializeToString, response_deserializer=niscope__pb2.ProbeCompensationSignalStopResponse.FromString, - _registered_method=True) + ) self.CableSenseSignalStart = channel.unary_unary( '/niscope_grpc.NiScope/CableSenseSignalStart', request_serializer=niscope__pb2.CableSenseSignalStartRequest.SerializeToString, response_deserializer=niscope__pb2.CableSenseSignalStartResponse.FromString, - _registered_method=True) + ) self.CableSenseSignalStop = channel.unary_unary( '/niscope_grpc.NiScope/CableSenseSignalStop', request_serializer=niscope__pb2.CableSenseSignalStopRequest.SerializeToString, response_deserializer=niscope__pb2.CableSenseSignalStopResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/niscope_grpc.NiScope/GetChannelName', request_serializer=niscope__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=niscope__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.GetChannelNameFromString = channel.unary_unary( '/niscope_grpc.NiScope/GetChannelNameFromString', request_serializer=niscope__pb2.GetChannelNameFromStringRequest.SerializeToString, response_deserializer=niscope__pb2.GetChannelNameFromStringResponse.FromString, - _registered_method=True) + ) self.ErrorHandler = channel.unary_unary( '/niscope_grpc.NiScope/ErrorHandler', request_serializer=niscope__pb2.ErrorHandlerRequest.SerializeToString, response_deserializer=niscope__pb2.ErrorHandlerResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/niscope_grpc.NiScope/GetError', request_serializer=niscope__pb2.GetErrorRequest.SerializeToString, response_deserializer=niscope__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.GetErrorMessage = channel.unary_unary( '/niscope_grpc.NiScope/GetErrorMessage', request_serializer=niscope__pb2.GetErrorMessageRequest.SerializeToString, response_deserializer=niscope__pb2.GetErrorMessageResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViInt32', request_serializer=niscope__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViInt32', request_serializer=niscope__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.CheckAttributeViInt32 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViInt32', request_serializer=niscope__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViInt64', request_serializer=niscope__pb2.GetAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.SetAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViInt64', request_serializer=niscope__pb2.SetAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViInt64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViInt64 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViInt64', request_serializer=niscope__pb2.CheckAttributeViInt64Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViInt64Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViReal64', request_serializer=niscope__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViReal64', request_serializer=niscope__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViReal64 = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViReal64', request_serializer=niscope__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViString', request_serializer=niscope__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViString', request_serializer=niscope__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViString = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViString', request_serializer=niscope__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViSession', request_serializer=niscope__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViSession', request_serializer=niscope__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViSession = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViSession', request_serializer=niscope__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/GetAttributeViBoolean', request_serializer=niscope__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/SetAttributeViBoolean', request_serializer=niscope__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViBoolean = channel.unary_unary( '/niscope_grpc.NiScope/CheckAttributeViBoolean', request_serializer=niscope__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=niscope__pb2.CheckAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationBuffer = channel.unary_unary( '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', request_serializer=niscope__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=niscope__pb2.ImportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationBuffer = channel.unary_unary( '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', request_serializer=niscope__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, response_deserializer=niscope__pb2.ExportAttributeConfigurationBufferResponse.FromString, - _registered_method=True) + ) self.ImportAttributeConfigurationFile = channel.unary_unary( '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', request_serializer=niscope__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=niscope__pb2.ImportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.ExportAttributeConfigurationFile = channel.unary_unary( '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', request_serializer=niscope__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, response_deserializer=niscope__pb2.ExportAttributeConfigurationFileResponse.FromString, - _registered_method=True) + ) self.GetScalingCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetScalingCoefficients', request_serializer=niscope__pb2.GetScalingCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetScalingCoefficientsResponse.FromString, - _registered_method=True) + ) self.GetNormalizationCoefficients = channel.unary_unary( '/niscope_grpc.NiScope/GetNormalizationCoefficients', request_serializer=niscope__pb2.GetNormalizationCoefficientsRequest.SerializeToString, response_deserializer=niscope__pb2.GetNormalizationCoefficientsResponse.FromString, - _registered_method=True) + ) self.GetStreamEndpointHandle = channel.unary_unary( '/niscope_grpc.NiScope/GetStreamEndpointHandle', request_serializer=niscope__pb2.GetStreamEndpointHandleRequest.SerializeToString, response_deserializer=niscope__pb2.GetStreamEndpointHandleResponse.FromString, - _registered_method=True) + ) self.CalFetchDate = channel.unary_unary( '/niscope_grpc.NiScope/CalFetchDate', request_serializer=niscope__pb2.CalFetchDateRequest.SerializeToString, response_deserializer=niscope__pb2.CalFetchDateResponse.FromString, - _registered_method=True) + ) self.CalFetchTemperature = channel.unary_unary( '/niscope_grpc.NiScope/CalFetchTemperature', request_serializer=niscope__pb2.CalFetchTemperatureRequest.SerializeToString, response_deserializer=niscope__pb2.CalFetchTemperatureResponse.FromString, - _registered_method=True) + ) class NiScopeServicer(object): @@ -1486,7 +1466,6 @@ def add_NiScopeServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'niscope_grpc.NiScope', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('niscope_grpc.NiScope', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1504,21 +1483,11 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Init', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Init', niscope__pb2.InitRequest.SerializeToString, niscope__pb2.InitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -1531,21 +1500,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/InitWithOptions', niscope__pb2.InitWithOptionsRequest.SerializeToString, niscope__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -1558,21 +1517,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Close', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Close', niscope__pb2.CloseRequest.SerializeToString, niscope__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AutoSetup(request, @@ -1585,21 +1534,11 @@ def AutoSetup(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/AutoSetup', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AutoSetup', niscope__pb2.AutoSetupRequest.SerializeToString, niscope__pb2.AutoSetupResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureVertical(request, @@ -1612,21 +1551,11 @@ def ConfigureVertical(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureVertical', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureVertical', niscope__pb2.ConfigureVerticalRequest.SerializeToString, niscope__pb2.ConfigureVerticalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureChanCharacteristics(request, @@ -1639,21 +1568,11 @@ def ConfigureChanCharacteristics(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureChanCharacteristics', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureChanCharacteristics', niscope__pb2.ConfigureChanCharacteristicsRequest.SerializeToString, niscope__pb2.ConfigureChanCharacteristicsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureHorizontalTiming(request, @@ -1666,21 +1585,11 @@ def ConfigureHorizontalTiming(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureHorizontalTiming', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureHorizontalTiming', niscope__pb2.ConfigureHorizontalTimingRequest.SerializeToString, niscope__pb2.ConfigureHorizontalTimingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureClock(request, @@ -1693,21 +1602,11 @@ def ConfigureClock(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureClock', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureClock', niscope__pb2.ConfigureClockRequest.SerializeToString, niscope__pb2.ConfigureClockResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportSignal(request, @@ -1720,21 +1619,11 @@ def ExportSignal(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ExportSignal', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportSignal', niscope__pb2.ExportSignalRequest.SerializeToString, niscope__pb2.ExportSignalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AdjustSampleClockRelativeDelay(request, @@ -1747,21 +1636,11 @@ def AdjustSampleClockRelativeDelay(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AdjustSampleClockRelativeDelay', niscope__pb2.AdjustSampleClockRelativeDelayRequest.SerializeToString, niscope__pb2.AdjustSampleClockRelativeDelayResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerEdge(request, @@ -1774,21 +1653,11 @@ def ConfigureTriggerEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerEdge', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerEdge', niscope__pb2.ConfigureTriggerEdgeRequest.SerializeToString, niscope__pb2.ConfigureTriggerEdgeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerGlitch(request, @@ -1801,21 +1670,11 @@ def ConfigureTriggerGlitch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerGlitch', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerGlitch', niscope__pb2.ConfigureTriggerGlitchRequest.SerializeToString, niscope__pb2.ConfigureTriggerGlitchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerHysteresis(request, @@ -1828,21 +1687,11 @@ def ConfigureTriggerHysteresis(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerHysteresis', niscope__pb2.ConfigureTriggerHysteresisRequest.SerializeToString, niscope__pb2.ConfigureTriggerHysteresisResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerWindow(request, @@ -1855,21 +1704,11 @@ def ConfigureTriggerWindow(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerWindow', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerWindow', niscope__pb2.ConfigureTriggerWindowRequest.SerializeToString, niscope__pb2.ConfigureTriggerWindowResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerSoftware(request, @@ -1882,21 +1721,11 @@ def ConfigureTriggerSoftware(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerSoftware', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerSoftware', niscope__pb2.ConfigureTriggerSoftwareRequest.SerializeToString, niscope__pb2.ConfigureTriggerSoftwareResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareTriggerEdge(request, @@ -1909,21 +1738,11 @@ def SendSoftwareTriggerEdge(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SendSoftwareTriggerEdge', niscope__pb2.SendSoftwareTriggerEdgeRequest.SerializeToString, niscope__pb2.SendSoftwareTriggerEdgeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerImmediate(request, @@ -1936,21 +1755,11 @@ def ConfigureTriggerImmediate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerImmediate', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerImmediate', niscope__pb2.ConfigureTriggerImmediateRequest.SerializeToString, niscope__pb2.ConfigureTriggerImmediateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerRunt(request, @@ -1963,21 +1772,11 @@ def ConfigureTriggerRunt(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerRunt', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerRunt', niscope__pb2.ConfigureTriggerRuntRequest.SerializeToString, niscope__pb2.ConfigureTriggerRuntResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerDigital(request, @@ -1990,21 +1789,11 @@ def ConfigureTriggerDigital(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerDigital', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerDigital', niscope__pb2.ConfigureTriggerDigitalRequest.SerializeToString, niscope__pb2.ConfigureTriggerDigitalResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerVideo(request, @@ -2017,21 +1806,11 @@ def ConfigureTriggerVideo(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerVideo', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerVideo', niscope__pb2.ConfigureTriggerVideoRequest.SerializeToString, niscope__pb2.ConfigureTriggerVideoResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureTriggerWidth(request, @@ -2044,21 +1823,11 @@ def ConfigureTriggerWidth(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureTriggerWidth', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureTriggerWidth', niscope__pb2.ConfigureTriggerWidthRequest.SerializeToString, niscope__pb2.ConfigureTriggerWidthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureEqualizationFilterCoefficients(request, @@ -2071,21 +1840,11 @@ def ConfigureEqualizationFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureEqualizationFilterCoefficients', niscope__pb2.ConfigureEqualizationFilterCoefficientsRequest.SerializeToString, niscope__pb2.ConfigureEqualizationFilterCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetEqualizationFilterCoefficients(request, @@ -2098,21 +1857,11 @@ def GetEqualizationFilterCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetEqualizationFilterCoefficients', niscope__pb2.GetEqualizationFilterCoefficientsRequest.SerializeToString, niscope__pb2.GetEqualizationFilterCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetFrequencyResponse(request, @@ -2125,21 +1874,11 @@ def GetFrequencyResponse(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetFrequencyResponse', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetFrequencyResponse', niscope__pb2.GetFrequencyResponseRequest.SerializeToString, niscope__pb2.GetFrequencyResponseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureAcquisition(request, @@ -2152,21 +1891,11 @@ def ConfigureAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ConfigureAcquisition', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ConfigureAcquisition', niscope__pb2.ConfigureAcquisitionRequest.SerializeToString, niscope__pb2.ConfigureAcquisitionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitiateAcquisition(request, @@ -2179,21 +1908,11 @@ def InitiateAcquisition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/InitiateAcquisition', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/InitiateAcquisition', niscope__pb2.InitiateAcquisitionRequest.SerializeToString, niscope__pb2.InitiateAcquisitionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Abort(request, @@ -2206,21 +1925,11 @@ def Abort(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Abort', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Abort', niscope__pb2.AbortRequest.SerializeToString, niscope__pb2.AbortResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -2233,21 +1942,11 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Commit', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Commit', niscope__pb2.CommitRequest.SerializeToString, niscope__pb2.CommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Read(request, @@ -2260,21 +1959,11 @@ def Read(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Read', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Read', niscope__pb2.ReadRequest.SerializeToString, niscope__pb2.ReadResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Fetch(request, @@ -2287,21 +1976,11 @@ def Fetch(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Fetch', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Fetch', niscope__pb2.FetchRequest.SerializeToString, niscope__pb2.FetchResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchBinary8(request, @@ -2314,21 +1993,11 @@ def FetchBinary8(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchBinary8', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary8', niscope__pb2.FetchBinary8Request.SerializeToString, niscope__pb2.FetchBinary8Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchBinary16(request, @@ -2341,21 +2010,11 @@ def FetchBinary16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchBinary16', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary16', niscope__pb2.FetchBinary16Request.SerializeToString, niscope__pb2.FetchBinary16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchBinary32(request, @@ -2368,21 +2027,11 @@ def FetchBinary32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchBinary32', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchBinary32', niscope__pb2.FetchBinary32Request.SerializeToString, niscope__pb2.FetchBinary32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchComplex(request, @@ -2395,21 +2044,11 @@ def FetchComplex(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchComplex', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchComplex', niscope__pb2.FetchComplexRequest.SerializeToString, niscope__pb2.FetchComplexResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchComplexBinary16(request, @@ -2422,21 +2061,11 @@ def FetchComplexBinary16(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchComplexBinary16', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchComplexBinary16', niscope__pb2.FetchComplexBinary16Request.SerializeToString, niscope__pb2.FetchComplexBinary16Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AcquisitionStatus(request, @@ -2449,21 +2078,11 @@ def AcquisitionStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/AcquisitionStatus', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AcquisitionStatus', niscope__pb2.AcquisitionStatusRequest.SerializeToString, niscope__pb2.AcquisitionStatusResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ActualNumWfms(request, @@ -2476,21 +2095,11 @@ def ActualNumWfms(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ActualNumWfms', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualNumWfms', niscope__pb2.ActualNumWfmsRequest.SerializeToString, niscope__pb2.ActualNumWfmsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ActualMeasWfmSize(request, @@ -2503,21 +2112,11 @@ def ActualMeasWfmSize(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ActualMeasWfmSize', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualMeasWfmSize', niscope__pb2.ActualMeasWfmSizeRequest.SerializeToString, niscope__pb2.ActualMeasWfmSizeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ActualRecordLength(request, @@ -2530,21 +2129,11 @@ def ActualRecordLength(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ActualRecordLength', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ActualRecordLength', niscope__pb2.ActualRecordLengthRequest.SerializeToString, niscope__pb2.ActualRecordLengthResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SampleRate(request, @@ -2557,21 +2146,11 @@ def SampleRate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SampleRate', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SampleRate', niscope__pb2.SampleRateRequest.SerializeToString, niscope__pb2.SampleRateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SampleMode(request, @@ -2584,21 +2163,11 @@ def SampleMode(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SampleMode', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SampleMode', niscope__pb2.SampleModeRequest.SerializeToString, niscope__pb2.SampleModeResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AddWaveformProcessing(request, @@ -2611,21 +2180,11 @@ def AddWaveformProcessing(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/AddWaveformProcessing', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/AddWaveformProcessing', niscope__pb2.AddWaveformProcessingRequest.SerializeToString, niscope__pb2.AddWaveformProcessingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearWaveformProcessing(request, @@ -2638,21 +2197,11 @@ def ClearWaveformProcessing(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ClearWaveformProcessing', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ClearWaveformProcessing', niscope__pb2.ClearWaveformProcessingRequest.SerializeToString, niscope__pb2.ClearWaveformProcessingResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearWaveformMeasurementStats(request, @@ -2665,21 +2214,11 @@ def ClearWaveformMeasurementStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ClearWaveformMeasurementStats', niscope__pb2.ClearWaveformMeasurementStatsRequest.SerializeToString, niscope__pb2.ClearWaveformMeasurementStatsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReadMeasurement(request, @@ -2692,21 +2231,11 @@ def ReadMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ReadMeasurement', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ReadMeasurement', niscope__pb2.ReadMeasurementRequest.SerializeToString, niscope__pb2.ReadMeasurementResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchMeasurement(request, @@ -2719,21 +2248,11 @@ def FetchMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchMeasurement', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchMeasurement', niscope__pb2.FetchMeasurementRequest.SerializeToString, niscope__pb2.FetchMeasurementResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchMeasurementStats(request, @@ -2746,21 +2265,11 @@ def FetchMeasurementStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchMeasurementStats', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchMeasurementStats', niscope__pb2.FetchMeasurementStatsRequest.SerializeToString, niscope__pb2.FetchMeasurementStatsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FetchArrayMeasurement(request, @@ -2773,21 +2282,11 @@ def FetchArrayMeasurement(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/FetchArrayMeasurement', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/FetchArrayMeasurement', niscope__pb2.FetchArrayMeasurementRequest.SerializeToString, niscope__pb2.FetchArrayMeasurementResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -2800,21 +2299,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Reset', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Reset', niscope__pb2.ResetRequest.SerializeToString, niscope__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -2827,21 +2316,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SelfTest', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SelfTest', niscope__pb2.SelfTestRequest.SerializeToString, niscope__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disable(request, @@ -2854,21 +2333,11 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/Disable', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/Disable', niscope__pb2.DisableRequest.SerializeToString, niscope__pb2.DisableResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetDevice(request, @@ -2881,21 +2350,11 @@ def ResetDevice(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ResetDevice', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ResetDevice', niscope__pb2.ResetDeviceRequest.SerializeToString, niscope__pb2.ResetDeviceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CalSelfCalibrate(request, @@ -2908,21 +2367,11 @@ def CalSelfCalibrate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CalSelfCalibrate', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalSelfCalibrate', niscope__pb2.CalSelfCalibrateRequest.SerializeToString, niscope__pb2.CalSelfCalibrateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RevisionQuery(request, @@ -2935,21 +2384,11 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/RevisionQuery', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/RevisionQuery', niscope__pb2.RevisionQueryRequest.SerializeToString, niscope__pb2.RevisionQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ProbeCompensationSignalStart(request, @@ -2962,21 +2401,11 @@ def ProbeCompensationSignalStart(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ProbeCompensationSignalStart', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ProbeCompensationSignalStart', niscope__pb2.ProbeCompensationSignalStartRequest.SerializeToString, niscope__pb2.ProbeCompensationSignalStartResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ProbeCompensationSignalStop(request, @@ -2989,21 +2418,11 @@ def ProbeCompensationSignalStop(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ProbeCompensationSignalStop', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ProbeCompensationSignalStop', niscope__pb2.ProbeCompensationSignalStopRequest.SerializeToString, niscope__pb2.ProbeCompensationSignalStopResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CableSenseSignalStart(request, @@ -3016,21 +2435,11 @@ def CableSenseSignalStart(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CableSenseSignalStart', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CableSenseSignalStart', niscope__pb2.CableSenseSignalStartRequest.SerializeToString, niscope__pb2.CableSenseSignalStartResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CableSenseSignalStop(request, @@ -3043,21 +2452,11 @@ def CableSenseSignalStop(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CableSenseSignalStop', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CableSenseSignalStop', niscope__pb2.CableSenseSignalStopRequest.SerializeToString, niscope__pb2.CableSenseSignalStopResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -3070,21 +2469,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetChannelName', niscope__pb2.GetChannelNameRequest.SerializeToString, niscope__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelNameFromString(request, @@ -3097,21 +2486,11 @@ def GetChannelNameFromString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetChannelNameFromString', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetChannelNameFromString', niscope__pb2.GetChannelNameFromStringRequest.SerializeToString, niscope__pb2.GetChannelNameFromStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorHandler(request, @@ -3124,21 +2503,11 @@ def ErrorHandler(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ErrorHandler', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ErrorHandler', niscope__pb2.ErrorHandlerRequest.SerializeToString, niscope__pb2.ErrorHandlerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -3151,21 +2520,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetError', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetError', niscope__pb2.GetErrorRequest.SerializeToString, niscope__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetErrorMessage(request, @@ -3178,21 +2537,11 @@ def GetErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetErrorMessage', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetErrorMessage', niscope__pb2.GetErrorMessageRequest.SerializeToString, niscope__pb2.GetErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -3205,21 +2554,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViInt32', niscope__pb2.GetAttributeViInt32Request.SerializeToString, niscope__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -3232,21 +2571,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViInt32', niscope__pb2.SetAttributeViInt32Request.SerializeToString, niscope__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt32(request, @@ -3259,21 +2588,11 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViInt32', niscope__pb2.CheckAttributeViInt32Request.SerializeToString, niscope__pb2.CheckAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt64(request, @@ -3286,21 +2605,11 @@ def GetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViInt64', niscope__pb2.GetAttributeViInt64Request.SerializeToString, niscope__pb2.GetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt64(request, @@ -3313,21 +2622,11 @@ def SetAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViInt64', niscope__pb2.SetAttributeViInt64Request.SerializeToString, niscope__pb2.SetAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt64(request, @@ -3340,21 +2639,11 @@ def CheckAttributeViInt64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViInt64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViInt64', niscope__pb2.CheckAttributeViInt64Request.SerializeToString, niscope__pb2.CheckAttributeViInt64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -3367,21 +2656,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViReal64', niscope__pb2.GetAttributeViReal64Request.SerializeToString, niscope__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -3394,21 +2673,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViReal64', niscope__pb2.SetAttributeViReal64Request.SerializeToString, niscope__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViReal64(request, @@ -3421,21 +2690,11 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViReal64', niscope__pb2.CheckAttributeViReal64Request.SerializeToString, niscope__pb2.CheckAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -3448,21 +2707,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViString', niscope__pb2.GetAttributeViStringRequest.SerializeToString, niscope__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -3475,21 +2724,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViString', niscope__pb2.SetAttributeViStringRequest.SerializeToString, niscope__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViString(request, @@ -3502,21 +2741,11 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViString', niscope__pb2.CheckAttributeViStringRequest.SerializeToString, niscope__pb2.CheckAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -3529,21 +2758,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViSession', niscope__pb2.GetAttributeViSessionRequest.SerializeToString, niscope__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -3556,21 +2775,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViSession', niscope__pb2.SetAttributeViSessionRequest.SerializeToString, niscope__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViSession(request, @@ -3583,21 +2792,11 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViSession', niscope__pb2.CheckAttributeViSessionRequest.SerializeToString, niscope__pb2.CheckAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -3610,21 +2809,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetAttributeViBoolean', niscope__pb2.GetAttributeViBooleanRequest.SerializeToString, niscope__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -3637,21 +2826,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/SetAttributeViBoolean', niscope__pb2.SetAttributeViBooleanRequest.SerializeToString, niscope__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViBoolean(request, @@ -3664,21 +2843,11 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CheckAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CheckAttributeViBoolean', niscope__pb2.CheckAttributeViBooleanRequest.SerializeToString, niscope__pb2.CheckAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationBuffer(request, @@ -3691,21 +2860,11 @@ def ImportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ImportAttributeConfigurationBuffer', niscope__pb2.ImportAttributeConfigurationBufferRequest.SerializeToString, niscope__pb2.ImportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationBuffer(request, @@ -3718,21 +2877,11 @@ def ExportAttributeConfigurationBuffer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportAttributeConfigurationBuffer', niscope__pb2.ExportAttributeConfigurationBufferRequest.SerializeToString, niscope__pb2.ExportAttributeConfigurationBufferResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportAttributeConfigurationFile(request, @@ -3745,21 +2894,11 @@ def ImportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ImportAttributeConfigurationFile', niscope__pb2.ImportAttributeConfigurationFileRequest.SerializeToString, niscope__pb2.ImportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ExportAttributeConfigurationFile(request, @@ -3772,21 +2911,11 @@ def ExportAttributeConfigurationFile(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/ExportAttributeConfigurationFile', niscope__pb2.ExportAttributeConfigurationFileRequest.SerializeToString, niscope__pb2.ExportAttributeConfigurationFileResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetScalingCoefficients(request, @@ -3799,21 +2928,11 @@ def GetScalingCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetScalingCoefficients', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetScalingCoefficients', niscope__pb2.GetScalingCoefficientsRequest.SerializeToString, niscope__pb2.GetScalingCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetNormalizationCoefficients(request, @@ -3826,21 +2945,11 @@ def GetNormalizationCoefficients(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetNormalizationCoefficients', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetNormalizationCoefficients', niscope__pb2.GetNormalizationCoefficientsRequest.SerializeToString, niscope__pb2.GetNormalizationCoefficientsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetStreamEndpointHandle(request, @@ -3853,21 +2962,11 @@ def GetStreamEndpointHandle(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/GetStreamEndpointHandle', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/GetStreamEndpointHandle', niscope__pb2.GetStreamEndpointHandleRequest.SerializeToString, niscope__pb2.GetStreamEndpointHandleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CalFetchDate(request, @@ -3880,21 +2979,11 @@ def CalFetchDate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CalFetchDate', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalFetchDate', niscope__pb2.CalFetchDateRequest.SerializeToString, niscope__pb2.CalFetchDateResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CalFetchTemperature(request, @@ -3907,18 +2996,8 @@ def CalFetchTemperature(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niscope_grpc.NiScope/CalFetchTemperature', + return grpc.experimental.unary_unary(request, target, '/niscope_grpc.NiScope/CalFetchTemperature', niscope__pb2.CalFetchTemperatureRequest.SerializeToString, niscope__pb2.CalFetchTemperatureResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/niscope/niscope/session_pb2.py b/generated/niscope/niscope/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/niscope/niscope/session_pb2.py +++ b/generated/niscope/niscope/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/niscope/niscope/session_pb2_grpc.py b/generated/niscope/niscope/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/niscope/niscope/session_pb2_grpc.py +++ b/generated/niscope/niscope/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/niscope/setup.py b/generated/niscope/setup.py index 2f61e270d..8d6191150 100644 --- a/generated/niscope/setup.py +++ b/generated/niscope/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ diff --git a/generated/niswitch/niswitch/nidevice_pb2.py b/generated/niswitch/niswitch/nidevice_pb2.py index 749a8a382..d7fff4491 100644 --- a/generated/niswitch/niswitch/nidevice_pb2.py +++ b/generated/niswitch/niswitch/nidevice_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nidevice.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'nidevice.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidevice_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_NICOMPLEXNUMBER']._serialized_start=33 _globals['_NICOMPLEXNUMBER']._serialized_end=83 _globals['_NICOMPLEXNUMBERF32']._serialized_start=85 diff --git a/generated/niswitch/niswitch/nidevice_pb2_grpc.py b/generated/niswitch/niswitch/nidevice_pb2_grpc.py index a47481917..2daafffeb 100644 --- a/generated/niswitch/niswitch/nidevice_pb2_grpc.py +++ b/generated/niswitch/niswitch/nidevice_pb2_grpc.py @@ -1,24 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings - -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in nidevice_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) diff --git a/generated/niswitch/niswitch/niswitch_pb2.py b/generated/niswitch/niswitch/niswitch_pb2.py index 4cda6bcd4..93eb370f8 100644 --- a/generated/niswitch/niswitch/niswitch_pb2.py +++ b/generated/niswitch/niswitch/niswitch_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: niswitch.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'niswitch.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,17 +19,17 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'niswitch_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\024com.ni.grpc.niswitchB\010NiSwitchP\001\252\002\037NationalInstruments.Grpc.Switch' - _globals['_NISWITCHINT32ATTRIBUTEVALUES']._loaded_options = None - _globals['_NISWITCHINT32ATTRIBUTEVALUES']._serialized_options = b'\020\001' - _globals['_INITRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHOPTIONSRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' - _globals['_INITWITHTOPOLOGYRESPONSE'].fields_by_name['error_message']._loaded_options = None - _globals['_INITWITHTOPOLOGYRESPONSE'].fields_by_name['error_message']._serialized_options = b'\030\001' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\024com.ni.grpc.niswitchB\010NiSwitchP\001\252\002\037NationalInstruments.Grpc.Switch' + _NISWITCHINT32ATTRIBUTEVALUES._options = None + _NISWITCHINT32ATTRIBUTEVALUES._serialized_options = b'\020\001' + _INITRESPONSE.fields_by_name['error_message']._options = None + _INITRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._options = None + _INITWITHOPTIONSRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' + _INITWITHTOPOLOGYRESPONSE.fields_by_name['error_message']._options = None + _INITWITHTOPOLOGYRESPONSE.fields_by_name['error_message']._serialized_options = b'\030\001' _globals['_NISWITCHATTRIBUTE']._serialized_start=11126 _globals['_NISWITCHATTRIBUTE']._serialized_end=14118 _globals['_HANDSHAKINGINITIATION']._serialized_start=14121 diff --git a/generated/niswitch/niswitch/niswitch_pb2_grpc.py b/generated/niswitch/niswitch/niswitch_pb2_grpc.py index 00b7350ef..9ccf9ea65 100644 --- a/generated/niswitch/niswitch/niswitch_pb2_grpc.py +++ b/generated/niswitch/niswitch/niswitch_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import niswitch_pb2 as niswitch__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in niswitch_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class NiSwitchStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,302 +18,302 @@ def __init__(self, channel): '/niswitch_grpc.NiSwitch/AbortScan', request_serializer=niswitch__pb2.AbortScanRequest.SerializeToString, response_deserializer=niswitch__pb2.AbortScanResponse.FromString, - _registered_method=True) + ) self.CanConnect = channel.unary_unary( '/niswitch_grpc.NiSwitch/CanConnect', request_serializer=niswitch__pb2.CanConnectRequest.SerializeToString, response_deserializer=niswitch__pb2.CanConnectResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', request_serializer=niswitch__pb2.CheckAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', request_serializer=niswitch__pb2.CheckAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViInt32Response.FromString, - _registered_method=True) + ) self.CheckAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', request_serializer=niswitch__pb2.CheckAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViReal64Response.FromString, - _registered_method=True) + ) self.CheckAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViSession', request_serializer=niswitch__pb2.CheckAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.CheckAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/CheckAttributeViString', request_serializer=niswitch__pb2.CheckAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.CheckAttributeViStringResponse.FromString, - _registered_method=True) + ) self.ClearError = channel.unary_unary( '/niswitch_grpc.NiSwitch/ClearError', request_serializer=niswitch__pb2.ClearErrorRequest.SerializeToString, response_deserializer=niswitch__pb2.ClearErrorResponse.FromString, - _registered_method=True) + ) self.ClearInterchangeWarnings = channel.unary_unary( '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', request_serializer=niswitch__pb2.ClearInterchangeWarningsRequest.SerializeToString, response_deserializer=niswitch__pb2.ClearInterchangeWarningsResponse.FromString, - _registered_method=True) + ) self.Close = channel.unary_unary( '/niswitch_grpc.NiSwitch/Close', request_serializer=niswitch__pb2.CloseRequest.SerializeToString, response_deserializer=niswitch__pb2.CloseResponse.FromString, - _registered_method=True) + ) self.Commit = channel.unary_unary( '/niswitch_grpc.NiSwitch/Commit', request_serializer=niswitch__pb2.CommitRequest.SerializeToString, response_deserializer=niswitch__pb2.CommitResponse.FromString, - _registered_method=True) + ) self.ConfigureScanList = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConfigureScanList', request_serializer=niswitch__pb2.ConfigureScanListRequest.SerializeToString, response_deserializer=niswitch__pb2.ConfigureScanListResponse.FromString, - _registered_method=True) + ) self.ConfigureScanTrigger = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', request_serializer=niswitch__pb2.ConfigureScanTriggerRequest.SerializeToString, response_deserializer=niswitch__pb2.ConfigureScanTriggerResponse.FromString, - _registered_method=True) + ) self.Connect = channel.unary_unary( '/niswitch_grpc.NiSwitch/Connect', request_serializer=niswitch__pb2.ConnectRequest.SerializeToString, response_deserializer=niswitch__pb2.ConnectResponse.FromString, - _registered_method=True) + ) self.ConnectMultiple = channel.unary_unary( '/niswitch_grpc.NiSwitch/ConnectMultiple', request_serializer=niswitch__pb2.ConnectMultipleRequest.SerializeToString, response_deserializer=niswitch__pb2.ConnectMultipleResponse.FromString, - _registered_method=True) + ) self.Disable = channel.unary_unary( '/niswitch_grpc.NiSwitch/Disable', request_serializer=niswitch__pb2.DisableRequest.SerializeToString, response_deserializer=niswitch__pb2.DisableResponse.FromString, - _registered_method=True) + ) self.Disconnect = channel.unary_unary( '/niswitch_grpc.NiSwitch/Disconnect', request_serializer=niswitch__pb2.DisconnectRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectResponse.FromString, - _registered_method=True) + ) self.DisconnectAll = channel.unary_unary( '/niswitch_grpc.NiSwitch/DisconnectAll', request_serializer=niswitch__pb2.DisconnectAllRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectAllResponse.FromString, - _registered_method=True) + ) self.DisconnectMultiple = channel.unary_unary( '/niswitch_grpc.NiSwitch/DisconnectMultiple', request_serializer=niswitch__pb2.DisconnectMultipleRequest.SerializeToString, response_deserializer=niswitch__pb2.DisconnectMultipleResponse.FromString, - _registered_method=True) + ) self.ErrorMessage = channel.unary_unary( '/niswitch_grpc.NiSwitch/ErrorMessage', request_serializer=niswitch__pb2.ErrorMessageRequest.SerializeToString, response_deserializer=niswitch__pb2.ErrorMessageResponse.FromString, - _registered_method=True) + ) self.ErrorQuery = channel.unary_unary( '/niswitch_grpc.NiSwitch/ErrorQuery', request_serializer=niswitch__pb2.ErrorQueryRequest.SerializeToString, response_deserializer=niswitch__pb2.ErrorQueryResponse.FromString, - _registered_method=True) + ) self.GetAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', request_serializer=niswitch__pb2.GetAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.GetAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViInt32', request_serializer=niswitch__pb2.GetAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.GetAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViReal64', request_serializer=niswitch__pb2.GetAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.GetAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViSession', request_serializer=niswitch__pb2.GetAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.GetAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetAttributeViString', request_serializer=niswitch__pb2.GetAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.GetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.GetChannelName = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetChannelName', request_serializer=niswitch__pb2.GetChannelNameRequest.SerializeToString, response_deserializer=niswitch__pb2.GetChannelNameResponse.FromString, - _registered_method=True) + ) self.GetError = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetError', request_serializer=niswitch__pb2.GetErrorRequest.SerializeToString, response_deserializer=niswitch__pb2.GetErrorResponse.FromString, - _registered_method=True) + ) self.GetNextCoercionRecord = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', request_serializer=niswitch__pb2.GetNextCoercionRecordRequest.SerializeToString, response_deserializer=niswitch__pb2.GetNextCoercionRecordResponse.FromString, - _registered_method=True) + ) self.GetNextInterchangeWarning = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', request_serializer=niswitch__pb2.GetNextInterchangeWarningRequest.SerializeToString, response_deserializer=niswitch__pb2.GetNextInterchangeWarningResponse.FromString, - _registered_method=True) + ) self.GetPath = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetPath', request_serializer=niswitch__pb2.GetPathRequest.SerializeToString, response_deserializer=niswitch__pb2.GetPathResponse.FromString, - _registered_method=True) + ) self.GetRelayCount = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayCount', request_serializer=niswitch__pb2.GetRelayCountRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayCountResponse.FromString, - _registered_method=True) + ) self.GetRelayName = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayName', request_serializer=niswitch__pb2.GetRelayNameRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayNameResponse.FromString, - _registered_method=True) + ) self.GetRelayPosition = channel.unary_unary( '/niswitch_grpc.NiSwitch/GetRelayPosition', request_serializer=niswitch__pb2.GetRelayPositionRequest.SerializeToString, response_deserializer=niswitch__pb2.GetRelayPositionResponse.FromString, - _registered_method=True) + ) self.Init = channel.unary_unary( '/niswitch_grpc.NiSwitch/Init', request_serializer=niswitch__pb2.InitRequest.SerializeToString, response_deserializer=niswitch__pb2.InitResponse.FromString, - _registered_method=True) + ) self.InitWithOptions = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitWithOptions', request_serializer=niswitch__pb2.InitWithOptionsRequest.SerializeToString, response_deserializer=niswitch__pb2.InitWithOptionsResponse.FromString, - _registered_method=True) + ) self.InitWithTopology = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitWithTopology', request_serializer=niswitch__pb2.InitWithTopologyRequest.SerializeToString, response_deserializer=niswitch__pb2.InitWithTopologyResponse.FromString, - _registered_method=True) + ) self.InitiateScan = channel.unary_unary( '/niswitch_grpc.NiSwitch/InitiateScan', request_serializer=niswitch__pb2.InitiateScanRequest.SerializeToString, response_deserializer=niswitch__pb2.InitiateScanResponse.FromString, - _registered_method=True) + ) self.InvalidateAllAttributes = channel.unary_unary( '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', request_serializer=niswitch__pb2.InvalidateAllAttributesRequest.SerializeToString, response_deserializer=niswitch__pb2.InvalidateAllAttributesResponse.FromString, - _registered_method=True) + ) self.IsDebounced = channel.unary_unary( '/niswitch_grpc.NiSwitch/IsDebounced', request_serializer=niswitch__pb2.IsDebouncedRequest.SerializeToString, response_deserializer=niswitch__pb2.IsDebouncedResponse.FromString, - _registered_method=True) + ) self.IsScanning = channel.unary_unary( '/niswitch_grpc.NiSwitch/IsScanning', request_serializer=niswitch__pb2.IsScanningRequest.SerializeToString, response_deserializer=niswitch__pb2.IsScanningResponse.FromString, - _registered_method=True) + ) self.RelayControl = channel.unary_unary( '/niswitch_grpc.NiSwitch/RelayControl', request_serializer=niswitch__pb2.RelayControlRequest.SerializeToString, response_deserializer=niswitch__pb2.RelayControlResponse.FromString, - _registered_method=True) + ) self.Reset = channel.unary_unary( '/niswitch_grpc.NiSwitch/Reset', request_serializer=niswitch__pb2.ResetRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetResponse.FromString, - _registered_method=True) + ) self.ResetInterchangeCheck = channel.unary_unary( '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', request_serializer=niswitch__pb2.ResetInterchangeCheckRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetInterchangeCheckResponse.FromString, - _registered_method=True) + ) self.ResetWithDefaults = channel.unary_unary( '/niswitch_grpc.NiSwitch/ResetWithDefaults', request_serializer=niswitch__pb2.ResetWithDefaultsRequest.SerializeToString, response_deserializer=niswitch__pb2.ResetWithDefaultsResponse.FromString, - _registered_method=True) + ) self.RevisionQuery = channel.unary_unary( '/niswitch_grpc.NiSwitch/RevisionQuery', request_serializer=niswitch__pb2.RevisionQueryRequest.SerializeToString, response_deserializer=niswitch__pb2.RevisionQueryResponse.FromString, - _registered_method=True) + ) self.RouteScanAdvancedOutput = channel.unary_unary( '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', request_serializer=niswitch__pb2.RouteScanAdvancedOutputRequest.SerializeToString, response_deserializer=niswitch__pb2.RouteScanAdvancedOutputResponse.FromString, - _registered_method=True) + ) self.RouteTriggerInput = channel.unary_unary( '/niswitch_grpc.NiSwitch/RouteTriggerInput', request_serializer=niswitch__pb2.RouteTriggerInputRequest.SerializeToString, response_deserializer=niswitch__pb2.RouteTriggerInputResponse.FromString, - _registered_method=True) + ) self.Scan = channel.unary_unary( '/niswitch_grpc.NiSwitch/Scan', request_serializer=niswitch__pb2.ScanRequest.SerializeToString, response_deserializer=niswitch__pb2.ScanResponse.FromString, - _registered_method=True) + ) self.SelfTest = channel.unary_unary( '/niswitch_grpc.NiSwitch/SelfTest', request_serializer=niswitch__pb2.SelfTestRequest.SerializeToString, response_deserializer=niswitch__pb2.SelfTestResponse.FromString, - _registered_method=True) + ) self.SendSoftwareTrigger = channel.unary_unary( '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', request_serializer=niswitch__pb2.SendSoftwareTriggerRequest.SerializeToString, response_deserializer=niswitch__pb2.SendSoftwareTriggerResponse.FromString, - _registered_method=True) + ) self.SetAttributeViBoolean = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', request_serializer=niswitch__pb2.SetAttributeViBooleanRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViBooleanResponse.FromString, - _registered_method=True) + ) self.SetAttributeViInt32 = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViInt32', request_serializer=niswitch__pb2.SetAttributeViInt32Request.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViInt32Response.FromString, - _registered_method=True) + ) self.SetAttributeViReal64 = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViReal64', request_serializer=niswitch__pb2.SetAttributeViReal64Request.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViReal64Response.FromString, - _registered_method=True) + ) self.SetAttributeViSession = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViSession', request_serializer=niswitch__pb2.SetAttributeViSessionRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViSessionResponse.FromString, - _registered_method=True) + ) self.SetAttributeViString = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetAttributeViString', request_serializer=niswitch__pb2.SetAttributeViStringRequest.SerializeToString, response_deserializer=niswitch__pb2.SetAttributeViStringResponse.FromString, - _registered_method=True) + ) self.SetContinuousScan = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetContinuousScan', request_serializer=niswitch__pb2.SetContinuousScanRequest.SerializeToString, response_deserializer=niswitch__pb2.SetContinuousScanResponse.FromString, - _registered_method=True) + ) self.SetPath = channel.unary_unary( '/niswitch_grpc.NiSwitch/SetPath', request_serializer=niswitch__pb2.SetPathRequest.SerializeToString, response_deserializer=niswitch__pb2.SetPathResponse.FromString, - _registered_method=True) + ) self.WaitForDebounce = channel.unary_unary( '/niswitch_grpc.NiSwitch/WaitForDebounce', request_serializer=niswitch__pb2.WaitForDebounceRequest.SerializeToString, response_deserializer=niswitch__pb2.WaitForDebounceResponse.FromString, - _registered_method=True) + ) self.WaitForScanComplete = channel.unary_unary( '/niswitch_grpc.NiSwitch/WaitForScanComplete', request_serializer=niswitch__pb2.WaitForScanCompleteRequest.SerializeToString, response_deserializer=niswitch__pb2.WaitForScanCompleteResponse.FromString, - _registered_method=True) + ) class NiSwitchServicer(object): @@ -1006,7 +986,6 @@ def add_NiSwitchServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'niswitch_grpc.NiSwitch', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('niswitch_grpc.NiSwitch', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -1024,21 +1003,11 @@ def AbortScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/AbortScan', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/AbortScan', niswitch__pb2.AbortScanRequest.SerializeToString, niswitch__pb2.AbortScanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CanConnect(request, @@ -1051,21 +1020,11 @@ def CanConnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CanConnect', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CanConnect', niswitch__pb2.CanConnectRequest.SerializeToString, niswitch__pb2.CanConnectResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViBoolean(request, @@ -1078,21 +1037,11 @@ def CheckAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViBoolean', niswitch__pb2.CheckAttributeViBooleanRequest.SerializeToString, niswitch__pb2.CheckAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViInt32(request, @@ -1105,21 +1054,11 @@ def CheckAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViInt32', niswitch__pb2.CheckAttributeViInt32Request.SerializeToString, niswitch__pb2.CheckAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViReal64(request, @@ -1132,21 +1071,11 @@ def CheckAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViReal64', niswitch__pb2.CheckAttributeViReal64Request.SerializeToString, niswitch__pb2.CheckAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViSession(request, @@ -1159,21 +1088,11 @@ def CheckAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CheckAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViSession', niswitch__pb2.CheckAttributeViSessionRequest.SerializeToString, niswitch__pb2.CheckAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CheckAttributeViString(request, @@ -1186,21 +1105,11 @@ def CheckAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/CheckAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/CheckAttributeViString', niswitch__pb2.CheckAttributeViStringRequest.SerializeToString, niswitch__pb2.CheckAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearError(request, @@ -1213,21 +1122,11 @@ def ClearError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ClearError', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ClearError', niswitch__pb2.ClearErrorRequest.SerializeToString, niswitch__pb2.ClearErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearInterchangeWarnings(request, @@ -1240,21 +1139,11 @@ def ClearInterchangeWarnings(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ClearInterchangeWarnings', niswitch__pb2.ClearInterchangeWarningsRequest.SerializeToString, niswitch__pb2.ClearInterchangeWarningsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Close(request, @@ -1267,21 +1156,11 @@ def Close(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Close', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Close', niswitch__pb2.CloseRequest.SerializeToString, niswitch__pb2.CloseResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Commit(request, @@ -1294,21 +1173,11 @@ def Commit(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Commit', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Commit', niswitch__pb2.CommitRequest.SerializeToString, niswitch__pb2.CommitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureScanList(request, @@ -1321,21 +1190,11 @@ def ConfigureScanList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ConfigureScanList', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConfigureScanList', niswitch__pb2.ConfigureScanListRequest.SerializeToString, niswitch__pb2.ConfigureScanListResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConfigureScanTrigger(request, @@ -1348,21 +1207,11 @@ def ConfigureScanTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConfigureScanTrigger', niswitch__pb2.ConfigureScanTriggerRequest.SerializeToString, niswitch__pb2.ConfigureScanTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Connect(request, @@ -1375,21 +1224,11 @@ def Connect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Connect', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Connect', niswitch__pb2.ConnectRequest.SerializeToString, niswitch__pb2.ConnectResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ConnectMultiple(request, @@ -1402,21 +1241,11 @@ def ConnectMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ConnectMultiple', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ConnectMultiple', niswitch__pb2.ConnectMultipleRequest.SerializeToString, niswitch__pb2.ConnectMultipleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disable(request, @@ -1429,21 +1258,11 @@ def Disable(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Disable', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Disable', niswitch__pb2.DisableRequest.SerializeToString, niswitch__pb2.DisableResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disconnect(request, @@ -1456,21 +1275,11 @@ def Disconnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Disconnect', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Disconnect', niswitch__pb2.DisconnectRequest.SerializeToString, niswitch__pb2.DisconnectResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisconnectAll(request, @@ -1483,21 +1292,11 @@ def DisconnectAll(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/DisconnectAll', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/DisconnectAll', niswitch__pb2.DisconnectAllRequest.SerializeToString, niswitch__pb2.DisconnectAllResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DisconnectMultiple(request, @@ -1510,21 +1309,11 @@ def DisconnectMultiple(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/DisconnectMultiple', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/DisconnectMultiple', niswitch__pb2.DisconnectMultipleRequest.SerializeToString, niswitch__pb2.DisconnectMultipleResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorMessage(request, @@ -1537,21 +1326,11 @@ def ErrorMessage(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ErrorMessage', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ErrorMessage', niswitch__pb2.ErrorMessageRequest.SerializeToString, niswitch__pb2.ErrorMessageResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ErrorQuery(request, @@ -1564,21 +1343,11 @@ def ErrorQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ErrorQuery', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ErrorQuery', niswitch__pb2.ErrorQueryRequest.SerializeToString, niswitch__pb2.ErrorQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViBoolean(request, @@ -1591,21 +1360,11 @@ def GetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViBoolean', niswitch__pb2.GetAttributeViBooleanRequest.SerializeToString, niswitch__pb2.GetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViInt32(request, @@ -1618,21 +1377,11 @@ def GetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViInt32', niswitch__pb2.GetAttributeViInt32Request.SerializeToString, niswitch__pb2.GetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViReal64(request, @@ -1645,21 +1394,11 @@ def GetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViReal64', niswitch__pb2.GetAttributeViReal64Request.SerializeToString, niswitch__pb2.GetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViSession(request, @@ -1672,21 +1411,11 @@ def GetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViSession', niswitch__pb2.GetAttributeViSessionRequest.SerializeToString, niswitch__pb2.GetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAttributeViString(request, @@ -1699,21 +1428,11 @@ def GetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetAttributeViString', niswitch__pb2.GetAttributeViStringRequest.SerializeToString, niswitch__pb2.GetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetChannelName(request, @@ -1726,21 +1445,11 @@ def GetChannelName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetChannelName', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetChannelName', niswitch__pb2.GetChannelNameRequest.SerializeToString, niswitch__pb2.GetChannelNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetError(request, @@ -1753,21 +1462,11 @@ def GetError(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetError', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetError', niswitch__pb2.GetErrorRequest.SerializeToString, niswitch__pb2.GetErrorResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetNextCoercionRecord(request, @@ -1780,21 +1479,11 @@ def GetNextCoercionRecord(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetNextCoercionRecord', niswitch__pb2.GetNextCoercionRecordRequest.SerializeToString, niswitch__pb2.GetNextCoercionRecordResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetNextInterchangeWarning(request, @@ -1807,21 +1496,11 @@ def GetNextInterchangeWarning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetNextInterchangeWarning', niswitch__pb2.GetNextInterchangeWarningRequest.SerializeToString, niswitch__pb2.GetNextInterchangeWarningResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPath(request, @@ -1834,21 +1513,11 @@ def GetPath(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetPath', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetPath', niswitch__pb2.GetPathRequest.SerializeToString, niswitch__pb2.GetPathResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetRelayCount(request, @@ -1861,21 +1530,11 @@ def GetRelayCount(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetRelayCount', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayCount', niswitch__pb2.GetRelayCountRequest.SerializeToString, niswitch__pb2.GetRelayCountResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetRelayName(request, @@ -1888,21 +1547,11 @@ def GetRelayName(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetRelayName', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayName', niswitch__pb2.GetRelayNameRequest.SerializeToString, niswitch__pb2.GetRelayNameResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetRelayPosition(request, @@ -1915,21 +1564,11 @@ def GetRelayPosition(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/GetRelayPosition', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/GetRelayPosition', niswitch__pb2.GetRelayPositionRequest.SerializeToString, niswitch__pb2.GetRelayPositionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Init(request, @@ -1942,21 +1581,11 @@ def Init(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Init', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Init', niswitch__pb2.InitRequest.SerializeToString, niswitch__pb2.InitResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithOptions(request, @@ -1969,21 +1598,11 @@ def InitWithOptions(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/InitWithOptions', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitWithOptions', niswitch__pb2.InitWithOptionsRequest.SerializeToString, niswitch__pb2.InitWithOptionsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitWithTopology(request, @@ -1996,21 +1615,11 @@ def InitWithTopology(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/InitWithTopology', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitWithTopology', niswitch__pb2.InitWithTopologyRequest.SerializeToString, niswitch__pb2.InitWithTopologyResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InitiateScan(request, @@ -2023,21 +1632,11 @@ def InitiateScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/InitiateScan', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InitiateScan', niswitch__pb2.InitiateScanRequest.SerializeToString, niswitch__pb2.InitiateScanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def InvalidateAllAttributes(request, @@ -2050,21 +1649,11 @@ def InvalidateAllAttributes(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/InvalidateAllAttributes', niswitch__pb2.InvalidateAllAttributesRequest.SerializeToString, niswitch__pb2.InvalidateAllAttributesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsDebounced(request, @@ -2077,21 +1666,11 @@ def IsDebounced(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/IsDebounced', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/IsDebounced', niswitch__pb2.IsDebouncedRequest.SerializeToString, niswitch__pb2.IsDebouncedResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsScanning(request, @@ -2104,21 +1683,11 @@ def IsScanning(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/IsScanning', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/IsScanning', niswitch__pb2.IsScanningRequest.SerializeToString, niswitch__pb2.IsScanningResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RelayControl(request, @@ -2131,21 +1700,11 @@ def RelayControl(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/RelayControl', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RelayControl', niswitch__pb2.RelayControlRequest.SerializeToString, niswitch__pb2.RelayControlResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reset(request, @@ -2158,21 +1717,11 @@ def Reset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Reset', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Reset', niswitch__pb2.ResetRequest.SerializeToString, niswitch__pb2.ResetResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetInterchangeCheck(request, @@ -2185,21 +1734,11 @@ def ResetInterchangeCheck(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ResetInterchangeCheck', niswitch__pb2.ResetInterchangeCheckRequest.SerializeToString, niswitch__pb2.ResetInterchangeCheckResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetWithDefaults(request, @@ -2212,21 +1751,11 @@ def ResetWithDefaults(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/ResetWithDefaults', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/ResetWithDefaults', niswitch__pb2.ResetWithDefaultsRequest.SerializeToString, niswitch__pb2.ResetWithDefaultsResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RevisionQuery(request, @@ -2239,21 +1768,11 @@ def RevisionQuery(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/RevisionQuery', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RevisionQuery', niswitch__pb2.RevisionQueryRequest.SerializeToString, niswitch__pb2.RevisionQueryResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RouteScanAdvancedOutput(request, @@ -2266,21 +1785,11 @@ def RouteScanAdvancedOutput(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RouteScanAdvancedOutput', niswitch__pb2.RouteScanAdvancedOutputRequest.SerializeToString, niswitch__pb2.RouteScanAdvancedOutputResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RouteTriggerInput(request, @@ -2293,21 +1802,11 @@ def RouteTriggerInput(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/RouteTriggerInput', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/RouteTriggerInput', niswitch__pb2.RouteTriggerInputRequest.SerializeToString, niswitch__pb2.RouteTriggerInputResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Scan(request, @@ -2320,21 +1819,11 @@ def Scan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/Scan', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/Scan', niswitch__pb2.ScanRequest.SerializeToString, niswitch__pb2.ScanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelfTest(request, @@ -2347,21 +1836,11 @@ def SelfTest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SelfTest', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SelfTest', niswitch__pb2.SelfTestRequest.SerializeToString, niswitch__pb2.SelfTestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SendSoftwareTrigger(request, @@ -2374,21 +1853,11 @@ def SendSoftwareTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SendSoftwareTrigger', niswitch__pb2.SendSoftwareTriggerRequest.SerializeToString, niswitch__pb2.SendSoftwareTriggerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViBoolean(request, @@ -2401,21 +1870,11 @@ def SetAttributeViBoolean(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViBoolean', niswitch__pb2.SetAttributeViBooleanRequest.SerializeToString, niswitch__pb2.SetAttributeViBooleanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViInt32(request, @@ -2428,21 +1887,11 @@ def SetAttributeViInt32(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetAttributeViInt32', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViInt32', niswitch__pb2.SetAttributeViInt32Request.SerializeToString, niswitch__pb2.SetAttributeViInt32Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViReal64(request, @@ -2455,21 +1904,11 @@ def SetAttributeViReal64(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetAttributeViReal64', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViReal64', niswitch__pb2.SetAttributeViReal64Request.SerializeToString, niswitch__pb2.SetAttributeViReal64Response.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViSession(request, @@ -2482,21 +1921,11 @@ def SetAttributeViSession(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetAttributeViSession', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViSession', niswitch__pb2.SetAttributeViSessionRequest.SerializeToString, niswitch__pb2.SetAttributeViSessionResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttributeViString(request, @@ -2509,21 +1938,11 @@ def SetAttributeViString(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetAttributeViString', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetAttributeViString', niswitch__pb2.SetAttributeViStringRequest.SerializeToString, niswitch__pb2.SetAttributeViStringResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetContinuousScan(request, @@ -2536,21 +1955,11 @@ def SetContinuousScan(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetContinuousScan', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetContinuousScan', niswitch__pb2.SetContinuousScanRequest.SerializeToString, niswitch__pb2.SetContinuousScanResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetPath(request, @@ -2563,21 +1972,11 @@ def SetPath(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/SetPath', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/SetPath', niswitch__pb2.SetPathRequest.SerializeToString, niswitch__pb2.SetPathResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitForDebounce(request, @@ -2590,21 +1989,11 @@ def WaitForDebounce(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/WaitForDebounce', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/WaitForDebounce', niswitch__pb2.WaitForDebounceRequest.SerializeToString, niswitch__pb2.WaitForDebounceResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def WaitForScanComplete(request, @@ -2617,18 +2006,8 @@ def WaitForScanComplete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/niswitch_grpc.NiSwitch/WaitForScanComplete', + return grpc.experimental.unary_unary(request, target, '/niswitch_grpc.NiSwitch/WaitForScanComplete', niswitch__pb2.WaitForScanCompleteRequest.SerializeToString, niswitch__pb2.WaitForScanCompleteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/niswitch/niswitch/session_pb2.py b/generated/niswitch/niswitch/session_pb2.py index 6a02f7692..73b79bf26 100644 --- a/generated/niswitch/niswitch/session_pb2.py +++ b/generated/niswitch/niswitch/session_pb2.py @@ -1,22 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: session.proto -# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 27, - 2, - '', - 'session.proto' -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,9 +18,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'session_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.ni.grpc.deviceB\010NiDeviceP\001\252\002\037NationalInstruments.Grpc.Device' _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_start=699 _globals['_SESSIONINITIALIZATIONBEHAVIOR']._serialized_end=887 _globals['_SESSION']._serialized_start=32 diff --git a/generated/niswitch/niswitch/session_pb2_grpc.py b/generated/niswitch/niswitch/session_pb2_grpc.py index da6e0f991..28709265d 100644 --- a/generated/niswitch/niswitch/session_pb2_grpc.py +++ b/generated/niswitch/niswitch/session_pb2_grpc.py @@ -1,29 +1,9 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc -import warnings from . import session_pb2 as session__pb2 -GRPC_GENERATED_VERSION = '1.67.0' -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in session_pb2_grpc.py depends on' - + f' grpcio>={GRPC_GENERATED_VERSION}.' - + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' - + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' - ) - class SessionUtilitiesStub(object): """Missing associated documentation comment in .proto file.""" @@ -38,27 +18,27 @@ def __init__(self, channel): '/nidevice_grpc.SessionUtilities/EnumerateDevices', request_serializer=session__pb2.EnumerateDevicesRequest.SerializeToString, response_deserializer=session__pb2.EnumerateDevicesResponse.FromString, - _registered_method=True) + ) self.Reserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Reserve', request_serializer=session__pb2.ReserveRequest.SerializeToString, response_deserializer=session__pb2.ReserveResponse.FromString, - _registered_method=True) + ) self.IsReservedByClient = channel.unary_unary( '/nidevice_grpc.SessionUtilities/IsReservedByClient', request_serializer=session__pb2.IsReservedByClientRequest.SerializeToString, response_deserializer=session__pb2.IsReservedByClientResponse.FromString, - _registered_method=True) + ) self.Unreserve = channel.unary_unary( '/nidevice_grpc.SessionUtilities/Unreserve', request_serializer=session__pb2.UnreserveRequest.SerializeToString, response_deserializer=session__pb2.UnreserveResponse.FromString, - _registered_method=True) + ) self.ResetServer = channel.unary_unary( '/nidevice_grpc.SessionUtilities/ResetServer', request_serializer=session__pb2.ResetServerRequest.SerializeToString, response_deserializer=session__pb2.ResetServerResponse.FromString, - _registered_method=True) + ) class SessionUtilitiesServicer(object): @@ -132,7 +112,6 @@ def add_SessionUtilitiesServicer_to_server(servicer, server): generic_handler = grpc.method_handlers_generic_handler( 'nidevice_grpc.SessionUtilities', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers('nidevice_grpc.SessionUtilities', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -150,21 +129,11 @@ def EnumerateDevices(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/EnumerateDevices', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/EnumerateDevices', session__pb2.EnumerateDevicesRequest.SerializeToString, session__pb2.EnumerateDevicesResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reserve(request, @@ -177,21 +146,11 @@ def Reserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Reserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Reserve', session__pb2.ReserveRequest.SerializeToString, session__pb2.ReserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsReservedByClient(request, @@ -204,21 +163,11 @@ def IsReservedByClient(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/IsReservedByClient', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/IsReservedByClient', session__pb2.IsReservedByClientRequest.SerializeToString, session__pb2.IsReservedByClientResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Unreserve(request, @@ -231,21 +180,11 @@ def Unreserve(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/Unreserve', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/Unreserve', session__pb2.UnreserveRequest.SerializeToString, session__pb2.UnreserveResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ResetServer(request, @@ -258,18 +197,8 @@ def ResetServer(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/nidevice_grpc.SessionUtilities/ResetServer', + return grpc.experimental.unary_unary(request, target, '/nidevice_grpc.SessionUtilities/ResetServer', session__pb2.ResetServerRequest.SerializeToString, session__pb2.ResetServerResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/generated/niswitch/setup.py b/generated/niswitch/setup.py index 04d9c59b2..24e77a45e 100644 --- a/generated/niswitch/setup.py +++ b/generated/niswitch/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6' + 'protobuf>=4.21.6,<6.0' ], }, classifiers=[ From 0639e8be5ef5c6b8d07abd0778a92cd51ed5cd90 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Sun, 16 Feb 2025 16:08:57 -0600 Subject: [PATCH 07/10] Update test env dependencies to be compatible with Python 3.13 --- tox-travis.ini | 4 ++-- tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tox-travis.ini b/tox-travis.ini index 999b5fd09..af8fc3124 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -138,8 +138,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 - test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 + test: grpcio == 1.67.0 # Compatible with Python 3.13; should be backwards compatible with grpcio-tools 1.59.0 + test: protobuf == 5.27.2 # Compatible with Python 3.13; should be backwards compatible with grpcio-tools 1.59.0 build_test: pytest build_test: coverage build_test: mako diff --git a/tox.ini b/tox.ini index 133817393..a7f11f3dc 100644 --- a/tox.ini +++ b/tox.ini @@ -138,8 +138,8 @@ deps = test: mako test: numpy test: hightime - test: grpcio == 1.59.0 # Compatible with grpcio-tools 1.59.0 - test: protobuf == 4.21.6 # Compatible with grpcio-tools 1.59.0 + test: grpcio == 1.67.0 # Compatible with Python 3.13; should be backwards compatible with grpcio-tools 1.59.0 + test: protobuf == 5.27.2 # Compatible with Python 3.13; should be backwards compatible with grpcio-tools 1.59.0 build_test: pytest build_test: coverage build_test: mako From cc9e24980aee7c83f5071101d57abc6eb6525670 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Sun, 16 Feb 2025 21:14:35 -0600 Subject: [PATCH 08/10] Disable ensure_codegen_up_to_date for Python 3.13 in .travis.yml --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26fa44565..c65c161e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ dist: focal matrix: include: # Historically, we've run tests on the latest supported version of Python first. - # For now, we're running Python 3.12 first, because it's the verions currently used for codegen. + # For now, we're running Python 3.12 first, because it's the version currently used for codegen. # This is where additional tests are run so we give it more time. - python: "3.12" - python: "3.9" @@ -20,7 +20,8 @@ install: - travis_retry pip install --upgrade tox==3.* tox-travis before_script: - - python tools/ensure_codegen_up_to_date.py + # Python 3.13 is only supported by grpcio-tools >= 1.67.0, a later version than what we use in the tox.ini + - if [[ "$TRAVIS_PYTHON_VERSION" != "3.13" ]]; then python tools/ensure_codegen_up_to_date.py; fi script: - tox -c tox-travis.ini From d81b5a9750b10a33cc433c407e5f3d37dd8f0429 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Tue, 18 Feb 2025 11:36:37 -0600 Subject: [PATCH 09/10] Eliminate protobuf upper bound --- build/templates/setup.py.mako | 2 +- generated/nidcpower/setup.py | 2 +- generated/nidigital/setup.py | 2 +- generated/nidmm/setup.py | 2 +- generated/nifake/setup.py | 2 +- generated/nifgen/setup.py | 2 +- generated/niscope/setup.py | 2 +- generated/niswitch/setup.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build/templates/setup.py.mako b/build/templates/setup.py.mako index 4f424cbb3..6c921be1c 100644 --- a/build/templates/setup.py.mako +++ b/build/templates/setup.py.mako @@ -46,7 +46,7 @@ setup( extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, % endif diff --git a/generated/nidcpower/setup.py b/generated/nidcpower/setup.py index c4d97faef..064352292 100644 --- a/generated/nidcpower/setup.py +++ b/generated/nidcpower/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nidigital/setup.py b/generated/nidigital/setup.py index 3c6001b71..37238ce24 100644 --- a/generated/nidigital/setup.py +++ b/generated/nidigital/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nidmm/setup.py b/generated/nidmm/setup.py index 3dec9febe..1dec9caa2 100644 --- a/generated/nidmm/setup.py +++ b/generated/nidmm/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nifake/setup.py b/generated/nifake/setup.py index 4ec94e59d..1e696a4b0 100644 --- a/generated/nifake/setup.py +++ b/generated/nifake/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/nifgen/setup.py b/generated/nifgen/setup.py index 5453ebcb9..c140bbc9d 100644 --- a/generated/nifgen/setup.py +++ b/generated/nifgen/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/niscope/setup.py b/generated/niscope/setup.py index 8d6191150..2f61e270d 100644 --- a/generated/niscope/setup.py +++ b/generated/niscope/setup.py @@ -37,7 +37,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ diff --git a/generated/niswitch/setup.py b/generated/niswitch/setup.py index 24e77a45e..04d9c59b2 100644 --- a/generated/niswitch/setup.py +++ b/generated/niswitch/setup.py @@ -36,7 +36,7 @@ def read_contents(file_to_read): extras_require={ 'grpc': [ 'grpcio>=1.59.0,<2.0', - 'protobuf>=4.21.6,<6.0' + 'protobuf>=4.21.6' ], }, classifiers=[ From d02180ce12b9359ed2b428dcd4515ee255464a27 Mon Sep 17 00:00:00 2001 From: Jay Fitzgerald <34140133+ni-jfitzger@users.noreply.github.com> Date: Tue, 18 Feb 2025 13:53:15 -0600 Subject: [PATCH 10/10] Expand on comments, describing when we can stop using Python 3.12 --- .travis.yml | 1 + tox-travis.ini | 3 +++ tox.ini | 3 +++ 3 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index c65c161e1..d231b62bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ matrix: # Historically, we've run tests on the latest supported version of Python first. # For now, we're running Python 3.12 first, because it's the version currently used for codegen. # This is where additional tests are run so we give it more time. + # When the version used for codegen changes, the version that runs first should change to match. - python: "3.12" - python: "3.9" - python: "3.10" diff --git a/tox-travis.ini b/tox-travis.ini index af8fc3124..8f781ede1 100644 --- a/tox-travis.ini +++ b/tox-travis.ini @@ -8,6 +8,9 @@ # does not have clean and only has one pyXX-installers # Historically we've used the latest Python for environments that we only list one Python for. For now, we're using Python 3.12 # to avoid updating our pb2 files, which could possibly cause incompatibilities with other NI Python packages. +# When other NI Python packages bump the version that they use for generating pb2 files, we can bump this Python version to match. +# We may also bump it sooner, if we agree with team members who own other NI Python packages that it's okay to do so. +# At the latest, we'll bump it when we drop support for Python 3.12. # Uncomment this line for tox.ini # envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg # Uncomment this line for tox-travis.ini diff --git a/tox.ini b/tox.ini index a7f11f3dc..0f9ec336f 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,9 @@ # does not have clean and only has one pyXX-installers # Historically we've used the latest Python for environments that we only list one Python for. For now, we're using Python 3.12 # to avoid updating our pb2 files, which could possibly cause incompatibilities with other NI Python packages. +# When other NI Python packages bump the version that they use for generating pb2 files, we can bump this Python version to match. +# We may also bump it sooner, if we agree with team members who own other NI Python packages that it's okay to do so. +# At the latest, we'll bump it when we drop support for Python 3.12. # Uncomment this line for tox.ini envlist = py312-build_test,py312-codegen,py312-installers,py{39,310,311,312,313}-test,py312-flake8,py312-docs,py312-pkg # Uncomment this line for tox-travis.ini