Conversation
Valera56pub
left a comment
There was a problem hiding this comment.
You need to run:
docker-compose -f devops/dev/docker-compose.dashboard-app.yaml up --build
AND
docker-compose -f devops/dev/docker-compose.data-handler.yaml up --build
Make sure both commands build and run without errors!
apps/shared/tests/test_helpers.py
Outdated
| from ..helpers import add_leading_zeros, get_addresses, get_symbol | ||
| from ..custom_types.base import TokenParameters | ||
| from apps.shared.helpers import add_leading_zeros, get_addresses, get_symbol | ||
| from apps.shared.custom_types.base import TokenParameters |
There was a problem hiding this comment.
must be:
from shared.helpers import add_leading_zeros, get_addresses, get_symbol
from shared.custom_types.base import TokenParameters
apps/shared/state/nostra/__init__.py
Outdated
| from .alpha import NostraAlphaState | ||
| from .mainnet import NostraMainnetState | ||
| from nostra.alpha import NostraAlphaState | ||
| from nostra.mainnet import NostraMainnetState |
There was a problem hiding this comment.
must be:
from shared.state.nostra.alpha import NostraAlphaState
from shared.state.nostra.mainnet import NostraMainnetState| import google.cloud.storage | ||
| import pandas | ||
| from .order_books.constants import TOKEN_MAPPING | ||
| from handlers.order_books.constants import TOKEN_MAPPING |
There was a problem hiding this comment.
must be:
from data_handler.handlers.order_books.constants import TOKEN_MAPPING
Valera56pub
left a comment
There was a problem hiding this comment.
Why don't you run this to check whether your code works correctly?
docker-compose -f devops/dev/docker-compose.dashboard-app.yaml up --build
AND
docker-compose -f devops/dev/docker-compose.data-handler.yaml up --build
Thank you for the feedback! I’ve run the following commands to verify that everything works correctly. docker-compose -f devops/dev/docker-compose.dashboard-app.yaml up --build
docker-compose -f devops/dev/docker-compose.data-handler.yaml up --buildI really appreciate your patience throughout this process. I apologize for the back-and-forth, it wasn’t my intention to cause any extra work. Hopefully, this will be the final review. Thanks again! |
I have made further changes; however, it seems that the issue is dependent on issue #636 . This needs to be resolved to ensure the commands run correctly. Attached below is the error I’m currently encountering. Thank you!
|
| @@ -1,5 +1,5 @@ | |||
|
|
|||
| from . import bot | |||
| from telegram import bot | |||
There was a problem hiding this comment.
it must be:
dashboard_app.[full_path].telegram import bot
|
|
||
|
|
||
| from .constants import ChartsHeaders, CommonValues | ||
| from .main_chart_figure import ( |
There was a problem hiding this comment.
dashboard_app.[full_path].charts
apps/dashboard_app/charts/main.py
Outdated
| get_total_amount_by_field, | ||
| ) | ||
| from .utils import ( | ||
| from charts.utils import ( |
There was a problem hiding this comment.
dashboard_app.[full_path].utils
| from shared.state import State | ||
|
|
||
| from .constants import CommonValues | ||
| from charts.constants import CommonValues |
There was a problem hiding this comment.
dashboard_app.[full_path].constants
| ) | ||
|
|
||
| from .constants import SUPPLY_STATS_TOKEN_SYMBOLS_MAPPING | ||
| from charts.constants import SUPPLY_STATS_TOKEN_SYMBOLS_MAPPING |
There was a problem hiding this comment.
dashboard_app.[full_path].constants
| get_supply_function_call_parameters, | ||
| ) | ||
| from .tools import get_underlying_address | ||
| from helpers.tools import get_underlying_address |
There was a problem hiding this comment.
dashboard_app.[full_path].tools
That fork will be merged today, and you will be able to review this issue |
Okay, it has now been reviewed. Thank you. |
|
Also fix all issues above |
I have done the checks and have no issues running the docker commands, kindly review. |
resolve this : |
Okay, Done. Thank you. |



This PR fixes all import statements across the project:
Closes #638