Skip to content

Commit

Permalink
fix: Remove type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Aug 27, 2024
1 parent 58a43c9 commit eea2ca5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions posthog/warehouse/models/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit eea2ca5

Please sign in to comment.