edx-enterprise-data 6.0.0__py3-none-any.whl → 6.1.1__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.
- {edx_enterprise_data-6.0.0.dist-info → edx_enterprise_data-6.1.1.dist-info}/METADATA +1 -1
- {edx_enterprise_data-6.0.0.dist-info → edx_enterprise_data-6.1.1.dist-info}/RECORD +8 -8
- enterprise_data/__init__.py +1 -1
- enterprise_data/api/v1/views.py +6 -7
- enterprise_data/constants.py +1 -1
- {edx_enterprise_data-6.0.0.dist-info → edx_enterprise_data-6.1.1.dist-info}/LICENSE +0 -0
- {edx_enterprise_data-6.0.0.dist-info → edx_enterprise_data-6.1.1.dist-info}/WHEEL +0 -0
- {edx_enterprise_data-6.0.0.dist-info → edx_enterprise_data-6.1.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
|
-
enterprise_data/__init__.py,sha256=
|
1
|
+
enterprise_data/__init__.py,sha256=phW0IRIaoxoKHqwcM6H1DasQGjKpZVhl2TlB1ZR6-8k,123
|
2
2
|
enterprise_data/apps.py,sha256=aF6hZwDfI2oWj95tUTm_2ikHueQj-jLj-u0GrgzpsQI,414
|
3
3
|
enterprise_data/clients.py,sha256=GvQupy5TVYfO_IKC3yzXSAgNP54r-PtIjidM5ws9Iks,3947
|
4
|
-
enterprise_data/constants.py,sha256=
|
4
|
+
enterprise_data/constants.py,sha256=uCKjfpdlMYFZJsAj3n9RMw4Cmg5_6s3NuwocO-fch3s,238
|
5
5
|
enterprise_data/filters.py,sha256=D2EiK12MMpBoz6eOUmTpoJEhj_sH7bA93NRRAdvkDVo,6163
|
6
6
|
enterprise_data/models.py,sha256=5QV4efMK1zlRIZZ7MWM5G2yWRgs3yUHHWfj5IWrrbdY,18765
|
7
7
|
enterprise_data/paginators.py,sha256=YPrC5TeXFt-ymenT2H8H2nCbDCnAzJQlH9kFPElRxWE,269
|
@@ -18,7 +18,7 @@ enterprise_data/api/v0/views.py,sha256=4RslZ4NZOU-844bnebEQ71ji2utRY7jEijqC45oQQ
|
|
18
18
|
enterprise_data/api/v1/__init__.py,sha256=1aAzAYU5hk-RW6cKUxa1645cbZMxn7GIZ7OMjWc9MKI,46
|
19
19
|
enterprise_data/api/v1/serializers.py,sha256=A-X-XT-ykaMGehrlZquw0TvWB8kwFvY3GEnH6A_tpjA,7484
|
20
20
|
enterprise_data/api/v1/urls.py,sha256=Vev34sBjvDSqGUuQQGTu-1ft-ISYUPO_GTOpx0RTiEA,1106
|
21
|
-
enterprise_data/api/v1/views.py,sha256=
|
21
|
+
enterprise_data/api/v1/views.py,sha256=gEPEkWFmS8n_nN5gk_MBRO9pkc2QwhS3OxPAVKxt08Q,22434
|
22
22
|
enterprise_data/fixtures/enterprise_enrollment.json,sha256=6onPXXR29pMdTdbl_mn81sDi3Re5jkLUZz2TPMB_1IY,5786
|
23
23
|
enterprise_data/fixtures/enterprise_user.json,sha256=6g8GvNY9j_fh1dvAU80bTAMI2F5vXCkb8a4UjsftMvQ,1970
|
24
24
|
enterprise_data/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -133,8 +133,8 @@ enterprise_reporting/tests/test_send_enterprise_reports.py,sha256=WtL-RqGgu2x5PP
|
|
133
133
|
enterprise_reporting/tests/test_utils.py,sha256=7Y5GmeibiC8Q5kIpYuIAkFpeyIDRs2U3ItxsabhR1zM,9493
|
134
134
|
enterprise_reporting/tests/test_vertica_client.py,sha256=-R2yNCGUjRtoXwLMBloVFQkFYrJoo613VCr61gwI3kQ,140
|
135
135
|
enterprise_reporting/tests/utils.py,sha256=xms2LM7DV3wczXEfctOK1ddel1EE0J_YSr17UzbCDy4,1401
|
136
|
-
edx_enterprise_data-6.
|
137
|
-
edx_enterprise_data-6.
|
138
|
-
edx_enterprise_data-6.
|
139
|
-
edx_enterprise_data-6.
|
140
|
-
edx_enterprise_data-6.
|
136
|
+
edx_enterprise_data-6.1.1.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
137
|
+
edx_enterprise_data-6.1.1.dist-info/METADATA,sha256=YLJtCb7NirM9HBf2j3h_RFJvHv8qPp5hK4k1l4VhTDM,1513
|
138
|
+
edx_enterprise_data-6.1.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
139
|
+
edx_enterprise_data-6.1.1.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
|
140
|
+
edx_enterprise_data-6.1.1.dist-info/RECORD,,
|
enterprise_data/__init__.py
CHANGED
enterprise_data/api/v1/views.py
CHANGED
@@ -139,13 +139,12 @@ class EnterpriseLearnerEnrollmentViewSet(EnterpriseViewSetMixin, viewsets.ReadOn
|
|
139
139
|
"""
|
140
140
|
Override the list method to handle streaming CSV download.
|
141
141
|
"""
|
142
|
-
if
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
)
|
142
|
+
if request.accepted_renderer.format == 'csv':
|
143
|
+
return StreamingHttpResponse(
|
144
|
+
EnrollmentsCSVRenderer().render(self._stream_serialized_data()),
|
145
|
+
content_type="text/csv",
|
146
|
+
headers={"Content-Disposition": 'attachment; filename="learner_progress_report.csv"'},
|
147
|
+
)
|
149
148
|
|
150
149
|
return super().list(request, *args, **kwargs)
|
151
150
|
|
enterprise_data/constants.py
CHANGED
@@ -6,4 +6,4 @@ ANALYTICS_API_VERSION_ATTR = 'API_VERSION'
|
|
6
6
|
ANALYTICS_API_VERSION_0 = 'V0'
|
7
7
|
ANALYTICS_API_VERSION_1 = 'V1'
|
8
8
|
|
9
|
-
UUID4_REGEX = '[0-9a-f]{8}
|
9
|
+
UUID4_REGEX = '[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}'
|
File without changes
|
File without changes
|
File without changes
|