prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  [CT-3213] [Bug] nitpick: incorrect docstring
  should be `BaseAdapter.capabilities()` not `BaseAdapter.has_feature()`
  
  https://github.com/dbt-labs/dbt-core/blob/1baebb423c82a9c645e59b390fc3a69089623600/core/dbt/adapters/capability.py#L7
  
  </issue>
  <code>
  [start of core/dbt/adapters/capability.py]
  1 from dataclasses import dataclass
  2 from enum import Enum
  3 from typing import Optional, DefaultDict, Mapping
  4 
  5 
  6 class Capability(str, Enum):
  7     """Enumeration of optional adapter features which can be probed using BaseAdapter.has_feature()"""
  8 
  9     SchemaMetadataByRelations = "SchemaMetadataByRelations"
  10     """Indicates efficient support for retrieving schema metadata for a list of relations, rather than always retrieving
  11     all the relations in a schema."""
  12 
  13     TableLastModifiedMetadata = "TableLastModifiedMetadata"
  14     """Indicates support for determining the time of the last table modification by querying database metadata."""
  15 
  16 
  17 class Support(str, Enum):
  18     Unknown = "Unknown"
  19     """The adapter has not declared whether this capability is a feature of the underlying DBMS."""
  20 
  21     Unsupported = "Unsupported"
  22     """This capability is not possible with the underlying DBMS, so the adapter does not implement related macros."""
  23 
  24     NotImplemented = "NotImplemented"
  25     """This capability is available in the underlying DBMS, but support has not yet been implemented in the adapter."""
  26 
  27     Versioned = "Versioned"
  28     """Some versions of the DBMS supported by the adapter support this capability and the adapter has implemented any
  29     macros needed to use it."""
  30 
  31     Full = "Full"
  32     """All versions of the DBMS supported by the adapter support this capability and the adapter has implemented any
  33     macros needed to use it."""
  34 
  35 
  36 @dataclass
  37 class CapabilitySupport:
  38     support: Support
  39     first_version: Optional[str] = None
  40 
  41     def __bool__(self):
  42         return self.support == Support.Versioned or self.support == Support.Full
  43 
  44 
  45 class CapabilityDict(DefaultDict[Capability, CapabilitySupport]):
  46     def __init__(self, vals: Mapping[Capability, CapabilitySupport]):
  47         super().__init__(self._default)
  48         self.update(vals)
  49 
  50     @staticmethod
  51     def _default():
  52         return CapabilitySupport(support=Support.Unknown)
  53
  [end of core/dbt/adapters/capability.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/core/dbt/adapters/capability.py b/core/dbt/adapters/capability.py
  --- a/core/dbt/adapters/capability.py
  +++ b/core/dbt/adapters/capability.py
  @@ -4,7 +4,7 @@
   
   
   class Capability(str, Enum):
  -    """Enumeration of optional adapter features which can be probed using BaseAdapter.has_feature()"""
  +    """Enumeration of optional adapter features which can be probed using BaseAdapter.capabilities()"""
   
       SchemaMetadataByRelations = "SchemaMetadataByRelations"
       """Indicates efficient support for retrieving schema metadata for a list of relations, rather than always retrieving
  
verification_info: {"golden_diff": "diff --git a/core/dbt/adapters/capability.py b/core/dbt/adapters/capability.py\n--- a/core/dbt/adapters/capability.py\n+++ b/core/dbt/adapters/capability.py\n@@ -4,7 +4,7 @@\n \n \n class Capability(str, Enum):\n-    \"\"\"Enumeration of optional adapter features which can be probed using BaseAdapter.has_feature()\"\"\"\n+    \"\"\"Enumeration of optional adapter features which can be probed using BaseAdapter.capabilities()\"\"\"\n \n     SchemaMetadataByRelations = \"SchemaMetadataByRelations\"\n     \"\"\"Indicates efficient support for retrieving schema metadata for a list of relations, rather than always retrieving\n", "issue": "[CT-3213] [Bug] nitpick: incorrect docstring\nshould be `BaseAdapter.capabilities()` not `BaseAdapter.has_feature()`\r\n\r\nhttps://github.com/dbt-labs/dbt-core/blob/1baebb423c82a9c645e59b390fc3a69089623600/core/dbt/adapters/capability.py#L7\n", "before_files": [{"content": "from dataclasses import dataclass\nfrom enum import Enum\nfrom typing import Optional, DefaultDict, Mapping\n\n\nclass Capability(str, Enum):\n    \"\"\"Enumeration of optional adapter features which can be probed using BaseAdapter.has_feature()\"\"\"\n\n    SchemaMetadataByRelations = \"SchemaMetadataByRelations\"\n    \"\"\"Indicates efficient support for retrieving schema metadata for a list of relations, rather than always retrieving\n    all the relations in a schema.\"\"\"\n\n    TableLastModifiedMetadata = \"TableLastModifiedMetadata\"\n    \"\"\"Indicates support for determining the time of the last table modification by querying database metadata.\"\"\"\n\n\nclass Support(str, Enum):\n    Unknown = \"Unknown\"\n    \"\"\"The adapter has not declared whether this capability is a feature of the underlying DBMS.\"\"\"\n\n    Unsupported = \"Unsupported\"\n    \"\"\"This capability is not possible with the underlying DBMS, so the adapter does not implement related macros.\"\"\"\n\n    NotImplemented = \"NotImplemented\"\n    \"\"\"This capability is available in the underlying DBMS, but support has not yet been implemented in the adapter.\"\"\"\n\n    Versioned = \"Versioned\"\n    \"\"\"Some versions of the DBMS supported by the adapter support this capability and the adapter has implemented any\n    macros needed to use it.\"\"\"\n\n    Full = \"Full\"\n    \"\"\"All versions of the DBMS supported by the adapter support this capability and the adapter has implemented any\n    macros needed to use it.\"\"\"\n\n\n@dataclass\nclass CapabilitySupport:\n    support: Support\n    first_version: Optional[str] = None\n\n    def __bool__(self):\n        return self.support == Support.Versioned or self.support == Support.Full\n\n\nclass CapabilityDict(DefaultDict[Capability, CapabilitySupport]):\n    def __init__(self, vals: Mapping[Capability, CapabilitySupport]):\n        super().__init__(self._default)\n        self.update(vals)\n\n    @staticmethod\n    def _default():\n        return CapabilitySupport(support=Support.Unknown)\n", "path": "core/dbt/adapters/capability.py"}]}