0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Marius Andra
99e74da03d
Event must be a string (#2920)
* Event must be a string

* test that event can't be a dict

* convert dicts and other unknown event names to strings

* mypy

* update packages to have mypy working with python 3.9

* fix event name sanitization types

* fix misc type error from mypy/django-stubs update

* fix other type errors from mypy/django-stubs update

* add migration to update events for users if there's weird data in team.event_names

* ignore type to fix mypy issue

* fix migrations
2021-01-15 15:35:52 +01:00
James Greenhill
7ac64c84f1
Basic caching for Clickhouse to redis (#2300)
* Basic caching for Clickhouse to redis

* Use redis for caching results

* add tests and fix bugs

* fix mypy

* add fakeredis as req

* add fakeredis to github action for testing

* add fakeredis to cloud tests too

* pickle -> json

* bytes

* json in tests

* tuplefy
2020-11-13 13:20:00 +01:00
Michael Matloka
b7b9e8caf3
Remove some seemingly unused requirements and use pip-compile (#2192)
* Remove some seemingly unused requirements

* Remove a few more

* Bring back dependencies of other requirements

* pip-compile prod requirements

* Sync with master updates

* Fix grep

* Revert "Fix grep"

This reverts commit 2e6538cad4.

* Fix grep but using cut

* Clean up and regenerate requirements

* Simplify requirements-dev

* Fix fakeredis import in production

* Black
2020-11-10 10:17:48 +01:00