edx-enterprise-data 10.7.1__py3-none-any.whl → 10.7.3__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.2
2
2
  Name: edx-enterprise-data
3
- Version: 10.7.1
3
+ Version: 10.7.3
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=T3-xDyVCoeDZ4bgWeuzzKbgUMb5zRaAjz6DbHxuI_3w,124
1
+ enterprise_data/__init__.py,sha256=c_brh4ZPEiSypC7P30Esg5cAXJw4EwCIt8Frfyw3gx4,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
@@ -38,7 +38,7 @@ enterprise_data/api/v1/views/analytics_engagements.py,sha256=Yo-bpA-0xOQHUPTFF0j
38
38
  enterprise_data/api/v1/views/analytics_enrollments.py,sha256=hw87VZ0hFWpwf3QEHFn9cUgDy2s7SzsXt6Rf9TaNsS0,6282
39
39
  enterprise_data/api/v1/views/analytics_leaderboard.py,sha256=3dyo7_OhyGEEeibemBrRsUOo0jbM4LbDgV5gw3YnVig,4186
40
40
  enterprise_data/api/v1/views/base.py,sha256=Kkmd5zgEBAhvwS_GoGXSK6lgbDNwSPioYn-QbnizI3w,3416
41
- enterprise_data/api/v1/views/enterprise_admin.py,sha256=pb63EG_fpCRvegy7cw9HNeSuzumh3nJVe6KSPcBzsXw,8969
41
+ enterprise_data/api/v1/views/enterprise_admin.py,sha256=xxpb48cjuHkFJH-IQG0DwOvdH8RgyYD-aQjyfMMJNFg,9030
42
42
  enterprise_data/api/v1/views/enterprise_learner.py,sha256=lCB2guZeIDf-CbcdDzT2K5K-OW1Vt5i4R8K9aT1ZzuM,18627
43
43
  enterprise_data/api/v1/views/enterprise_offers.py,sha256=VifxgqTLFLVw4extYPlHcN1N_yjXcsYsAlYEnAbpb10,1266
44
44
  enterprise_data/cache/__init__.py,sha256=fiBUploll1kmDy2vCmnNpeZVTD4ewsgtRF14vVs0Rb4,1850
@@ -173,8 +173,8 @@ enterprise_reporting/tests/test_send_enterprise_reports.py,sha256=WtL-RqGgu2x5PP
173
173
  enterprise_reporting/tests/test_utils.py,sha256=Zt_TA0LVb-B6fQGkUkAKKVlUKKnQh8jnw1US1jKe7g8,9493
174
174
  enterprise_reporting/tests/test_vertica_client.py,sha256=-R2yNCGUjRtoXwLMBloVFQkFYrJoo613VCr61gwI3kQ,140
175
175
  enterprise_reporting/tests/utils.py,sha256=xms2LM7DV3wczXEfctOK1ddel1EE0J_YSr17UzbCDy4,1401
176
- edx_enterprise_data-10.7.1.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
177
- edx_enterprise_data-10.7.1.dist-info/METADATA,sha256=5mDdjLLwwUOnOqLCyftUw3o9Eqwx91kwN4U5zBrRwIE,1684
178
- edx_enterprise_data-10.7.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
179
- edx_enterprise_data-10.7.1.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
180
- edx_enterprise_data-10.7.1.dist-info/RECORD,,
176
+ edx_enterprise_data-10.7.3.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
177
+ edx_enterprise_data-10.7.3.dist-info/METADATA,sha256=osut71q3KI25PkkTyN9agMYuc-LNEFRCnMlQ-4BSe-k,1684
178
+ edx_enterprise_data-10.7.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
179
+ edx_enterprise_data-10.7.3.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
180
+ edx_enterprise_data-10.7.3.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.7.1"
5
+ __version__ = "10.7.3"
@@ -126,7 +126,7 @@ class EnterpriseAdminAnalyticsAggregatesView(APIView):
126
126
  'completions': completions,
127
127
  'hours': hours,
128
128
  'sessions': sessions,
129
- 'last_updated_at': last_updated_at.date() if last_updated_at else None,
129
+ 'last_updated_at': last_updated_at if last_updated_at else None,
130
130
  'min_enrollment_date': min_enrollment_date,
131
131
  'max_enrollment_date': max_enrollment_date,
132
132
  },
@@ -248,7 +248,7 @@ class EnterpriseGroupMembershipView(APIView):
248
248
  groups = EnterpriseGroupMembership.objects.filter(
249
249
  enterprise_customer_id=enterprise_uuid,
250
250
  group_type='flex',
251
- )
251
+ ).values('enterprise_group_uuid', 'enterprise_group_name').distinct()
252
252
 
253
253
  serializer = serializers.EnterpriseGroupMembershipSerializer(groups, many=True)
254
254
  return Response(serializer.data)