Skip to content

Commit

Permalink
precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Mar 28, 2024
1 parent cebf0c3 commit 2241878
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/app/connectors/shuffle/routes/integrations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from fastapi import APIRouter
from fastapi import HTTPException
from fastapi import Security
from loguru import logger

Expand All @@ -9,6 +8,7 @@

shuffle_integrations_router = APIRouter()


@shuffle_integrations_router.post(
"/execute",
description="Execute a Shuffle Integration.",
Expand Down
1 change: 1 addition & 0 deletions backend/app/connectors/shuffle/schema/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from pydantic import BaseModel
from pydantic import Field


class IntegrationRequest(BaseModel):
app_name: str = Field(..., description="The name of the application", example="PagerDuty")
category: str = Field(..., description="The category of the application", example="cases")
Expand Down
5 changes: 0 additions & 5 deletions backend/app/connectors/shuffle/services/integrations.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import asyncio
from typing import List

from fastapi import HTTPException
from loguru import logger

from app.connectors.shuffle.schema.integrations import IntegrationRequest
from app.connectors.shuffle.utils.universal import send_get_request
from app.connectors.shuffle.utils.universal import send_post_request


Expand Down
2 changes: 1 addition & 1 deletion backend/app/routers/shuffle.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from fastapi import APIRouter

from app.connectors.shuffle.routes.workflows import shuffle_workflows_router
from app.connectors.shuffle.routes.integrations import shuffle_integrations_router
from app.connectors.shuffle.routes.workflows import shuffle_workflows_router

# Instantiate the APIRouter
router = APIRouter()
Expand Down

0 comments on commit 2241878

Please sign in to comment.