mirror of
https://github.com/apache/superset.git
synced 2026-05-09 01:46:06 +00:00
perf: Implement model specific lookups by id to improve performance (#20974)
* Implement model specific lookups by id to improve performance * Address comments e.g. better variable names and test cleanup * commit after cleanup * even better name and test cleanup via rollback Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
committed by
Michael S. Molina
parent
094b17e8cc
commit
1e8259a410
@@ -85,7 +85,7 @@ def test_post(client, form_data: Dict[str, Any], permalink_salt: str):
|
||||
def test_post_access_denied(client, form_data):
|
||||
login(client, "gamma")
|
||||
resp = client.post(f"api/v1/explore/permalink", json={"formData": form_data})
|
||||
assert resp.status_code == 404
|
||||
assert resp.status_code == 403
|
||||
|
||||
|
||||
def test_get_missing_chart(client, chart, permalink_salt: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user