Skip to content

Commit ec33a65

Browse files
Passing the timestamp parser to describe field
1 parent 9c53eaa commit ec33a65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bigquery/schema_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def schema_from_record(record, timestamp_parser=default_timestamp_parser):
2929
Returns:
3030
schema: list
3131
"""
32-
return [describe_field(k, v) for k, v in record.items()]
32+
return [describe_field(k, v, timestamp_parser=timestamp_parser)
33+
for k, v in record.items()]
3334

3435

3536
def describe_field(k, v, timestamp_parser=default_timestamp_parser):

0 commit comments

Comments
 (0)