fix: Show 1000 rows of DataFrame and properly display number truncated (#8565)
* fix: Allow up to 10000 dataframe rows to be visible * [autofix.ci] apply automated fixes * Update constants.py * Remove truncation from the data serializer * Revert "[autofix.ci] apply automated fixes" This reverts commit f66698097eb42000489cf736bfff2d1d0462d2fa. * Update schemas.py --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
This commit is contained in:
parent
14f3a2c111
commit
d4d9a70cd4
2 changed files with 2 additions and 1 deletions
|
|
@ -326,6 +326,7 @@ class VertexBuildResponse(BaseModel):
|
|||
Returns:
|
||||
dict: The serialized representation of the data with truncation applied.
|
||||
"""
|
||||
# return serialize(data, max_length=get_max_text_length()) TODO: Safe?
|
||||
return serialize(data, max_length=get_max_text_length(), max_items=get_max_items_length())
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
MAX_TEXT_LENGTH = 2000
|
||||
MAX_ITEMS_LENGTH = 100
|
||||
MAX_ITEMS_LENGTH = 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue