From d1f00706bff58b863b0a1c5bf4adf39d36049d4c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Nov 2022 09:54:35 +0100 Subject: Merging upstream version 10.0.1. Signed-off-by: Daniel Baumann --- sqlglot/dataframe/sql/types.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sqlglot/dataframe/sql/types.py') diff --git a/sqlglot/dataframe/sql/types.py b/sqlglot/dataframe/sql/types.py index dc5c05a..a63e505 100644 --- a/sqlglot/dataframe/sql/types.py +++ b/sqlglot/dataframe/sql/types.py @@ -158,7 +158,11 @@ class MapType(DataType): class StructField(DataType): def __init__( - self, name: str, dataType: DataType, nullable: bool = True, metadata: t.Optional[t.Dict[str, t.Any]] = None + self, + name: str, + dataType: DataType, + nullable: bool = True, + metadata: t.Optional[t.Dict[str, t.Any]] = None, ): self.name = name self.dataType = dataType -- cgit v1.2.3