This commit improved handling of JSON columns in FAB. While we are removing FAB for 3.0, this error was bothering me in breeze :)
Added code to correctly identify JSON columns to not add FAB filter for it.
Excluded the value column from add/edit operations in XComModelView as XCom values are not meant to be modified directly via the UI.
Errors:
root@b16e4907c2ca:/opt/airflow# airflow webserver
____________ _____________
____ |__( )_________ __/__ /________ __
____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
_/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
Access Logformat:
=================================================================
/usr/local/lib/python3.9/site-packages/flask_limiter/extension.py:333 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
[2024-11-22T01:22:43.225+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.225+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {filters.py:117} WARNING - Filter type not supported for column: value
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
[2024-11-22T01:22:43.226+0000] {forms.py:107} ERROR - Column value Type not supported
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.
This commit improved handling of JSON columns in FAB. While we are removing FAB for 3.0, this error was bothering me in breeze :)
value
column from add/edit operations inXComModelView
as XCom values are not meant to be modified directly via the UI.Errors:
^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.