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

[E-64] Update the current state of the web application #104

Open
wants to merge 12 commits into
base: development
Choose a base branch
from

Conversation

MrAmfix
Copy link

@MrAmfix MrAmfix commented Feb 20, 2025

  • Interaction with the database has been moved to async mode
  • Updated schemas
  • Updated_models suggested
  • Added logger
  • Other small fixes

Copy link
Collaborator

@Vl-Tershch Vl-Tershch left a comment

Choose a reason for hiding this comment

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

Помимо предыдущих комментариев еще пара моментов:

  1. Все измененные файлы нужно покрыть докстрингами. То, что было до этой задачи тоже.
  2. Почему возникла необходимость такой чистки в requirements?
  3. Изменения в любом случае будем сливать после обновления CI/CD. Пока не проходят пайплайны мы не можем их пропустить.

@@ -9,6 +9,9 @@ __pycache__/
.vscode
**/__pycache__
**/test*
migration
alembic.ini
test_folder
Copy link
Collaborator

Choose a reason for hiding this comment

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

А для чего нужна эта директория?

Copy link
Author

Choose a reason for hiding this comment

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

test_folder там просто файлы для проверки работы некоторых функций или посылок запросов

Copy link
Collaborator

Choose a reason for hiding this comment

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

По хорошему нужно этот файл добавить в README веб-приложения в раздел инструкции по запуску.

Copy link
Author

Choose a reason for hiding this comment

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

Сейчас пытаюсь в E-90 сделать скрипт, чтобы миграции автоматически сразу проводились, тогда этот файл не понадобится

services:
edulytica_db:
container_name: "EdulyticaDatabase"
image: postgres:14.1-alpine
Copy link
Collaborator

Choose a reason for hiding this comment

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

Может повыше версию PG возьмем, 15-16?

Copy link
Author

Choose a reason for hiding this comment

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

Поставил 16-alpine

Comment on lines 8 to 9
# load_dotenv()
# models.Base.metadata.create_all(bind=engine)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Почему остался закомментированный код?

Copy link
Author

Choose a reason for hiding this comment

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

Убрал

Copy link
Collaborator

Choose a reason for hiding this comment

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

Новые и старые методы нужно покрыть докстрингами.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Почему сейчас осталось без реализации?

@MrAmfix
Copy link
Author

MrAmfix commented Feb 24, 2025

Я в requirements ничего не чистил, я просто добавил свои библиотеки и перезаписал файл, из-за этого некоторые библиотеки поменяли вид, например было "pyjwt", стало "PyJWT==2.10.1".

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