Ran
|
Jobs
1
|
Files
10
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/cumin/commit/728121486">Query: add multi-query support Breaking change for the API. - Remove 'backend' configuration key as not anymore used - Add new optional 'default_backend' configuration key. If set the query will be first executed with the default backend, and if failing the parsing it will be executed with the global multi-query grammar. This allow to keep backward compatibility with the query that were executed before. - Each backend has now its own grammar and parsing rules as they are completely independent from each other. - Add a new global grammar that allows to execute blocks of queries with different backends and aggregate the results. Aliases are now global and must use the global grammar syntax. - API breaking change for the query class. The public build() method has become private and now is sufficient to call the execute(query_string) method. Example usage: config = cumin.Config(args.config) hosts = query.Query(config, logger=logger).execute(query_string) - API breaking change for the query class. The public methods open_subgroup() and close_subgroup() have become private, _open_subgroup() and _close_subgroup() respectively. Bug: T170394 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/cumin/commit/adb64548c">adb64548c</a>
1030 of 1132 relevant lines covered (90.99%)
0.91 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 67.1 | 10 |
90.99 |
Travis Job 67.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|