From 5341256b16243ce239d9c15f98e6501ec1cdee52 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 15 Dec 2023 15:52:10 -0500 Subject: [PATCH] remove return type --- posthog/warehouse/api/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/warehouse/api/table.py b/posthog/warehouse/api/table.py index 0c9031a27fd25..aa4d23e2ecd01 100644 --- a/posthog/warehouse/api/table.py +++ b/posthog/warehouse/api/table.py @@ -58,7 +58,7 @@ class Meta: def get_columns(self, table: DataWarehouseTable) -> List[SerializedField]: return serialize_fields(table.hogql_definition().fields) - def get_external_schema(self, instance: DataWarehouseTable) -> str: + def get_external_schema(self, instance: DataWarehouseTable): from posthog.warehouse.api.external_data_schema import SimpleExternalDataSchemaSerializer return SimpleExternalDataSchemaSerializer(instance.externaldataschema_set.first(), read_only=True).data or None