edx-enterprise-data 10.3.0__py3-none-any.whl → 10.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: edx-enterprise-data
3
- Version: 10.3.0
3
+ Version: 10.4.0
4
4
  Summary: Enterprise Reporting
5
5
  Home-page: https://github.com/openedx/edx-enterprise-data
6
6
  Author: edX
@@ -1,4 +1,4 @@
1
- enterprise_data/__init__.py,sha256=6rH0qHB00YhC1K50WQ5dAUe_C5igFqH4ZSxJxVLLZZA,124
1
+ enterprise_data/__init__.py,sha256=2alJxD1-IEiR7SEn5WlspQQvkiy8AzE70K4T_Om-Xv4,124
2
2
  enterprise_data/apps.py,sha256=aF6hZwDfI2oWj95tUTm_2ikHueQj-jLj-u0GrgzpsQI,414
3
3
  enterprise_data/clients.py,sha256=GvQupy5TVYfO_IKC3yzXSAgNP54r-PtIjidM5ws9Iks,3947
4
4
  enterprise_data/constants.py,sha256=uCKjfpdlMYFZJsAj3n9RMw4Cmg5_6s3NuwocO-fch3s,238
@@ -20,7 +20,7 @@ enterprise_data/admin_analytics/database/queries/fact_enrollment_admin_dash.py,s
20
20
  enterprise_data/admin_analytics/database/queries/skills_daily_rollup_admin_dash.py,sha256=PgWwvtVCK5lbiq6z44lH0fwbkdWYukhyXZL9X8lNWCY,4099
21
21
  enterprise_data/admin_analytics/database/tables/__init__.py,sha256=Z-c3P9hqR-dC9uYKe63qHkQG9Nms8cLE2jRN-4jeMM0,289
22
22
  enterprise_data/admin_analytics/database/tables/base.py,sha256=1KyKsC18pW3m-5U-T6pdt5rIwsz6Wp3QFFbD3r6L6YQ,395
23
- enterprise_data/admin_analytics/database/tables/fact_engagement_admin_dash.py,sha256=675LqIERXTbQ3m2deoj10Xsm88nnEzepIRvJMYKHbl8,12840
23
+ enterprise_data/admin_analytics/database/tables/fact_engagement_admin_dash.py,sha256=VMUGwfrUsYd_NnxEDNBovAmHwhdTCSImGA6JjHzknhk,12959
24
24
  enterprise_data/admin_analytics/database/tables/fact_enrollment_admin_dash.py,sha256=cRRBFRc2p54BkW_h7GuUud-gWzJrqKep9dYgxOf7tIY,11741
25
25
  enterprise_data/admin_analytics/database/tables/skills_daily_rollup_admin_dash.py,sha256=3xNwSi0wfCyBHcXPd6-9Ujs1NUm8kmZRg_gPrZzp9nQ,3233
26
26
  enterprise_data/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -171,8 +171,8 @@ enterprise_reporting/tests/test_send_enterprise_reports.py,sha256=WtL-RqGgu2x5PP
171
171
  enterprise_reporting/tests/test_utils.py,sha256=Zt_TA0LVb-B6fQGkUkAKKVlUKKnQh8jnw1US1jKe7g8,9493
172
172
  enterprise_reporting/tests/test_vertica_client.py,sha256=-R2yNCGUjRtoXwLMBloVFQkFYrJoo613VCr61gwI3kQ,140
173
173
  enterprise_reporting/tests/utils.py,sha256=xms2LM7DV3wczXEfctOK1ddel1EE0J_YSr17UzbCDy4,1401
174
- edx_enterprise_data-10.3.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
175
- edx_enterprise_data-10.3.0.dist-info/METADATA,sha256=sFZPREf5_rt-G89-sU1DVA39Pm9X7lghhR0GqDnV8fk,1505
176
- edx_enterprise_data-10.3.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
177
- edx_enterprise_data-10.3.0.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
178
- edx_enterprise_data-10.3.0.dist-info/RECORD,,
174
+ edx_enterprise_data-10.4.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
175
+ edx_enterprise_data-10.4.0.dist-info/METADATA,sha256=R-b6tGIrGgJ9yL_IMv0ErYgaBzoOvtpvWJE5dygj0pM,1505
176
+ edx_enterprise_data-10.4.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
177
+ edx_enterprise_data-10.4.0.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
178
+ edx_enterprise_data-10.4.0.dist-info/RECORD,,
@@ -2,4 +2,4 @@
2
2
  Enterprise data api application. This Django app exposes API endpoints used by enterprises.
3
3
  """
4
4
 
5
- __version__ = "10.3.0"
5
+ __version__ = "10.4.0"
@@ -11,6 +11,8 @@ from ..queries import FactEngagementAdminDashQueries
11
11
  from ..utils import run_query
12
12
  from .base import BaseTable
13
13
 
14
+ NULL_EMAIL_TEXT = 'learners who have not shared consent'
15
+
14
16
 
15
17
  class FactEngagementAdminDashTable(BaseTable):
16
18
  """
@@ -327,8 +329,9 @@ class FactEngagementAdminDashTable(BaseTable):
327
329
  if include_null_email:
328
330
  engagement_data_dict['None'] = find_first(engagement_data, lambda x: x['email'] is None) or {}
329
331
  completion = find_first(completion_data, lambda x: x['email'] is None) or \
330
- {'course_completion_count': 'Unknown'}
332
+ {'course_completion_count': ''}
331
333
  engagement_data_dict['None']['course_completion_count'] = completion['course_completion_count']
334
+ engagement_data_dict['None']['email'] = NULL_EMAIL_TEXT
332
335
 
333
336
  return list(engagement_data_dict.values())
334
337