Documentation of Analysis functions
get_survey_design(column_name)
Getting SurveyDesign
Examples:
>>> from BWS.model.analysis import get_survey_design
>>> get_survey_design("Cisco_Router")
| Parameters: |
|
|---|
| Returns: |
|
|---|
Source code in BWS\model\analysis.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
push_analysis1(product_name)
Analyse and push to DB 1
Examples:
>>> from BWS.model.analysis import push_analysis1
>>> push_analysis1("Cisco_Router")
| Parameters: |
|
|---|
Source code in BWS\model\analysis.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | |
push_analysis2(product_name)
Analyse and push to DB 2
Examples:
>>> from BWS.model.analysis import push_analysis2
>>> push_analysis2("Cisco_Router")
| Parameters: |
|
|---|
Source code in BWS\model\analysis.py
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
push_analysis3(product_name)
Analyse and push to DB 3
Examples:
>>> from BWS.model.analysis import push_analysis3
>>> push_analysis3("Cisco_Router")
| Parameters: |
|
|---|
Source code in BWS\model\analysis.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
push_survey_design(column_name, survey_design)
Pushing the Survey Design into the database
Examples:
>>> from BWS.model.analysis import push_survey_design, get_survey_design
>>> push_survey_design("Cisco_Router", get_survey_design("Cisco_Router"))
| Parameters: |
|
|---|
Source code in BWS\model\analysis.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | |