-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle double-JSON-encoded VarData #2
base: pydantic-v2
Are you sure you want to change the base?
Handle double-JSON-encoded VarData #2
Conversation
In some paths, a Var will have JSON encoded data that is itself JSON encoded again (like Var[dict] types). If we can't decode the VarData up front, try to double decode it as a fallback.
Important Auto Review SkippedAuto reviews are disabled on base/target branches other than the default branch. Please add the base/target branch pattern to the list of additional branches to be reviewed in the settings. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
1. Updated recharts version to the newest - recharts.py 2. Added `legend_type` back for cartesian class, it was currently commented out - cartesian.py 3. Added `vertical_points` and `horizontal_points` to CartesianGrid class - cartesian.py 4. Added `ticks` `tick` `tick_count` `tick_line` `tick_size` `min_tick_gap`props to Axis class - cartesian.py 5. Refactored `on_click` `on_mouse_down` `on_mouse_up` `on_mouse_move` `on_mouse_out` `on_mouse_enter` `on_mouse_leave` event triggers of `Axis` class using Masen's new method - cartesian.py 6. Added `on_animation_begin` and `on_animation_end` event trigger to `Bar(Cartesian)` class - cartesian.py 7. Added `id` `is_animation_active` `animation_begin` `animation_duration` `animation_easing` `unit` `min_point_size` `name` prop to `Bar(Cartesian)` class - cartesian.py. 8. Added `unit` `name` props to `Area(Cartesian)` class - cartesian.py 9. Added `unit` `name` props to `Line(Cartesian)` class - cartesian.py 10. Added `id` `is_animation_active` `animation_begin` `animation_duration` `animation_easing` props to `Scatter(Recharts)` class - cartesian.py 11. Refactored eventtriggers for `Scatter(Recharts)` class using Masen's new method - cartesian.py 12. Change the var type of stack_id in `Area(Cartesian)` class to be string and int, it used to be only a string. - cartesian.py 13. Added `name_key` prop and `on_animation_start` and `on_animation_end` prop to `Funnul(Recharts)` class cartesian.py 14. Added `on_mouse_down` `on_mouse_up` `on_mouse_over` `on_mouse_out` event triggers to `PieChart(ChartBase)` and also refactored using Masen's new method - Charts.py 15. Refaactored event triggers for referenceDot(Reference) class using Masen's new method. - Cartesian.py 16. Refactored event triggers for ChartBase(RechartsCharts) class using Masen's new method. - Cartesian.py 17. Refactored event triggers for Piechart(ChartBase) class using Masen's new method, Added `on_mouse_down` `on_mouse_up` `on_mouse_over` `on_mouse_out` event triggers - Cartesian.py Co-authored-by: Hongyu Yao <hongyuyao@hongyus-mbp-3.lan>
In some paths, a Var will have JSON encoded data that is itself JSON encoded again (like Var[dict] types). If we can't decode the VarData up front, try to double decode it as a fallback.