Skip to content

Types & Metadata

Compare
Choose a tag to compare
@gordonwatts gordonwatts released this 02 Apr 21:35
· 37 commits to master since this release
b6416ea

This is a major release. Old queries against old backends should work without any changes. However, you'll need a new backend to take advantage of most of the new features.

Features marked with a ** require the new backend.

New Features in the language

  • C++ Code injection can be done via a decorator
  • List comprehension and Generator expressions are now supported, automatically turned into func_adl statements. This is particularly helpful when doing 2-object matching.
  • Local and global variables are properly captured in lambda's.

New Features in the infrastructure

  • Support for Query Metadata. This metadata is sent to the backend without being touched **
  • Support for in-query Metadata. This metadata is not sent to the backend, but can be extracted from the query. The in-query metadata can be overridden by setting a value more than once. **
  • A Fully typed ObjectStream is supported via Generics. Various editors that type-follow will be able to correctly predict methods, etc., that are available. You'll need a complete object model for this to work (see the func_adl_servicex_xaodr21 package) **
  • Python 10 is supported.

The PR's

Full Changelog: 2.3...3.0