edx-enterprise-subsidy-client 0.4.4__py2.py3-none-any.whl → 2.0.0__py2.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.
@@ -2,6 +2,6 @@
2
2
  Client for interacting with the enterprise-subsidy service..
3
3
  """
4
4
 
5
- __version__ = '0.4.4'
5
+ __version__ = '2.0.0'
6
6
 
7
7
  from .client import EnterpriseSubsidyAPIClient, EnterpriseSubsidyAPIClientV2, get_enterprise_subsidy_api_client
@@ -378,7 +378,7 @@ class EnterpriseSubsidyAPIClientV2(EnterpriseSubsidyAPIClient): # pylint: disab
378
378
  desired_deposit_quantity,
379
379
  sales_contract_reference_id,
380
380
  sales_contract_reference_provider,
381
- metadata,
381
+ metadata=None,
382
382
  idempotency_key=None,
383
383
  ):
384
384
  """
@@ -400,8 +400,9 @@ class EnterpriseSubsidyAPIClientV2(EnterpriseSubsidyAPIClient): # pylint: disab
400
400
  'desired_deposit_quantity': desired_deposit_quantity,
401
401
  'sales_contract_reference_id': sales_contract_reference_id,
402
402
  'sales_contract_reference_provider': sales_contract_reference_provider,
403
- 'metadata': metadata,
404
403
  }
404
+ if metadata is not None:
405
+ request_payload['metadata'] = metadata
405
406
  if idempotency_key is not None:
406
407
  request_payload['idempotency_key'] = idempotency_key
407
408
  response = self.client.post(
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: edx-enterprise-subsidy-client
3
- Version: 0.4.4
3
+ Version: 2.0.0
4
4
  Summary: Client for interacting with the enterprise-subsidy service.
5
5
  Home-page: https://github.com/openedx/edx-enterprise-subsidy-client
6
6
  Author: edX
@@ -12,11 +12,21 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Requires-Python: >=3.8
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Requires-Python: >=3.12
17
17
  License-File: LICENSE
18
18
  License-File: LICENSE.txt
19
19
  Requires-Dist: edx-rest-api-client
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: home-page
25
+ Dynamic: keywords
26
+ Dynamic: license
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
20
30
 
21
31
  edx-enterprise-subsidy-client
22
32
  #############################
@@ -225,6 +235,26 @@ Change Log
225
235
  Unreleased
226
236
  **********
227
237
 
238
+ [2.0.0]
239
+ *******
240
+ * feat: Update package version from 1.0.0 to 2.0.0
241
+ * chore: Update Python Requirements
242
+ * chore: Update upgrade-python-requirements to 3.12
243
+
244
+ [1.0.0]
245
+ *******
246
+ * fix: Remove Python 3.8 Support
247
+ * chore: Update Python Requirements
248
+ * chore: Update pylintrc
249
+
250
+ [0.4.6]
251
+ *******
252
+ * fix: Update the name of reviewers team in github flow
253
+
254
+ [0.4.5]
255
+ *******
256
+ * fix: create_subsidy_deposit - metadata is optional (ENT-9133)
257
+
228
258
  [0.4.4]
229
259
  *******
230
260
  * feat: add support for deposit creation (ENT-9133)
@@ -0,0 +1,8 @@
1
+ edx_enterprise_subsidy_client/__init__.py,sha256=NdlSC-4cwgV6Ps8a5cGpHbiP4yyggCTNZo-Pfb0IYZE,205
2
+ edx_enterprise_subsidy_client/client.py,sha256=ueCdV8Fb3hufsTqbNIjIjvK4Wz3grc9UpKCsk_uO1lw,15048
3
+ edx_enterprise_subsidy_client-2.0.0.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
4
+ edx_enterprise_subsidy_client-2.0.0.dist-info/LICENSE.txt,sha256=QTW2QN7q3XszgUAXm9Dzgtu5LXYKbR1SGnqMa7ufEuY,35139
5
+ edx_enterprise_subsidy_client-2.0.0.dist-info/METADATA,sha256=k9nO3jMeZzR6QXLjGAtrcsJCXxDHdJkon_js2beFejc,10275
6
+ edx_enterprise_subsidy_client-2.0.0.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
7
+ edx_enterprise_subsidy_client-2.0.0.dist-info/top_level.txt,sha256=X3PxOH44rjQXFaA8EX-ZpUEL4SjfMM_yUkS-KbvNIZk,30
8
+ edx_enterprise_subsidy_client-2.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,8 +0,0 @@
1
- edx_enterprise_subsidy_client/__init__.py,sha256=Zdci1Zm-K660uWJ1Y_Vs13g1SARbGrIhH5KBHBQwbWM,205
2
- edx_enterprise_subsidy_client/client.py,sha256=z2LwIaS3Wf2j16eTjfFKJDR4DKZNegO9mlESLgb_pJQ,14993
3
- edx_enterprise_subsidy_client-0.4.4.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
4
- edx_enterprise_subsidy_client-0.4.4.dist-info/LICENSE.txt,sha256=QTW2QN7q3XszgUAXm9Dzgtu5LXYKbR1SGnqMa7ufEuY,35139
5
- edx_enterprise_subsidy_client-0.4.4.dist-info/METADATA,sha256=6hG5lkL-BlcmYA7qb_n3UbXGV4wqsiOr-nEZkaHCy1c,9654
6
- edx_enterprise_subsidy_client-0.4.4.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
7
- edx_enterprise_subsidy_client-0.4.4.dist-info/top_level.txt,sha256=X3PxOH44rjQXFaA8EX-ZpUEL4SjfMM_yUkS-KbvNIZk,30
8
- edx_enterprise_subsidy_client-0.4.4.dist-info/RECORD,,