get the count of proxies :return: count, int
()
| 154 | @app.route('/count') |
| 155 | @auth_required |
| 156 | def get_count(): |
| 157 | """ |
| 158 | get the count of proxies |
| 159 | :return: count, int |
| 160 | """ |
| 161 | conn = get_conn() |
| 162 | key = get_request_key() |
| 163 | return str(conn.count(key)) if key else str(conn.count()) |
| 164 | |
| 165 | |
| 166 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected