prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Typo in DataSourceBulkEditForm
  ### Deployment Type
  
  Self-hosted
  
  ### NetBox Version
  
  v3.7.1
  
  ### Python Version
  
  3.8
  
  ### Steps to Reproduce
  
  "lavel" is defined as "Enforce unique space", but I think the correct definition is "Enabled".
  
  https://github.com/netbox-community/netbox/blob/487f1ccfde26ef3c1f8a28089826acc0cd6fadb2/netbox/core/forms/bulk_edit.py#L21-L25
  
  - Add a new data source
  ![demo netbox dev_core_data-sources_add_](https://github.com/netbox-community/netbox/assets/20819471/226bd748-eab2-4d42-9b13-3d6ae925b675)
  
  - Editing 1 Data Sources
  ![demo netbox dev_core_data-sources_edit_](https://github.com/netbox-community/netbox/assets/20819471/42778f93-814b-460b-8dee-00ebf194e0ac)
  
  
  ### Expected Behavior
  
  Enabled
  
  ### Observed Behavior
  
  Enforce unique space
  
  </issue>
  <code>
  [start of netbox/core/forms/bulk_edit.py]
  1 from django import forms
  2 from django.utils.translation import gettext_lazy as _
  3 
  4 from core.models import *
  5 from netbox.forms import NetBoxModelBulkEditForm
  6 from netbox.utils import get_data_backend_choices
  7 from utilities.forms.fields import CommentField
  8 from utilities.forms.widgets import BulkEditNullBooleanSelect
  9 
  10 __all__ = (
  11     'DataSourceBulkEditForm',
  12 )
  13 
  14 
  15 class DataSourceBulkEditForm(NetBoxModelBulkEditForm):
  16     type = forms.ChoiceField(
  17         label=_('Type'),
  18         choices=get_data_backend_choices,
  19         required=False
  20     )
  21     enabled = forms.NullBooleanField(
  22         required=False,
  23         widget=BulkEditNullBooleanSelect(),
  24         label=_('Enforce unique space')
  25     )
  26     description = forms.CharField(
  27         label=_('Description'),
  28         max_length=200,
  29         required=False
  30     )
  31     comments = CommentField()
  32     parameters = forms.JSONField(
  33         label=_('Parameters'),
  34         required=False
  35     )
  36     ignore_rules = forms.CharField(
  37         label=_('Ignore rules'),
  38         required=False,
  39         widget=forms.Textarea()
  40     )
  41 
  42     model = DataSource
  43     fieldsets = (
  44         (None, ('type', 'enabled', 'description', 'comments', 'parameters', 'ignore_rules')),
  45     )
  46     nullable_fields = (
  47         'description', 'description', 'parameters', 'comments', 'parameters', 'ignore_rules',
  48     )
  49
  [end of netbox/core/forms/bulk_edit.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/netbox/core/forms/bulk_edit.py b/netbox/core/forms/bulk_edit.py
  --- a/netbox/core/forms/bulk_edit.py
  +++ b/netbox/core/forms/bulk_edit.py
  @@ -21,7 +21,7 @@
       enabled = forms.NullBooleanField(
           required=False,
           widget=BulkEditNullBooleanSelect(),
  -        label=_('Enforce unique space')
  +        label=_('Enabled')
       )
       description = forms.CharField(
           label=_('Description'),
  
verification_info: {"golden_diff": "diff --git a/netbox/core/forms/bulk_edit.py b/netbox/core/forms/bulk_edit.py\n--- a/netbox/core/forms/bulk_edit.py\n+++ b/netbox/core/forms/bulk_edit.py\n@@ -21,7 +21,7 @@\n     enabled = forms.NullBooleanField(\n         required=False,\n         widget=BulkEditNullBooleanSelect(),\n-        label=_('Enforce unique space')\n+        label=_('Enabled')\n     )\n     description = forms.CharField(\n         label=_('Description'),\n", "issue": "Typo in DataSourceBulkEditForm\n### Deployment Type\n\nSelf-hosted\n\n### NetBox Version\n\nv3.7.1\n\n### Python Version\n\n3.8\n\n### Steps to Reproduce\n\n\"lavel\" is defined as \"Enforce unique space\", but I think the correct definition is \"Enabled\".\r\n\r\nhttps://github.com/netbox-community/netbox/blob/487f1ccfde26ef3c1f8a28089826acc0cd6fadb2/netbox/core/forms/bulk_edit.py#L21-L25\r\n\r\n- Add a new data source\r\n![demo netbox dev_core_data-sources_add_](https://github.com/netbox-community/netbox/assets/20819471/226bd748-eab2-4d42-9b13-3d6ae925b675)\r\n\r\n- Editing 1 Data Sources\r\n![demo netbox dev_core_data-sources_edit_](https://github.com/netbox-community/netbox/assets/20819471/42778f93-814b-460b-8dee-00ebf194e0ac)\r\n\n\n### Expected Behavior\n\nEnabled\n\n### Observed Behavior\n\nEnforce unique space\n", "before_files": [{"content": "from django import forms\nfrom django.utils.translation import gettext_lazy as _\n\nfrom core.models import *\nfrom netbox.forms import NetBoxModelBulkEditForm\nfrom netbox.utils import get_data_backend_choices\nfrom utilities.forms.fields import CommentField\nfrom utilities.forms.widgets import BulkEditNullBooleanSelect\n\n__all__ = (\n    'DataSourceBulkEditForm',\n)\n\n\nclass DataSourceBulkEditForm(NetBoxModelBulkEditForm):\n    type = forms.ChoiceField(\n        label=_('Type'),\n        choices=get_data_backend_choices,\n        required=False\n    )\n    enabled = forms.NullBooleanField(\n        required=False,\n        widget=BulkEditNullBooleanSelect(),\n        label=_('Enforce unique space')\n    )\n    description = forms.CharField(\n        label=_('Description'),\n        max_length=200,\n        required=False\n    )\n    comments = CommentField()\n    parameters = forms.JSONField(\n        label=_('Parameters'),\n        required=False\n    )\n    ignore_rules = forms.CharField(\n        label=_('Ignore rules'),\n        required=False,\n        widget=forms.Textarea()\n    )\n\n    model = DataSource\n    fieldsets = (\n        (None, ('type', 'enabled', 'description', 'comments', 'parameters', 'ignore_rules')),\n    )\n    nullable_fields = (\n        'description', 'description', 'parameters', 'comments', 'parameters', 'ignore_rules',\n    )\n", "path": "netbox/core/forms/bulk_edit.py"}]}