dpgaspar commented on a change in pull request #9322: fix: handle list of lists
from fetch_data
URL:
https://github.com/apache/incubator-superset/pull/9322#discussion_r394303524
##########
File path: superset/result_set.py
##########
@@ -70,8 +70,8 @@ def stringify_values(array: np.ndarray) -> np.ndarray:
class SupersetResultSet:
def __init__(
self,
- data: List[Tuple[Any, ...]],
- cursor_description: Tuple[Any, ...],
+ data: List[Union[List[Any], Tuple[Any, ...]]],
+ cursor_description: Union[List[Any], Tuple[Any, ...]],
Review comment:
I think this should be a `List[Union[List[Any], Tuple[Any, ...]]]` like on
data.
``` python
[("user_id", "STRING", None, None, None, None, True), ("username", "STRING",
None, None, None, None, True)]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]