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:
Eric Hare 2025-06-20 13:51:51 -07:00 committed by GitHub
commit d4d9a70cd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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())

View file

@ -1,2 +1,2 @@
MAX_TEXT_LENGTH = 2000
MAX_ITEMS_LENGTH = 100
MAX_ITEMS_LENGTH = 1000