commonground-api-common 2.5.1__py3-none-any.whl → 2.5.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: commonground-api-common
3
- Version: 2.5.1
3
+ Version: 2.5.3
4
4
  Summary: Commonground API tooling
5
5
  Home-page: https://github.com/maykinmedia/commonground-api-common
6
6
  Author: Maykin Media, VNG-Realisatie
@@ -1,5 +1,5 @@
1
- commonground_api_common-2.5.1.data/scripts/generate_schema,sha256=OpKgzlFc_uzA3TVW_vHSYXAD_feLaCdTEnkWjIcxVzA,280
2
- vng_api_common/__init__.py,sha256=PfQ9ThOuZlUZhThya-_PpR02LjazRR6LNSivpta03mM,22
1
+ commonground_api_common-2.5.3.data/scripts/generate_schema,sha256=OpKgzlFc_uzA3TVW_vHSYXAD_feLaCdTEnkWjIcxVzA,280
2
+ vng_api_common/__init__.py,sha256=9As6EseYF3Vi8VWUZnZuuTi-kW5fYIv8u6cHK0RidGo,22
3
3
  vng_api_common/admin.py,sha256=iFtUPGf-ha0I-bXgq8QIFrP23Kzk_H3FlgAjt0U-ip0,259
4
4
  vng_api_common/apps.py,sha256=QQiJXRmjX9Q91oh0P9fvVnHe3NSYd1cEcUUBw0HLBCA,3690
5
5
  vng_api_common/checks.py,sha256=tOyfV7MMLGh4anrd_W30LvJCxiyQ4sFs1mGd9mtrEc0,1175
@@ -21,7 +21,7 @@ vng_api_common/middleware.py,sha256=2DRw0hPpvUMqwoH1Ze8S7tDB16lmj4Bnd6vN5ijkGM8,
21
21
  vng_api_common/mocks.py,sha256=0sELLs-uy2ndu29m5P6FN_p1ehNhYv7IoRayYPs379Y,6200
22
22
  vng_api_common/models.py,sha256=3WgpCWQpkCOrMCtqp7EbnP681II43Sg_cch8ZOm4EcU,1707
23
23
  vng_api_common/oas.py,sha256=ATqqNM7zkDMoK3E-cxNh_c65n6YCrP96KxCFYfkEVK0,2523
24
- vng_api_common/pagination.py,sha256=sI6VJ5AHDBhtNRQ8OFrD2heQK-NxaL_6n73ijiqWDLc,255
24
+ vng_api_common/pagination.py,sha256=H-GPyDhM3KnxXk44__JLipvTghXQNqr3Rp6XFrkP32w,528
25
25
  vng_api_common/permissions.py,sha256=ayDxk9Wt8j0yO57FhZ8XaRkPET4lAqd8SSw3m4o3EGs,7562
26
26
  vng_api_common/polymorphism.py,sha256=N-x39pG2unD4N0ZbxFvuhE8ibPaJ0eKeqfvAJW3NnEU,6623
27
27
  vng_api_common/routers.py,sha256=hEnhBulkgMM-7W_lYaykKTgTBj3-avl7DGsR9P7BbTU,1897
@@ -109,19 +109,19 @@ vng_api_common/conf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
109
109
  vng_api_common/conf/api.py,sha256=Lx3Kk7S7mKxeaUr0dm6jbKrEh4WI2gye4i7QxN2x69E,3150
110
110
  vng_api_common/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
111
  vng_api_common/contrib/setup_configuration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
- vng_api_common/contrib/setup_configuration/models.py,sha256=oqw0cOrbromC9CS3nWzfpDgOLg_xXyHoAi7jgw0f7Yk,1195
113
- vng_api_common/contrib/setup_configuration/steps.py,sha256=3jYRdHFlPq5zR-T-SPYTDp_Aipy0JK1HaJFrSgH4Vd0,1680
112
+ vng_api_common/contrib/setup_configuration/models.py,sha256=1-G0hXeRe-x6GYtsAaQeMGXq0-cwU5LMb8KTQWj-pQk,1201
113
+ vng_api_common/contrib/setup_configuration/steps.py,sha256=Z1wqsI4brmTvbx1Josr7M_UZcgKoCnYJCPDe2XRlcdw,2035
114
114
  vng_api_common/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
115
  vng_api_common/db/operations.py,sha256=3vj9zD4EntMSmYsNGN1pRDjAcVM68MESDdoAk9wl0U0,3333
116
116
  vng_api_common/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
117
  vng_api_common/extensions/file.py,sha256=tvOiSYbu0CrVKefgO_nOj1af1L0JjShec3VkR-i-IWE,950
118
118
  vng_api_common/extensions/gegevensgroep.py,sha256=mfwXpQ8Zq8Tevv_bt28OZqv8a9u6L3yJEKQqXerKzBI,518
119
119
  vng_api_common/extensions/geojson.py,sha256=mVqry8F7RQm0YIK3m5scazePB7KprffQy02RNA1FOIE,9217
120
- vng_api_common/extensions/hyperlink.py,sha256=jadfiQ2vdJ78q-dXo3YOuDgv54zZWm8Y0nzg21aB_HE,1360
120
+ vng_api_common/extensions/hyperlink.py,sha256=wPjivZP4tU1mZc2wH7sX36SEAGejeog-CONUySPaAEQ,1382
121
121
  vng_api_common/extensions/polymorphic.py,sha256=Hjzn1VAx3E0Eafb7NctkNQuDYJeh6ln0KHgVNRjHG1s,2768
122
122
  vng_api_common/extensions/query.py,sha256=mXxv2aiyP-kHmXUrszHqxEKhAedUugwVJZljQ5nPLcY,585
123
- vng_api_common/locale/nl/LC_MESSAGES/django.mo,sha256=qcZT0NRN7oUzyoPGdV4kVFgovQ6gRhSvVthgFuItqEs,5094
124
- vng_api_common/locale/nl/LC_MESSAGES/django.po,sha256=zU1ksdcdLrCvvlk5wUISUWUhPtJpkdooZ87uv1tlyp8,20421
123
+ vng_api_common/locale/nl/LC_MESSAGES/django.mo,sha256=9Kp07FbCJQdF77i26PpjV8-vuKOmddeubPsoExnhVYw,5509
124
+ vng_api_common/locale/nl/LC_MESSAGES/django.po,sha256=81RUc2JgnHsTlZ9W09QuLXMSqpj5PXRx1MfpKWHbVsk,20777
125
125
  vng_api_common/migrations/0001_initial.py,sha256=frE83rux6uVHK4v-1fsb_1C00TBQQ6koFBA3DoVPHmk,895
126
126
  vng_api_common/migrations/0002_apicredential.py,sha256=AYgkLMizI0g-Ogth8j_FVJHTDDI3bWzQgZzuQeABzaU,1083
127
127
  vng_api_common/migrations/0003_auto_20190417_1145.py,sha256=0ABqDggAdjmZxhSsLrMb2ZBwTcR1BOWo1Tn8StfiG0A,1001
@@ -183,7 +183,7 @@ vng_api_common/tests/auth.py,sha256=IKDWTEFv4Bign4F70-ibsFcnJqRxEJaXvqaPQJWa1xY,
183
183
  vng_api_common/tests/caching.py,sha256=zfIw5cRRvO9cekHZZKfRqZc8cx5IfJUYNmcH6cuIMg4,624
184
184
  vng_api_common/tests/schema.py,sha256=WDvifDQQiKqIpQijpeQ7rYkFroJmuPuHe7zNhl1Bigk,2293
185
185
  vng_api_common/tests/urls.py,sha256=PFrYzQbBC0TFPMEn3uPhcBG0IQs9JsEPqckicJT1UA4,2159
186
- commonground_api_common-2.5.1.dist-info/METADATA,sha256=n8yxgZS9mpXtkpE-VCkFQfl9qKX9kIxbt7-mi8oXLvY,6988
187
- commonground_api_common-2.5.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
188
- commonground_api_common-2.5.1.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
189
- commonground_api_common-2.5.1.dist-info/RECORD,,
186
+ commonground_api_common-2.5.3.dist-info/METADATA,sha256=Sg3d_Z5Z2g5eL2LcvYqPFQ1QrlhFSUTOy1LzzDZLUEc,6988
187
+ commonground_api_common-2.5.3.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
188
+ commonground_api_common-2.5.3.dist-info/top_level.txt,sha256=vPismc83zPzWXTmlNCCwfDlFV9iygJYxNJW5iDjKTgw,15
189
+ commonground_api_common-2.5.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (76.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1 +1 @@
1
- __version__ = "2.5.1"
1
+ __version__ = "2.5.3"
@@ -14,7 +14,7 @@ class SingleJWTSecretConfigurationModel(ConfigurationModel):
14
14
  ]
15
15
  }
16
16
  extra_kwargs = {
17
- "identifier": {"examples": ["application-name"]},
17
+ "identifier": {"examples": ["open-notificaties-prod"]},
18
18
  "secret": {"examples": ["modify-this"]},
19
19
  }
20
20
 
@@ -26,7 +26,12 @@ class JWTSecretsConfigurationStep(BaseConfigurationStep[JWTSecretsConfigurationM
26
26
 
27
27
  class ApplicatieConfigurationStep(BaseConfigurationStep[ApplicatieConfigurationModel]):
28
28
  """
29
- Configure Applicatie used for authorization
29
+ Configure Applicaties used for authorization.
30
+
31
+ .. note:: The values of ``client_ids`` must match the values of the ``identifier`` field(s)
32
+ in the ``vng_api_common_credentials`` namespace. To give proper access to an application,
33
+ you need to load the credentials (``identifier`` and ``secret``)
34
+ **and** the Applicatie (``client_ids``, ``uuid``, ``label`` and permissions)
30
35
  """
31
36
 
32
37
  verbose_name = "Configuration to create applicaties"
@@ -32,6 +32,7 @@ class HyperlinkedIdentityFieldExtension(OpenApiSerializerFieldExtension):
32
32
  "minLength": 1,
33
33
  "maxLength": 1000,
34
34
  "description": _(
35
- "URL-referentie naar dit object. Dit is de unieke identificatie en locatie van dit object."
35
+ "URL reference to this object. "
36
+ "This is the unique identification and location of this object."
36
37
  ),
37
38
  }
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2025-02-10 02:38-0600\n"
11
+ "POT-Creation-Date: 2025-03-18 03:58-0500\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -155,9 +155,9 @@ msgid ""
155
155
  "permissions have to be configured. Only enable this if you fully trust the "
156
156
  "consumer."
157
157
  msgstr ""
158
- "Indien alle autorisaties gegeven zijn, dan hoeven deze "
159
- "niet individueel opgegeven te worden. Gebruik dit alleen "
160
- "als je de consumer helemaal vertrouwt."
158
+ "Indien alle autorisaties gegeven zijn, dan hoeven deze niet individueel "
159
+ "opgegeven te worden. Gebruik dit alleen als je de consumer helemaal "
160
+ "vertrouwt."
161
161
 
162
162
  #: authorizations/models.py:114
163
163
  msgid "applicatie"
@@ -660,9 +660,11 @@ msgstr "Download URL van de binaire inhoud."
660
660
 
661
661
  #: extensions/hyperlink.py:35
662
662
  msgid ""
663
+ "URL reference to this object. This is the unique identification and location "
664
+ "of this object."
665
+ msgstr ""
663
666
  "URL-referentie naar dit object. Dit is de unieke identificatie en locatie "
664
667
  "van dit object."
665
- msgstr ""
666
668
 
667
669
  #: fields.py:22
668
670
  msgid "RSIN"
@@ -712,6 +714,14 @@ msgstr "Autorisatiegegevens"
712
714
  msgid "Notificaties"
713
715
  msgstr ""
714
716
 
717
+ #: pagination.py:7
718
+ msgid "A page number within the paginated result set."
719
+ msgstr "Een pagina binnen de gepagineerde set resultaten."
720
+
721
+ #: pagination.py:8
722
+ msgid "Number of results to return per page."
723
+ msgstr "Het aantal resultaten terug te geven per pagina."
724
+
715
725
  #: permissions.py:146
716
726
  msgid "The object does not exist in the database"
717
727
  msgstr ""
@@ -1,5 +1,13 @@
1
+ from django.utils.translation import gettext_lazy as _
2
+
1
3
  from rest_framework.pagination import PageNumberPagination
2
4
 
5
+ # These strings are defined by rest_framework.pagination, but never translated
6
+ FORCE_TRANSLATION_STRINGS = [
7
+ _("A page number within the paginated result set."),
8
+ _("Number of results to return per page."),
9
+ ]
10
+
3
11
 
4
12
  class DynamicPageSizeMixin:
5
13
  page_size = 100