Skip to content

Commit 4fad6ee

Browse files
author
Lingling Peng
committed
change to list
1 parent cb95ef9 commit 4fad6ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

synapseclient/models/curation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88
from dataclasses import dataclass, field, replace
9-
from typing import Any, AsyncGenerator, Dict, Generator, List, Optional, Protocol, Union
9+
from typing import Any, AsyncGenerator, Dict, Generator, Optional, Protocol, Union
1010

1111
from opentelemetry import trace
1212

@@ -1093,10 +1093,10 @@ class UploadToTablePreviewRequest(AsynchronousCommunicator):
10931093
"""When set to true the full file will be scanned for a schema suggestions. A full scan is more accurate but can take more time. When set to false only a sub-set of the first rows will be scanned, which can be faster but is less accurate. The default value is false."""
10941094

10951095
# Response fields (populated by fill_from_dict)
1096-
suggested_columns: Optional[List[Column]] = field(default=None, compare=False)
1096+
suggested_columns: Optional[list[Column]] = field(default=None, compare=False)
10971097
"""The suggested columns for the table based on the file scan."""
10981098

1099-
sample_rows: Optional[List[List[Optional[str]]]] = field(
1099+
sample_rows: Optional[list[list[Optional[str]]]] = field(
11001100
default=None, compare=False
11011101
)
11021102
"""A sample of the rows in the file."""

0 commit comments

Comments
 (0)