Questions tagged [flask-appbuilder]

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.

https://github.com/dpgaspar/Flask-AppBuilder

157 questions
2
votes
2 answers

Multiple checkboxes one submit button in multiple forms

Currently my submit button is only on one object which is because its outside the for loop, therefor it will only do the computation on the bottom file. However if I put the button back inside the loop it will put a submit button for every row, but…
user10197980
2
votes
0 answers

How to reuse template in Flask-appbuilder with exposed custom handlers?

It is a very specific question regarding Flask-appbuilder. During my development, I found FAB's ModelView is suitable for admin role, but need more user logic handlers/views for complex designs. There is a many to many relationship between devices…
Allan K Liu
  • 493
  • 1
  • 7
  • 23
2
votes
2 answers

Oauth authentication in Apache SuperSet

I'm trying to enable authentication in Apache SuperSet through Oauth2. It shoud be straightforward due to the fact that it's built upon Flask AppBuilder which supports OAuth and is extremely easy to setup and use. I managed to make both the…
Linuslabo
  • 1,568
  • 2
  • 24
  • 34
2
votes
2 answers

Need help connecting to SQL Server from Python Flask-Appbuilder

I'm new to Python + Flask + Flask Appbuilder but I am a professional Java developer. I've been working on a small app that I initially used SqlLite and now I want to move into SQL Server, which will be the production database. I can't seem to get…
1
vote
0 answers

AppBuilder prohibition on entering invalid characters

Good afternoon, I'm trying to make sure that forbidden characters don't get into the input field. But I don't understand how to do it. I either get an exception that I registered in the validator, or a message appears that forbidden characters have…
1
vote
0 answers

Airflow ignoring redirect_uri with custom provider

I', trying to setup Airflow Authenticate with my custom provider but for some reason, it is ignoring the redirect URI which I have set and always use https://my-airflow/oauth-authorized/my provider which I can see in the payload. It should…
1
vote
0 answers

How are I disable the RECAPTCHA on Flask appbuilder?

Due to school asignment, I have to write a wedsite with flask appbuilder, when I try to add a register page, I don't need the RECAPTCHA. So, how can I disable this? I tried: add RECAPTCHA_ENABLED = False in config.py --- [not working, the…
1
vote
1 answer

OAuth Superset integration - custom_token_headers not passed to access_token_url

I am following this link for OAuth integration of superset - https://superset.apache.org/docs/installation/configuring-superset. As per the configuration: AUTH_TYPE = AUTH_OAUTH OAUTH_PROVIDERS = [ { 'name':'egaSSO', …
1
vote
1 answer

flask-appbuilder: How to show exception message of post_add() in page

I have an app based on flask-appbuilder 3.3.3. I'd like to do insert some records in tableB after adding a record in tableA. I have overridden the post_add() method : class UploadFilesModelView(ModelView): datamodel = SQLAInterface(UploadFile) …
Lin Forest
  • 107
  • 8
1
vote
0 answers

getting "authlib.integrations.base_client.errors.MismatchingStateError" error while using keycloak with airflow webserver 2.1.1

I have installed airflow2.1.1 on centos7 vm in our private network. Airflow webserver is built on flask. It uses flask web authentication. I have configured airflow.cfg and webserver_config.py to use keycloak oauth2. I am getting below error while…
1
vote
1 answer

using flask-migration with flask-appbuilder

I have a flask-appbuilder (FAB) project and I would like to use flask-migrate to handle db migrations. However FAB creates the db on its own beforehand, so that flask-migrate cannot compute the migrations I'm aware of this example and of this issue…
japs
  • 1,286
  • 13
  • 27
1
vote
1 answer

How can a flask Addon overwrite a template?

I created a flask addon using "flask fab create-addon". I would like to change the template appbuilder/general/security/login_oauth.html so I have: templates appbuilder general security login_oauth.html But when I load the…
QLands
  • 2,424
  • 5
  • 30
  • 50
1
vote
1 answer

Extending Apache Superset and adding a link

I have a superset fork I managed to get it up and running using docker compose. Now I'm trying to do one simple thing: add a new link to the existing SQL Lab menu. What I'm trying to do is use appbuilder.add_link under the init_views method of the…
César
  • 9,939
  • 6
  • 53
  • 74
1
vote
2 answers

Flask app-builder how to make REST API with file items

I'm making a REST api that files can be uploaded based in MODEL-VIEW in flask-appbuilder like this. But I don't know how to call REST API (POST /File). I tried several different ways. but I couldn't. Let me know the correct or the alternative…
1
vote
1 answer

Flask-AppBuilder: How to sort on relationship?

According to the documentation, using order_columns you can specify which columns allow sorting, which adds blue arrows in the header to select sorting in ascending or descending order. However I also want to order by a relationship called…
Konrad Höffner
  • 11,100
  • 16
  • 60
  • 118
1 2
3
10 11