prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  The 'Create your first Dashboard' newbie link will not dispear even I create dashboards
  ### Issue Summary
  
  The 'Create your first Dashboard' newbie link will not dispear even I create dashboards. Other newbie link works fine. I tried a completely new Redash instance, this issue still exists. I remember there is a commit related to the newbie link recently, but I cannot find which. This issue does not exists in the previous Docker preview image, so I assume that it should be related to recent commits.
  
  ### Steps to Reproduce
  
  1. Create new dashboards.
  2. The link still there.
  
  <img width="280" alt="image" src="https://github.com/getredash/redash/assets/8188177/19555165-b2df-4b07-89cf-7443858ca704">
  
  ### Technical details:
  
  * Redash Version: 23.10.0-dev (dev)
  * Browser/OS: Chrome 118
  * How did you install Redash: Docker
  
  The 'Create your first Dashboard' newbie link will not dispear even I create dashboards
  ### Issue Summary
  
  The 'Create your first Dashboard' newbie link will not dispear even I create dashboards. Other newbie link works fine. I tried a completely new Redash instance, this issue still exists. I remember there is a commit related to the newbie link recently, but I cannot find which. This issue does not exists in the previous Docker preview image, so I assume that it should be related to recent commits.
  
  ### Steps to Reproduce
  
  1. Create new dashboards.
  2. The link still there.
  
  <img width="280" alt="image" src="https://github.com/getredash/redash/assets/8188177/19555165-b2df-4b07-89cf-7443858ca704">
  
  ### Technical details:
  
  * Redash Version: 23.10.0-dev (dev)
  * Browser/OS: Chrome 118
  * How did you install Redash: Docker
  
  
  </issue>
  <code>
  [start of redash/handlers/organization.py]
  1 from flask_login import current_user, login_required
  2 
  3 from redash import models
  4 from redash.authentication import current_org
  5 from redash.handlers import routes
  6 from redash.handlers.base import json_response, org_scoped_rule
  7 
  8 
  9 @routes.route(org_scoped_rule("/api/organization/status"), methods=["GET"])
  10 @login_required
  11 def organization_status(org_slug=None):
  12     counters = {
  13         "users": models.User.all(current_org).count(),
  14         "alerts": models.Alert.all(group_ids=current_user.group_ids).count(),
  15         "data_sources": models.DataSource.all(current_org, group_ids=current_user.group_ids).count(),
  16         "queries": models.Query.all_queries(current_user.group_ids, current_user.id, include_drafts=True).count(),
  17         "dashboards": models.Dashboard.query.filter(
  18             models.Dashboard.org == current_org, models.Dashboard.is_archived is False
  19         ).count(),
  20     }
  21 
  22     return json_response(dict(object_counters=counters))
  23
  [end of redash/handlers/organization.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/redash/handlers/organization.py b/redash/handlers/organization.py
  --- a/redash/handlers/organization.py
  +++ b/redash/handlers/organization.py
  @@ -15,7 +15,7 @@
           "data_sources": models.DataSource.all(current_org, group_ids=current_user.group_ids).count(),
           "queries": models.Query.all_queries(current_user.group_ids, current_user.id, include_drafts=True).count(),
           "dashboards": models.Dashboard.query.filter(
  -            models.Dashboard.org == current_org, models.Dashboard.is_archived is False
  +            models.Dashboard.org == current_org, models.Dashboard.is_archived.is_(False)
           ).count(),
       }
  
verification_info: {"golden_diff": "diff --git a/redash/handlers/organization.py b/redash/handlers/organization.py\n--- a/redash/handlers/organization.py\n+++ b/redash/handlers/organization.py\n@@ -15,7 +15,7 @@\n         \"data_sources\": models.DataSource.all(current_org, group_ids=current_user.group_ids).count(),\n         \"queries\": models.Query.all_queries(current_user.group_ids, current_user.id, include_drafts=True).count(),\n         \"dashboards\": models.Dashboard.query.filter(\n-            models.Dashboard.org == current_org, models.Dashboard.is_archived is False\n+            models.Dashboard.org == current_org, models.Dashboard.is_archived.is_(False)\n         ).count(),\n     }\n", "issue": "The 'Create your first Dashboard' newbie link will not dispear even I create dashboards\n### Issue Summary\r\n\r\nThe 'Create your first Dashboard' newbie link will not dispear even I create dashboards. Other newbie link works fine. I tried a completely new Redash instance, this issue still exists. I remember there is a commit related to the newbie link recently, but I cannot find which. This issue does not exists in the previous Docker preview image, so I assume that it should be related to recent commits.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Create new dashboards.\r\n2. The link still there.\r\n\r\n<img width=\"280\" alt=\"image\" src=\"https://github.com/getredash/redash/assets/8188177/19555165-b2df-4b07-89cf-7443858ca704\">\r\n\r\n### Technical details:\r\n\r\n* Redash Version: 23.10.0-dev (dev)\r\n* Browser/OS: Chrome 118\r\n* How did you install Redash: Docker\r\n\nThe 'Create your first Dashboard' newbie link will not dispear even I create dashboards\n### Issue Summary\r\n\r\nThe 'Create your first Dashboard' newbie link will not dispear even I create dashboards. Other newbie link works fine. I tried a completely new Redash instance, this issue still exists. I remember there is a commit related to the newbie link recently, but I cannot find which. This issue does not exists in the previous Docker preview image, so I assume that it should be related to recent commits.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Create new dashboards.\r\n2. The link still there.\r\n\r\n<img width=\"280\" alt=\"image\" src=\"https://github.com/getredash/redash/assets/8188177/19555165-b2df-4b07-89cf-7443858ca704\">\r\n\r\n### Technical details:\r\n\r\n* Redash Version: 23.10.0-dev (dev)\r\n* Browser/OS: Chrome 118\r\n* How did you install Redash: Docker\r\n\n", "before_files": [{"content": "from flask_login import current_user, login_required\n\nfrom redash import models\nfrom redash.authentication import current_org\nfrom redash.handlers import routes\nfrom redash.handlers.base import json_response, org_scoped_rule\n\n\n@routes.route(org_scoped_rule(\"/api/organization/status\"), methods=[\"GET\"])\n@login_required\ndef organization_status(org_slug=None):\n    counters = {\n        \"users\": models.User.all(current_org).count(),\n        \"alerts\": models.Alert.all(group_ids=current_user.group_ids).count(),\n        \"data_sources\": models.DataSource.all(current_org, group_ids=current_user.group_ids).count(),\n        \"queries\": models.Query.all_queries(current_user.group_ids, current_user.id, include_drafts=True).count(),\n        \"dashboards\": models.Dashboard.query.filter(\n            models.Dashboard.org == current_org, models.Dashboard.is_archived is False\n        ).count(),\n    }\n\n    return json_response(dict(object_counters=counters))\n", "path": "redash/handlers/organization.py"}]}