mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-10-07 21:36:49 +02:00
Use pyproject.toml instead of requirements.txt and fix some broken tests.
This commit is contained in:
1 parent
6b6f33bde6
commit
5bf121bbda
23 files changed
+99
-81
No files matched your search
@@ -5,7 +5,7 @@ from typing import Any, Dict, List
|
||||
|
||||
from fastapi import HTTPException
|
||||
|
||||
from common.guardrails import GuardrailRuleSet, Guardrail, GuardrailAction
|
||||
from gateway.common.guardrails import GuardrailRuleSet, Guardrail, GuardrailAction
|
||||
from invariant_sdk.async_client import AsyncClient
|
||||
from invariant_sdk.types.push_traces import PushTracesRequest, PushTracesResponse
|
||||
from invariant_sdk.types.annotations import AnnotationCreate
|
||||
|
||||
@@ -8,9 +8,10 @@ from functools import wraps
|
||||
|
||||
from fastapi import HTTPException
|
||||
import httpx
|
||||
from common.guardrails import Guardrail
|
||||
from common.request_context import RequestContext
|
||||
from common.authorization import (
|
||||
|
||||
from gateway.common.guardrails import Guardrail
|
||||
from gateway.common.request_context import RequestContext
|
||||
from gateway.common.authorization import (
|
||||
INVARIANT_GUARDRAIL_SERVICE_AUTHORIZATION_HEADER,
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user