developer.py

Routes and functions intended to aid development and testing.

developer.api_hello()[source]

Test request.

developer.csrf_test()[source]

Test csrf tokens.

developer.get_added_ds()[source]

Get datasets added during testing.

developer.list_config()[source]

List all session variables.

developer.list_current_user()[source]

List all session variables.

developer.list_endpoints_formatted_text()[source]

List all endpoints for the app.

developer.list_endpoints_json()[source]

List all endpoints for the app.

developer.list_session()[source]

List all session variables.

developer.login(identifier: str)[source]

Log in without password.

Parameters

identifer (str) – User auth_id.

developer.login_hello()[source]

Test request requiring login.

developer.permission_hello(permission: str)[source]

Test request requiring the given permission.

Parameters

permission (str) – The permission to test for.

developer.sitemap_builder()list[source]

Build a sitemap.

Returns

All routes/methods/endpoints

Return type

list

developer.stop_server()[source]

Shutdown the flask server.