File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ class TableSchema:
610610 def __init__ (
611611 self , fields : Optional [list ] = None , foreign_type_info : Optional [str ] = None
612612 ):
613- self ._properties : Dict [str , Any ] = {}
613+ self ._properties : Dict [str , Any ] = {}
614614 self .fields = fields
615615 self .foreign_type_info = foreign_type_info
616616
@@ -768,9 +768,9 @@ def serde_info(self) -> Any:
768768 """Optional. Serializer and deserializer information."""
769769
770770 prop = _get_sub_prop (self ._properties , ["serDeInfo" ])
771- print (f"DINOSAUR in SD: { prop } \n \n { self ._properties } " )
772771 if prop is not None :
773- prop = SerDeInfo ().from_api_repr (prop )
772+ prop = StorageDescriptor ().from_api_repr (prop )
773+ print (f"DINOSAUR prop: { prop } " )
774774
775775 return prop
776776
@@ -892,6 +892,6 @@ def from_api_repr(cls, resource: dict) -> SerDeInfo:
892892 Returns:
893893 An instance of the class initialized with data from 'resource'.
894894 """
895- config = cls ()
895+ config = cls ("" )
896896 config ._properties = copy .deepcopy (resource )
897897 return config
You can’t perform that action at this time.
0 commit comments