Skip to content
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

chore: encapsulate flask app into superset app #15281

Merged

Conversation

ofekisr
Copy link
Contributor

@ofekisr ofekisr commented Jun 21, 2021

SUMMARY

encapsulate the flask app under supersetApp type, then new features can be declared and added to the new type

@codecov
Copy link

codecov bot commented Jun 21, 2021

Codecov Report

Merging #15281 (763cb51) into master (2792ddc) will decrease coverage by 0.15%.
The diff coverage is 70.58%.

❗ Current head 763cb51 differs from pull request most recent head 80fdda6. Consider uploading reports for the commit 80fdda6 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15281      +/-   ##
==========================================
- Coverage   77.16%   77.01%   -0.16%     
==========================================
  Files         973      973              
  Lines       50371    50376       +5     
  Branches     6140     6140              
==========================================
- Hits        38871    38798      -73     
- Misses      11296    11374      +78     
  Partials      204      204              
Flag Coverage Δ
hive ?
mysql 81.66% <70.58%> (-0.01%) ⬇️
postgres 81.68% <70.58%> (-0.01%) ⬇️
python 81.77% <70.58%> (-0.30%) ⬇️
sqlite 81.31% <70.58%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/initialization/__init__.py 88.05% <67.74%> (-0.25%) ⬇️
superset/app.py 83.33% <100.00%> (+2.08%) ⬆️
superset/db_engines/hive.py 0.00% <0.00%> (-82.15%) ⬇️
superset/db_engine_specs/hive.py 69.20% <0.00%> (-17.21%) ⬇️
superset/views/database/mixins.py 81.03% <0.00%> (-1.73%) ⬇️
superset/db_engine_specs/presto.py 83.36% <0.00%> (-1.06%) ⬇️
superset/db_engine_specs/base.py 87.97% <0.00%> (-0.41%) ⬇️
superset/connectors/sqla/models.py 88.22% <0.00%> (-0.24%) ⬇️
superset/utils/core.py 88.93% <0.00%> (-0.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2792ddc...80fdda6. Read the comment docs.

Copy link
Member

@amitmiran137 amitmiran137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
nice encapsulation

@amitmiran137 amitmiran137 merged commit cd0e03a into apache:master Jun 21, 2021
@amitmiran137 amitmiran137 deleted the chore/supeset_app_encapsulation branch June 21, 2021 13:05
@john-bodley
Copy link
Member

@ofekisr could you please provide more context as to why this is needed?

cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
@cwegener
Copy link
Contributor

cwegener commented May 9, 2023

@ofekisr could you please provide more context as to why this is needed?

It doesn't look like this encapsulation ever ended up being used anywhere. What indeed is the point of having this SupersetApp class?

1 similar comment
@cwegener
Copy link
Contributor

cwegener commented May 9, 2023

@ofekisr could you please provide more context as to why this is needed?

It doesn't look like this encapsulation ever ended up being used anywhere. What indeed is the point of having this SupersetApp class?

cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants