From eea2ca57aa6f5cdbde760419342b2549a2ca6e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Tue, 27 Aug 2024 11:29:03 +0200 Subject: [PATCH] fix: Remove type hints --- posthog/warehouse/models/modeling.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/posthog/warehouse/models/modeling.py b/posthog/warehouse/models/modeling.py index 0ffe3698c947a..6484a6c7829cc 100644 --- a/posthog/warehouse/models/modeling.py +++ b/posthog/warehouse/models/modeling.py @@ -499,8 +499,6 @@ class Meta: objects: DataWarehouseModelPathManager = DataWarehouseModelPathManager() path = LabelTreeField(null=False) - team: models.ForeignKey = models.ForeignKey(Team, on_delete=models.CASCADE) - table: models.ForeignKey = models.ForeignKey(DataWarehouseTable, null=True, default=None, on_delete=models.SET_NULL) - saved_query: models.ForeignKey = models.ForeignKey( - DataWarehouseSavedQuery, null=True, default=None, on_delete=models.SET_NULL - ) + team = models.ForeignKey(Team, on_delete=models.CASCADE) + table = models.ForeignKey(DataWarehouseTable, null=True, default=None, on_delete=models.SET_NULL) + saved_query = models.ForeignKey(DataWarehouseSavedQuery, null=True, default=None, on_delete=models.SET_NULL)