@@ -595,14 +595,14 @@ The method includes a functionality to get a ruler group specified by the namesp
595
595
# ### test\_rule
596
596
597
597
```python
598
- def test_rule (data_query : list ) -> dict
598
+ def test_rule (data_queries : list ) -> dict
599
599
```
600
600
601
601
The method includes a functionality to test a rule specified by a list of datasource rule query objects
602
602
603
603
** Arguments** :
604
604
605
- - `data_query ` _list_ - Specify a list of datasource rule query objects
605
+ - `data_queries ` _list_ - Specify a list of datasource rule query objects
606
606
607
607
608
608
** Raises** :
@@ -622,7 +622,7 @@ The method includes a functionality to test a rule specified by a list of dataso
622
622
```python
623
623
def test_datasource_uid_rule (expr : str ,
624
624
condition : str ,
625
- data_query : list ,
625
+ data_queries : list ,
626
626
datasource_uid : str = " grafana" ) -> dict
627
627
```
628
628
@@ -632,7 +632,7 @@ The method includes a functionality to test a datasource uid rule specified by t
632
632
633
633
- `expr` _str_ - Specify a list of datasource rule query objects
634
634
- `condition` _str_ - Specify the condition
635
- - `data_query ` _list_ - Specify a list of datasource rule query objects
635
+ - `data_queries ` _list_ - Specify a list of datasource rule query objects
636
636
- `datasource_uid` _str_ - Specify the datasource uid or recipient of the alerts (default grafana)
637
637
638
638
@@ -651,15 +651,15 @@ The method includes a functionality to test a datasource uid rule specified by t
651
651
# ### test\_backtest\_rule
652
652
653
653
```python
654
- def test_backtest_rule (condition : str , data_query : list ) -> dict
654
+ def test_backtest_rule (condition : str , data_queries : list ) -> dict
655
655
```
656
656
657
- The method includes a functionality to test a rule specified by the condition, a list of data queries
657
+ The method includes a functionality to test a rule specified by the condition and a list of data queries
658
658
659
659
** Arguments** :
660
660
661
661
- `condition` _str_ - Specify the condition
662
- - `data_query ` _list_ - Specify a list of datasource rule query objects
662
+ - `data_queries ` _list_ - Specify a list of datasource rule query objects
663
663
664
664
665
665
** Raises** :
0 commit comments