Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dscc-admin-ch committed Jul 4, 2024
1 parent 44b0d80 commit ceacb3d
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 2,902 deletions.
788 changes: 8 additions & 780 deletions html/develop/en/_modules/lomas_server/app.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion html/develop/en/_modules/lomas_server/tests/test_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h1>Source code for lomas_server.tests.test_api</h1><div class="highlight"><pre>
<div class="viewcode-block" id="TestRootAPIEndpoint.setUp">
<a class="viewcode-back" href="../../../lomas_server.tests.html#lomas_server.tests.test_api.TestRootAPIEndpoint.setUp">[docs]</a>
<span class="k">def</span> <span class="nf">setUp</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;_summary_&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Set Up Header and DB for test&quot;&quot;&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">user_name</span> <span class="o">=</span> <span class="s2">&quot;Dr. Antartica&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">dataset</span> <span class="o">=</span> <span class="n">PENGUIN_DATASET</span>
<span class="bp">self</span><span class="o">.</span><span class="n">headers</span> <span class="o">=</span> <span class="p">{</span>
Expand Down
72 changes: 17 additions & 55 deletions html/develop/en/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,11 @@ <h2 id="D">D</h2>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.MongoDBConfig.db_name">db_name (lomas_server.utils.config.MongoDBConfig attribute)</a>
</li>
<li><a href="lomas_server.html#lomas_server.constants.ConfigKeys.DB_TYPE">DB_TYPE (lomas_server.constants.ConfigKeys attribute)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.DBConfig.db_type">db_type (lomas_server.utils.config.DBConfig attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.DBConfig.db_type">db_type (lomas_server.utils.config.DBConfig attribute)</a>
</li>
<li><a href="lomas_server.html#lomas_server.constants.ConfigKeys.DB_TYPE_MONGODB">DB_TYPE_MONGODB (lomas_server.constants.ConfigKeys attribute)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.DBConfig">DBConfig (class in lomas_server.utils.config)</a>
Expand Down Expand Up @@ -372,8 +372,6 @@ <h2 id="D">D</h2>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.GetDummyDataset.dummy_nb_rows">(lomas_server.utils.input_models.GetDummyDataset attribute)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.dummy_opendp_query_handler">dummy_opendp_query_handler() (in module lomas_server.app)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.DummyOpenDPInp.dummy_seed">dummy_seed (lomas_server.utils.input_models.DummyOpenDPInp attribute)</a>

<ul>
Expand All @@ -382,8 +380,6 @@ <h2 id="D">D</h2>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.GetDummyDataset.dummy_seed">(lomas_server.utils.input_models.GetDummyDataset attribute)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.dummy_smartnoise_sql_handler">dummy_smartnoise_sql_handler() (in module lomas_server.app)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.DummyOpenDPInp">DummyOpenDPInp (class in lomas_server.utils.input_models)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.DummySNSQLInp">DummySNSQLInp (class in lomas_server.utils.input_models)</a>
Expand All @@ -408,24 +404,16 @@ <h2 id="E">E</h2>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.SNSQLInpCost.epsilon">(lomas_server.utils.input_models.SNSQLInpCost attribute)</a>
</li>
</ul></li>
<li><a href="lomas_client.html#lomas_client.client.error_message">error_message() (in module lomas_client.client)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="lomas_client.html#lomas_client.client.error_message">error_message() (in module lomas_client.client)</a>
</li>
<li><a href="lomas_server.dp_queries.html#lomas_server.dp_queries.dp_logic.QueryHandler.estimate_cost">estimate_cost() (lomas_server.dp_queries.dp_logic.QueryHandler method)</a>
</li>
<li><a href="lomas_server.html#lomas_server.app.estimate_opendp_cost">estimate_opendp_cost() (in module lomas_server.app)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.estimate_opendp_cost">(lomas_client.client.Client method)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.estimate_opendp_cost">estimate_opendp_cost() (lomas_client.client.Client method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.estimate_smartnoise_cost">estimate_smartnoise_cost() (in module lomas_server.app)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.estimate_smartnoise_cost">(lomas_client.client.Client method)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.estimate_smartnoise_cost">estimate_smartnoise_cost() (lomas_client.client.Client method)</a>
</li>
</ul></li>
<li><a href="lomas_server.utils.html#lomas_server.utils.error_handler.ExternalLibraryException">ExternalLibraryException</a>
</li>
</ul></td>
Expand Down Expand Up @@ -474,24 +462,18 @@ <h2 id="G">G</h2>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.yaml_database.AdminYamlDatabase.get_dataset_field">(lomas_server.admin_database.yaml_database.AdminYamlDatabase method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_dataset_metadata">get_dataset_metadata() (in module lomas_server.app)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.get_dataset_metadata">get_dataset_metadata() (lomas_client.client.Client method)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.get_dataset_metadata">(lomas_client.client.Client method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_dataset_metadata">(lomas_server.admin_database.admin_database.AdminDatabase method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.mongodb_database.AdminMongoDatabase.get_dataset_metadata">(lomas_server.admin_database.mongodb_database.AdminMongoDatabase method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.yaml_database.AdminYamlDatabase.get_dataset_metadata">(lomas_server.admin_database.yaml_database.AdminYamlDatabase method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_dummy_dataset">get_dummy_dataset() (in module lomas_server.app)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.get_dummy_dataset">(lomas_client.client.Client method)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.get_dummy_dataset">get_dummy_dataset() (lomas_client.client.Client method)</a>
</li>
</ul></li>
<li><a href="lomas_server.dp_queries.html#lomas_server.dp_queries.dummy_dataset.get_dummy_dataset_for_query">get_dummy_dataset_for_query() (in module lomas_server.dp_queries.dummy_dataset)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_epsilon_or_delta">get_epsilon_or_delta() (lomas_server.admin_database.admin_database.AdminDatabase method)</a>
Expand All @@ -502,11 +484,9 @@ <h2 id="G">G</h2>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.yaml_database.AdminYamlDatabase.get_epsilon_or_delta">(lomas_server.admin_database.yaml_database.AdminYamlDatabase method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_initial_budget">get_initial_budget() (in module lomas_server.app)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.get_initial_budget">get_initial_budget() (lomas_client.client.Client method)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.get_initial_budget">(lomas_client.client.Client method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_initial_budget">(lomas_server.admin_database.admin_database.AdminDatabase method)</a>
</li>
</ul></li>
Expand All @@ -516,14 +496,10 @@ <h2 id="G">G</h2>
</li>
<li><a href="lomas_server.html#lomas_server.mongodb_admin.get_list_of_users">get_list_of_users() (in module lomas_server.mongodb_admin)</a>
</li>
<li><a href="lomas_server.html#lomas_server.app.get_memory_usage">get_memory_usage() (in module lomas_server.app)</a>

<ul>
<li><a href="lomas_server.private_dataset.html#lomas_server.private_dataset.private_dataset.PrivateDataset.get_memory_usage">(lomas_server.private_dataset.private_dataset.PrivateDataset method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="lomas_server.private_dataset.html#lomas_server.private_dataset.private_dataset.PrivateDataset.get_memory_usage">get_memory_usage() (lomas_server.private_dataset.private_dataset.PrivateDataset method)</a>
</li>
<li><a href="lomas_server.private_dataset.html#lomas_server.private_dataset.private_dataset.PrivateDataset.get_metadata">get_metadata() (lomas_server.private_dataset.private_dataset.PrivateDataset method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.utils.get_mongodb">get_mongodb() (in module lomas_server.admin_database.utils)</a>
Expand Down Expand Up @@ -552,29 +528,21 @@ <h2 id="G">G</h2>
<li><a href="lomas_server.dataset_store.html#lomas_server.dataset_store.lru_dataset_store.LRUDatasetStore.get_querier">(lomas_server.dataset_store.lru_dataset_store.LRUDatasetStore method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_remaining_budget">get_remaining_budget() (in module lomas_server.app)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.get_remaining_budget">get_remaining_budget() (lomas_client.client.Client method)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.get_remaining_budget">(lomas_client.client.Client method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_remaining_budget">(lomas_server.admin_database.admin_database.AdminDatabase method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_state">get_state() (in module lomas_server.app)</a>
</li>
<li><a href="lomas_server.html#lomas_server.app.get_total_spent_budget">get_total_spent_budget() (in module lomas_server.app)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.get_total_spent_budget">get_total_spent_budget() (lomas_client.client.Client method)</a>

<ul>
<li><a href="lomas_client.html#lomas_client.client.Client.get_total_spent_budget">(lomas_client.client.Client method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_total_spent_budget">(lomas_server.admin_database.admin_database.AdminDatabase method)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.get_user_previous_queries">get_user_previous_queries() (in module lomas_server.app)</a>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_user_previous_queries">get_user_previous_queries() (lomas_server.admin_database.admin_database.AdminDatabase method)</a>

<ul>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.admin_database.AdminDatabase.get_user_previous_queries">(lomas_server.admin_database.admin_database.AdminDatabase method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.mongodb_database.AdminMongoDatabase.get_user_previous_queries">(lomas_server.admin_database.mongodb_database.AdminMongoDatabase method)</a>
</li>
<li><a href="lomas_server.admin_database.html#lomas_server.admin_database.yaml_database.AdminYamlDatabase.get_user_previous_queries">(lomas_server.admin_database.yaml_database.AdminYamlDatabase method)</a>
Expand Down Expand Up @@ -1358,11 +1326,9 @@ <h2 id="O">O</h2>
<li><a href="lomas_server.utils.html#lomas_server.utils.input_models.OpenDPInp.opendp_json">(lomas_server.utils.input_models.OpenDPInp attribute)</a>
</li>
</ul></li>
<li><a href="lomas_client.html#lomas_client.client.Client.opendp_query">opendp_query() (lomas_client.client.Client method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="lomas_server.html#lomas_server.app.opendp_query_handler">opendp_query_handler() (in module lomas_server.app)</a>
<li><a href="lomas_client.html#lomas_client.client.Client.opendp_query">opendp_query() (lomas_client.client.Client method)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.OpenDPConfig">OpenDPConfig (class in lomas_server.utils.config)</a>
</li>
Expand Down Expand Up @@ -1443,8 +1409,6 @@ <h2 id="R">R</h2>
<li><a href="lomas_server.dp_queries.dp_libraries.html#lomas_server.dp_queries.dp_libraries.opendp.reconstruct_measurement_pipeline">reconstruct_measurement_pipeline() (in module lomas_server.dp_queries.dp_libraries.opendp)</a>
</li>
<li><a href="lomas_server.utils.html#lomas_server.utils.config.Server.reload">reload (lomas_server.utils.config.Server attribute)</a>
</li>
<li><a href="lomas_server.html#lomas_server.app.root">root() (in module lomas_server.app)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
Expand Down Expand Up @@ -1511,11 +1475,11 @@ <h2 id="S">S</h2>
<li><a href="lomas_server.dp_queries.dp_libraries.html#lomas_server.dp_queries.dp_libraries.smartnoise_sql.set_mechanisms">set_mechanisms() (in module lomas_server.dp_queries.dp_libraries.smartnoise_sql)</a>
</li>
<li><a href="lomas_server.dp_queries.dp_libraries.html#lomas_server.dp_queries.dp_libraries.opendp.set_opendp_features_config">set_opendp_features_config() (in module lomas_server.dp_queries.dp_libraries.opendp)</a>
</li>
<li><a href="lomas_server.html#lomas_server.constants.ConfigKeys.SETTINGS">SETTINGS (lomas_server.constants.ConfigKeys attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="lomas_server.html#lomas_server.constants.ConfigKeys.SETTINGS">SETTINGS (lomas_server.constants.ConfigKeys attribute)</a>
</li>
<li><a href="lomas_server.tests.html#lomas_server.tests.test_api.TestRootAPIEndpoint.setUp">setUp() (lomas_server.tests.test_api.TestRootAPIEndpoint method)</a>
</li>
<li><a href="lomas_server.tests.html#lomas_server.tests.test_api.TestRootAPIEndpoint.setUpClass">setUpClass() (lomas_server.tests.test_api.TestRootAPIEndpoint class method)</a>
Expand Down Expand Up @@ -1544,8 +1508,6 @@ <h2 id="S">S</h2>
<li><a href="lomas_server.html#lomas_server.constants.DPLibraries.SMARTNOISE_SQL">(lomas_server.constants.DPLibraries attribute)</a>
</li>
</ul></li>
<li><a href="lomas_server.html#lomas_server.app.smartnoise_sql_handler">smartnoise_sql_handler() (in module lomas_server.app)</a>
</li>
<li><a href="lomas_server.dp_queries.dp_libraries.html#lomas_server.dp_queries.dp_libraries.smartnoise_sql.SmartnoiseSQLQuerier">SmartnoiseSQLQuerier (class in lomas_server.dp_queries.dp_libraries.smartnoise_sql)</a>
</li>
<li><a href="lomas_server.html#lomas_server.constants.OpenDPMeasurement.SMOOTHED_MAX_DIVERGENCE">SMOOTHED_MAX_DIVERGENCE (lomas_server.constants.OpenDPMeasurement attribute)</a>
Expand Down
Loading

0 comments on commit ceacb3d

Please sign in to comment.