Skip to content

Commit

Permalink
remove return type
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Dec 15, 2023
1 parent fc61d07 commit 5341256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/warehouse/api/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5341256

Please sign in to comment.