Technical Documentation¶
Core¶
- app.engine package
- app.repository package
- Submodules
- app.repository.base_repository module
- app.repository.game_params_repository module
- app.repository.game_repository module
- app.repository.task_params_repository module
- app.repository.task_repository module
- app.repository.user_points_repository module
UserPointsRepository
UserPointsRepository.session_factory
UserPointsRepository.model
UserPointsRepository.task_repository
UserPointsRepository.user_repository
UserPointsRepository.count_measurements_by_external_task_id()
UserPointsRepository.count_personal_records_by_external_game_id()
UserPointsRepository.get_all_UserPoints_by_gameId()
UserPointsRepository.get_all_UserPoints_by_taskId()
UserPointsRepository.get_all_UserPoints_by_taskId_with_details()
UserPointsRepository.get_avg_time_between_tasks_by_user_and_game_task()
UserPointsRepository.get_avg_time_between_tasks_for_all_users()
UserPointsRepository.get_first_user_points_in_external_task_id_by_user_id()
UserPointsRepository.get_global_avg_by_external_game_id()
UserPointsRepository.get_global_calculation()
UserPointsRepository.get_individual_calculation()
UserPointsRepository.get_last_window_time_diff()
UserPointsRepository.get_new_last_window_time_diff()
UserPointsRepository.get_personal_avg_by_external_game_id()
UserPointsRepository.get_points_and_users_by_taskId()
UserPointsRepository.get_start_time_for_last_task()
UserPointsRepository.get_task_and_sum_points_by_userId()
UserPointsRepository.get_task_by_externalUserId()
UserPointsRepository.get_time_taken_for_last_task()
UserPointsRepository.get_user_measurement_count()
UserPointsRepository.get_user_task_measurements()
UserPointsRepository.get_user_task_measurements_count()
UserPointsRepository.get_user_task_measurements_count_the_last_seconds()
UserPointsRepository.user_has_record_before_in_externalTaskId_last_min()
- app.repository.user_repository module
- app.repository.wallet_repository module
- app.repository.wallet_transaction_repository module
- Module contents
ApiKeyRepository
ApiRequestsRepository
BaseRepository
DashboardRepository
GameParamsRepository
GameRepository
KpiMetricsRepository
LogsRepository
OAuthUsersRepository
TaskParamsRepository
TaskRepository
UptimeLogsRepository
UserActionsRepository
UserInteractionsRepository
UserPointsRepository
UserPointsRepository.session_factory
UserPointsRepository.model
UserPointsRepository.task_repository
UserPointsRepository.user_repository
UserPointsRepository.count_measurements_by_external_task_id()
UserPointsRepository.count_personal_records_by_external_game_id()
UserPointsRepository.get_all_UserPoints_by_gameId()
UserPointsRepository.get_all_UserPoints_by_taskId()
UserPointsRepository.get_all_UserPoints_by_taskId_with_details()
UserPointsRepository.get_avg_time_between_tasks_by_user_and_game_task()
UserPointsRepository.get_avg_time_between_tasks_for_all_users()
UserPointsRepository.get_first_user_points_in_external_task_id_by_user_id()
UserPointsRepository.get_global_avg_by_external_game_id()
UserPointsRepository.get_global_calculation()
UserPointsRepository.get_individual_calculation()
UserPointsRepository.get_last_window_time_diff()
UserPointsRepository.get_new_last_window_time_diff()
UserPointsRepository.get_personal_avg_by_external_game_id()
UserPointsRepository.get_points_and_users_by_taskId()
UserPointsRepository.get_start_time_for_last_task()
UserPointsRepository.get_task_and_sum_points_by_userId()
UserPointsRepository.get_task_by_externalUserId()
UserPointsRepository.get_time_taken_for_last_task()
UserPointsRepository.get_user_measurement_count()
UserPointsRepository.get_user_task_measurements()
UserPointsRepository.get_user_task_measurements_count()
UserPointsRepository.get_user_task_measurements_count_the_last_seconds()
UserPointsRepository.user_has_record_before_in_externalTaskId_last_min()
UserRepository
WalletRepository
WalletTransactionRepository
- app.services package
- Submodules
- app.services.base_service module
- app.services.game_params_service module
- app.services.game_service module
GameService
GameService.game_repository
GameService.game_params_repository
GameService.task_repository
GameService.strategy_service
GameService.create()
GameService.delete_game_by_id()
GameService.get_all_games()
GameService.get_by_externalId()
GameService.get_by_gameId()
GameService.get_strategy_by_externalGameId()
GameService.get_strategy_by_gameId()
GameService.get_tasks_by_gameId()
GameService.patch_game_by_externalGameId()
GameService.patch_game_by_id()
- app.services.strategy_service module
- app.services.task_service module
TaskService
TaskService.strategy_service
TaskService.task_repository
TaskService.game_repository
TaskService.user_repository
TaskService.user_points_repository
TaskService.game_params_repository
TaskService.task_params_repository
TaskService.create_task_by_externalGameId()
TaskService.create_task_by_game_id()
TaskService.get_points_by_task_id()
TaskService.get_points_by_task_id_with_details()
TaskService.get_points_of_user_by_task_id()
TaskService.get_task_by_externalGameId_externalTaskId()
TaskService.get_task_by_gameId_externalTaskId()
TaskService.get_task_detail_by_id()
TaskService.get_task_params_by_externalTaskId()
TaskService.get_tasks_list_by_externalGameId()
TaskService.get_tasks_list_by_gameId()
- app.services.user_points_service module
UserPointsService
UserPointsService.assign_points_to_user()
UserPointsService.count_measurements_by_external_task_id()
UserPointsService.count_personal_records_by_external_game_id()
UserPointsService.get_all_points_by_externalUserId()
UserPointsService.get_avg_time_between_tasks_by_user_and_game_task()
UserPointsService.get_avg_time_between_tasks_for_all_users()
UserPointsService.get_global_avg_by_external_game_id()
UserPointsService.get_last_window_time_diff()
UserPointsService.get_new_last_window_time_diff()
UserPointsService.get_personal_avg_by_external_game_id()
UserPointsService.get_points_by_externalUserId()
UserPointsService.get_points_by_gameId()
UserPointsService.get_points_by_gameId_with_details()
UserPointsService.get_points_by_user_list()
UserPointsService.get_points_of_user()
UserPointsService.get_points_of_user_in_game()
UserPointsService.get_user_task_measurements()
UserPointsService.get_user_task_measurements_count()
UserPointsService.get_user_task_measurements_count_the_last_seconds()
UserPointsService.get_users_by_gameId()
UserPointsService.get_users_points_by_externalGameId()
UserPointsService.get_users_points_by_externalTaskId()
UserPointsService.get_users_points_by_externalTaskId_and_externalUserId()
UserPointsService.query_user_points()
UserPointsService.user_has_record_before_in_externalTaskId_last_min()
- app.services.user_service module
UserService
UserService.user_repository
UserService.user_points_repository
UserService.task_repository
UserService.wallet_repository
UserService.wallet_transaction_repository
UserService.assign_points_to_user()
UserService.basic_engagement_points()
UserService.convert_points_to_coins()
UserService.convert_points_to_coins_externalUserId()
UserService.create_user()
UserService.get_points_by_user_id()
UserService.get_wallet_by_externalUserId()
UserService.get_wallet_by_user_id()
UserService.global_advantage_adjustment_points()
UserService.individual_adjustment_points()
UserService.individual_over_global_points()
UserService.need_for_motivation_points()
UserService.peak_performer_bonus_points()
UserService.performance_bonus_points()
UserService.performance_penalty_points()
UserService.preview_points_to_coins_conversion()
UserService.preview_points_to_coins_conversion_externalUserId()
- app.services.wallet_service module
- app.services.wallet_transaction_service module
- Module contents
Submodules¶
app.gunicorn_conf module¶
app.main module¶
- app.main.custom_openapi()[source]¶
Customizes the OpenAPI schema for the FastAPI application.
- Returns:
The customized OpenAPI schema.
- Return type: