mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41:46 +01:00
64aff85b35
* Add `test_insight_refreshing_query_async` It's red. * Allow `enqueue_process_query_task` short circuit if cache warm * Make cache key consistent between sync and async execution * Remove obsolete comment * Fix test_execute_async.py * Fix `execute_process_query` call * Fix `enqueue_process_query_task` call * Update expected cache keys This is to be expected, because now `get_cache_key()` returns the _full_ cache key, i.e. including f"...._{self._limit_context_aliased_for_cache}_v2". * Update mypy-baseline.txt * Make `process_query_...` return actual model instances This makes `CacheMissResponse` checks easy and obvious. * Fix post-refactor issues * Stabilize `test_create_two_similarly_named_organizations` It looks like we're calling `random()` at some point now, which causes the test to see a different disambiguated org slug than before. But this test should not rely on that – `choice()` just needs to be mocked. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
analyze.py | ||
columns.py | ||
util.py |