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

♻️ Refactor code to smaller modules #8

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

connormaglynn
Copy link
Contributor

👀 Purpose

♻️ What's changed

  • Moved code from main app.py into service layers DatabaseService/FigureService

Copy link
Contributor

@tamsinforbes tamsinforbes left a comment

Choose a reason for hiding this comment

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

🌝🌖🚀LGTM🚀🌘🌚

from dash import Dash, dcc, html
from flask import Flask

from app.config.app_config import app_config
from app.config.logging_config import configure_logging
from app.services.dashboard_service import FigureService
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't dashboard_service.py now renamed to figure_service.py ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good spot! I'll fix it on the next PR 🦅 👁️ 😁

@connormaglynn connormaglynn merged commit e65b580 into main May 9, 2024
@connormaglynn connormaglynn deleted the refactor-code branch May 9, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants