edx-enterprise-data 9.5.1__py3-none-any.whl → 9.5.2__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-9.5.1.dist-info → edx_enterprise_data-9.5.2.dist-info}/METADATA +1 -1
- {edx_enterprise_data-9.5.1.dist-info → edx_enterprise_data-9.5.2.dist-info}/RECORD +7 -7
- enterprise_data/__init__.py +1 -1
- enterprise_data/api/v1/serializers.py +5 -0
- {edx_enterprise_data-9.5.1.dist-info → edx_enterprise_data-9.5.2.dist-info}/LICENSE +0 -0
- {edx_enterprise_data-9.5.1.dist-info → edx_enterprise_data-9.5.2.dist-info}/WHEEL +0 -0
- {edx_enterprise_data-9.5.1.dist-info → edx_enterprise_data-9.5.2.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
enterprise_data/__init__.py,sha256=
|
1
|
+
enterprise_data/__init__.py,sha256=XVbRCh1_SLwP0t-ET7aDPIx_96e0qavT1x_jfk26SuI,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
4
|
enterprise_data/constants.py,sha256=uCKjfpdlMYFZJsAj3n9RMw4Cmg5_6s3NuwocO-fch3s,238
|
@@ -30,7 +30,7 @@ enterprise_data/api/v0/serializers.py,sha256=dngZTk6DhRxApchQKCMp1B_c8aVnQtH0NCq
|
|
30
30
|
enterprise_data/api/v0/urls.py,sha256=vzJjqIo_S3AXWs9Us8XTaJc3FnxLbYzAkmLyuDQqum0,699
|
31
31
|
enterprise_data/api/v0/views.py,sha256=4RslZ4NZOU-844bnebEQ71ji2utRY7jEijqC45oQQD0,14380
|
32
32
|
enterprise_data/api/v1/__init__.py,sha256=1aAzAYU5hk-RW6cKUxa1645cbZMxn7GIZ7OMjWc9MKI,46
|
33
|
-
enterprise_data/api/v1/serializers.py,sha256=
|
33
|
+
enterprise_data/api/v1/serializers.py,sha256=qkHjQcqMSsJKBo2C5NpQTm1Nmrh0VBisGbosAp-w71E,10593
|
34
34
|
enterprise_data/api/v1/urls.py,sha256=vPBZ7p9hsj-lMowqbp29sd2hKhHtICCMVal6th4eQxg,3995
|
35
35
|
enterprise_data/api/v1/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
36
|
enterprise_data/api/v1/views/analytics_completions.py,sha256=4jg2I50TNn2Q6InLCI9eS1MBiFo4SMRsTx4kZJtNmpI,6268
|
@@ -167,8 +167,8 @@ enterprise_reporting/tests/test_send_enterprise_reports.py,sha256=WtL-RqGgu2x5PP
|
|
167
167
|
enterprise_reporting/tests/test_utils.py,sha256=Zt_TA0LVb-B6fQGkUkAKKVlUKKnQh8jnw1US1jKe7g8,9493
|
168
168
|
enterprise_reporting/tests/test_vertica_client.py,sha256=-R2yNCGUjRtoXwLMBloVFQkFYrJoo613VCr61gwI3kQ,140
|
169
169
|
enterprise_reporting/tests/utils.py,sha256=xms2LM7DV3wczXEfctOK1ddel1EE0J_YSr17UzbCDy4,1401
|
170
|
-
edx_enterprise_data-9.5.
|
171
|
-
edx_enterprise_data-9.5.
|
172
|
-
edx_enterprise_data-9.5.
|
173
|
-
edx_enterprise_data-9.5.
|
174
|
-
edx_enterprise_data-9.5.
|
170
|
+
edx_enterprise_data-9.5.2.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
171
|
+
edx_enterprise_data-9.5.2.dist-info/METADATA,sha256=BZpBwOwl3dqqKaiEUMya3H3VAeuVf6fNpSmyY0x2_Tk,1569
|
172
|
+
edx_enterprise_data-9.5.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
173
|
+
edx_enterprise_data-9.5.2.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
|
174
|
+
edx_enterprise_data-9.5.2.dist-info/RECORD,,
|
enterprise_data/__init__.py
CHANGED
@@ -229,11 +229,16 @@ class EnterpriseExecEdLCModulePerformanceSerializer(serializers.ModelSerializer)
|
|
229
229
|
"""
|
230
230
|
Serializer for EnterpriseExecEdLCModulePerformance model.
|
231
231
|
"""
|
232
|
+
extensions_requested = serializers.SerializerMethodField()
|
232
233
|
|
233
234
|
class Meta:
|
234
235
|
model = EnterpriseExecEdLCModulePerformance
|
235
236
|
fields = '__all__'
|
236
237
|
|
238
|
+
def get_extensions_requested(self, obj):
|
239
|
+
"""Return extensions_requested if not None, otherwise return 0"""
|
240
|
+
return obj.extensions_requested if obj.extensions_requested is not None else 0
|
241
|
+
|
237
242
|
|
238
243
|
class AdvanceAnalyticsQueryParamSerializer(serializers.Serializer): # pylint: disable=abstract-method
|
239
244
|
"""Serializer for validating query params"""
|
File without changes
|
File without changes
|
File without changes
|