commonground-api-common 2.4.1__py3-none-any.whl → 2.5.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.
@@ -91,7 +91,7 @@ class ValidatieFoutSerializer(FoutSerializer):
91
91
 
92
92
 
93
93
  def add_choice_values_help_text(
94
- choices: Union[models.Choices, List[Tuple[str, str]]]
94
+ choices: Union[models.Choices, List[Tuple[str, str]]],
95
95
  ) -> str:
96
96
  is_dj_choices = inspect.isclass(choices) and issubclass(choices, models.Choices)
97
97
 
vng_api_common/views.py CHANGED
@@ -184,12 +184,12 @@ def _test_nrc_config(check_autorisaties_subscription=True) -> list:
184
184
  nrc_client: Optional[Client] = NotificationsConfig.get_client()
185
185
 
186
186
  if not nrc_client:
187
- return [((_("NRC"), _("Missing"), False))]
187
+ return [(_("NRC"), _("Missing"), False)]
188
188
 
189
189
  has_nrc_auth = nrc_client.auth is not None if nrc_client else False
190
190
 
191
191
  if not nrc_config.notifications_api_service:
192
- checks = [((_("NRC"), _("Missing"), False))]
192
+ checks = [(_("NRC"), _("Missing"), False)]
193
193
  return checks
194
194
 
195
195
  checks = [