edx-enterprise-data 7.0.0__py3-none-any.whl → 8.0.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: 7.0.0
3
+ Version: 8.0.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=nWXJGOIMpRKA2rw4gS921qQoQfhaFBo7vGbY0-zVI04,123
1
+ enterprise_data/__init__.py,sha256=IAJ4_2bZu0JD8iXQoT4zzRiMRCLh1m5dwDvWkFW6KVA,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
@@ -76,10 +76,10 @@ enterprise_data/migrations/0036_enterprisesubsidybudget_subsidy_access_policy_di
76
76
  enterprise_data/migrations/0037_alter_enterpriseenrollment_consent_granted.py,sha256=MF9-RRhCR1efO51UPgSn746V5EnymdwNYrL8dA_P7Q8,471
77
77
  enterprise_data/migrations/0038_enterpriseoffer_export_timestamp.py,sha256=8St3DsKb-VI3LGGC-Mc7OvmFn67kVob0HKCPGKcjvu4,436
78
78
  enterprise_data/migrations/0039_auto_20240212_1403.py,sha256=rMiJcYx26ZGqPdQzgiWkUgbcRhD-tp9BgXdgt67vC2Q,1002
79
- enterprise_data/migrations/0040_auto_20240712_0740.py,sha256=BgY4RoXAIgPqufwCFkOgi38fbTPwcjMPXMTypebAgKY,1492
79
+ enterprise_data/migrations/0040_auto_20240718_0536_squashed_0043_alter_enterpriselearnerenrollment_enterprise_enrollment_id.py,sha256=Kq_ResqoAsJjtyIysHjs4VaDxNh6p4fPMMyh93GIJxA,1693
80
80
  enterprise_data/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
81
  enterprise_data/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
- enterprise_data/settings/test.py,sha256=RR6qIff09dgzx-Csj2U6oM2j4gwUfOXGwyss_WcN6CY,4018
82
+ enterprise_data/settings/test.py,sha256=4-flfrlf81AthGx9wTaT5PscyoOWyhsDDqbzBl-z7Eg,4191
83
83
  enterprise_data/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
84
84
  enterprise_data/tests/factories.py,sha256=EqiB8xDVN9n6ZrFV0d4h6hEiRF57dpbmOjHezU7GHME,1964
85
85
  enterprise_data/tests/mixins.py,sha256=YifptI9mtOhAWnBGyPUy4kX5OJNSDP3DvW2vb1E2tvw,805
@@ -134,8 +134,8 @@ enterprise_reporting/tests/test_send_enterprise_reports.py,sha256=WtL-RqGgu2x5PP
134
134
  enterprise_reporting/tests/test_utils.py,sha256=7Y5GmeibiC8Q5kIpYuIAkFpeyIDRs2U3ItxsabhR1zM,9493
135
135
  enterprise_reporting/tests/test_vertica_client.py,sha256=-R2yNCGUjRtoXwLMBloVFQkFYrJoo613VCr61gwI3kQ,140
136
136
  enterprise_reporting/tests/utils.py,sha256=xms2LM7DV3wczXEfctOK1ddel1EE0J_YSr17UzbCDy4,1401
137
- edx_enterprise_data-7.0.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
138
- edx_enterprise_data-7.0.0.dist-info/METADATA,sha256=gOOPz06b4b_xSeT-KAF2liB-knu90YX9eTgo3enG-mk,1486
139
- edx_enterprise_data-7.0.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
140
- edx_enterprise_data-7.0.0.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
141
- edx_enterprise_data-7.0.0.dist-info/RECORD,,
137
+ edx_enterprise_data-8.0.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
138
+ edx_enterprise_data-8.0.0.dist-info/METADATA,sha256=o5PAAEvr5HfEqPaIUI8FjVeNEaafrnrCXSfw7gh_fKo,1486
139
+ edx_enterprise_data-8.0.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
140
+ edx_enterprise_data-8.0.0.dist-info/top_level.txt,sha256=f5F2kU-dob6MqiHJpgZkFzoCD5VMhsdpkTV5n9Tvq3I,59
141
+ edx_enterprise_data-8.0.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__ = "7.0.0"
5
+ __version__ = "8.0.0"
@@ -1,4 +1,4 @@
1
- # Generated by Django 3.2.23 on 2024-07-12 07:40
1
+ # Generated by Django 3.2.23 on 2024-07-18 07:04
2
2
 
3
3
  from django.db import migrations, models
4
4
 
@@ -29,13 +29,18 @@ class Migration(migrations.Migration):
29
29
  ),
30
30
  migrations.AddField(
31
31
  model_name='enterpriselearnerenrollment',
32
- name='lpr_unique_id',
33
- field=models.PositiveBigIntegerField(default=enterprise_data.utils.get_unique_id, primary_key=True, serialize=False),
32
+ name='subscription_license_uuid',
33
+ field=models.UUIDField(null=True),
34
+ ),
35
+ migrations.AlterField(
36
+ model_name='enterpriselearnerenrollment',
37
+ name='enterprise_enrollment_id',
38
+ field=models.PositiveIntegerField(unique=True),
34
39
  ),
35
40
  migrations.AddField(
36
41
  model_name='enterpriselearnerenrollment',
37
- name='subscription_license_uuid',
38
- field=models.UUIDField(null=True),
42
+ name='lpr_unique_id',
43
+ field=models.PositiveBigIntegerField(default=enterprise_data.utils.get_unique_id, primary_key=True, serialize=False),
39
44
  ),
40
45
  migrations.AlterField(
41
46
  model_name='enterpriselearnerenrollment',
@@ -4,8 +4,7 @@ These settings are here to use during tests, because django requires them.
4
4
  In a real-world use case, apps in this project are installed into other
5
5
  Django applications, so these settings will not be used.
6
6
  """
7
-
8
-
7
+ import os
9
8
  from os.path import abspath, dirname, join
10
9
 
11
10
  from enterprise_data_roles.constants import (
@@ -31,13 +30,13 @@ def root(*args):
31
30
 
32
31
  DATABASES = {
33
32
  "default": {
34
- "ENGINE": "django.db.backends.sqlite3",
35
- "NAME": "default.db",
36
- "USER": "",
37
- "PASSWORD": "",
38
- "HOST": "",
39
- "PORT": "",
40
- }
33
+ "ENGINE": os.environ.get("DB_ENGINE", "django.db.backends.sqlite3"),
34
+ "NAME": os.environ.get("DB_NAME", "default.db"),
35
+ "USER": os.environ.get("DB_USER", ""),
36
+ "PASSWORD": os.environ.get("DB_PASS", ""),
37
+ "HOST": os.environ.get("DB_HOST", ""),
38
+ "PORT": os.environ.get("DB_PORT", ""),
39
+ },
41
40
  }
42
41
 
43
42
  INSTALLED_APPS = (