Browse Source

Added Starlette and FastAPI to platform picker. (#37100)

Anton Pirker 2 years ago
parent
commit
fcc0e8d10f

+ 12 - 0
fixtures/integration-docs/_platforms.json

@@ -302,6 +302,18 @@
           "id": "python-flask",
           "name": "Flask"
         },
+        {
+          "link": "https://docs.getsentry.com/clients/python/integrations/starlette/",
+          "type": "framework",
+          "id": "python-starlette",
+          "name": "Starlette"
+        },
+        {
+          "link": "https://docs.getsentry.com/clients/python/integrations/fastapi/",
+          "type": "framework",
+          "id": "python-fastapi",
+          "name": "FastAPI"
+        },
         {
           "link": "https://docs.getsentry.com/clients/python/integrations/pylons/",
           "type": "framework",

+ 6 - 0
fixtures/integration-docs/python-fastapi.json

@@ -0,0 +1,6 @@
+{
+    "html": "<div class=\"section\" id=\"installation\"></div>\n",
+    "link": "https://docs.sentry.io/platforms/python/guides/fastapi/",
+    "id": "python-fastapi",
+    "name": "FastAPI"
+}

+ 6 - 0
fixtures/integration-docs/starlette.json

@@ -0,0 +1,6 @@
+{
+    "html": "<div class=\"section\" id=\"installation\"></div>\n",
+    "link": "https://docs.sentry.io/platforms/python/guides/starlette/",
+    "id": "python-starlette",
+    "name": "Starlette"
+}

+ 7 - 0
static/app/data/platformCategories.tsx

@@ -7,6 +7,7 @@ export const popularPlatformCategories = [
   'python-django',
   'python',
   'python-flask',
+  'python-fastapi',
   'ruby-rails',
   'node-express',
   'php-laravel',
@@ -93,6 +94,8 @@ export const backend = [
   'python',
   'python-django',
   'python-flask',
+  'python-fastapi',
+  'python-starlette',
   'python-sanic',
   'python-celery',
   'python-bottle',
@@ -171,6 +174,8 @@ export const performance: PlatformKey[] = [
   'python',
   'python-django',
   'python-flask',
+  'python-fastapi',
+  'python-starlette',
   'python-sanic',
   'python-celery',
   'python-bottle',
@@ -226,6 +231,8 @@ export const releaseHealth: PlatformKey[] = [
   'python',
   'python-django',
   'python-flask',
+  'python-fastapi',
+  'python-starlette',
   'python-sanic',
   'python-celery',
   'python-bottle',