Closed ahuang11 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 56.62%. Comparing base (
42700fc
) to head (e5a5a05
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks, I think what we should do is ensure we limit the number of enum entries. What triggered this change in the first place was that I saw a mistyped float column generating a 100MB JSON schema.
I am trying to track this down, but I think all of ai/ uses utils/get_schema
which limits the number of enum entries https://github.com/holoviz/lumen/blob/main/lumen/ai/utils.py#L86-L88
My guess is the enum is nested somewhere else in the spec.
I am trying to track this down, but I think all of ai/ uses utils/get_schema which limits the number of enum entries https://github.com/holoviz/lumen/blob/main/lumen/ai/utils.py#L86-L88
Sorry, I wasn't talking about Lumen AI, this is for the schema generation of the source itself.
Reverts https://github.com/holoviz/lumen/commit/0365383efcc8c881bd43cfabc10196ba0f036146