AIdeaText commited on
Commit
bda6ccd
1 Parent(s): ad3e638

Update modules/__init__.py

Browse files
Files changed (1) hide show
  1. modules/__init__.py +10 -5
modules/__init__.py CHANGED
@@ -12,19 +12,22 @@ def load_auth_functions():
12
  def load_database_functions():
13
 
14
  from .database.database_init import (
15
- initialize_database_connections
 
 
16
  )
17
 
 
18
  from .database.sql_db import (
19
  create_student_user,
20
  get_student_user,
21
  update_student_user,
22
  delete_student_user,
23
  store_application_request,
24
- store_student_feedback,
25
- record_login,
26
- record_logout,
27
- get_recent_sessions,
28
  get_user_total_time
29
  )
30
 
@@ -64,6 +67,8 @@ def load_database_functions():
64
 
65
  return {
66
  'initialize_database_connections': initialize_database_connections,
 
 
67
  'create_student_user': create_student_user,
68
  'get_student_user': get_student_user,
69
  'update_student_user': update_student_user,
 
12
  def load_database_functions():
13
 
14
  from .database.database_init import (
15
+ initialize_database_connections,
16
+ get_container,
17
+ get_mongodb
18
  )
19
 
20
+ # Importar funciones SQL
21
  from .database.sql_db import (
22
  create_student_user,
23
  get_student_user,
24
  update_student_user,
25
  delete_student_user,
26
  store_application_request,
27
+ store_student_feedback,
28
+ record_login,
29
+ record_logout,
30
+ get_recent_sessions,
31
  get_user_total_time
32
  )
33
 
 
67
 
68
  return {
69
  'initialize_database_connections': initialize_database_connections,
70
+ 'get_container': get_container,
71
+ 'get_mongodb': get_mongodb,
72
  'create_student_user': create_student_user,
73
  'get_student_user': get_student_user,
74
  'update_student_user': update_student_user,