Measurement Plug-In SDK for Python v2.1.0-dev1
Pre-release
Pre-release
dixonjoel
released this
23 Sep 16:54
·
18 commits
to releases/2.1
since this release
Compatibility Notes
- The version for a measurement plug-in is now specified in the .serviceconfig file. If your plug-in specifies version using the constructor of the MeasurementService 'version' parameter and not with a 'version' element in the .serviceconfig file, the version will be ignored and your service will be registered as version 0.1.0.
- Configuration parameters with array types should be treated as Sequence[T] or Iterable[T] rather than List[T]. You can still index, iterate, slice, etc. but some operations such as concatenating with another list or tuple are not supported. If you need the parameter to be converted to a list or a tuple, you should do that in your measure() function. See this example.
New Measurement Service Client Generator
- Added the client generator, allowing users to call into a measurement service from Python (#889, #891, #892, #900, #901, #902)
Bug Fixes and Minor Changes
- Update pipeline files to run the acceptance tests in generator directory (#884)
- Update Plug-in to Plug-In (#898)
- CONTRIBUTING.md: Update for repo layout, submodules, and new lint tools (#893)
- Do not specify version in the MeasurementService constructor (#907)
Full Changelog: 2.1.0-dev0...2.1.0-dev1