Skip to content

Commit b3873a1

Browse files
authored
fix: do not use Any from pyparsing (#725)
1 parent 253dfc4 commit b3873a1

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

diracx-logic/src/diracx/logic/jobs/sandboxes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
import asyncio
44
import logging
5-
from typing import TYPE_CHECKING, Literal
6-
7-
from pyparsing import Any
5+
from typing import TYPE_CHECKING, Any, Literal
86

97
from diracx.core.exceptions import SandboxAlreadyInsertedError, SandboxNotFoundError
108
from diracx.core.models import (

diracx-routers/src/diracx/routers/jobs/sandboxes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
from __future__ import annotations
22

33
from http import HTTPStatus
4-
from typing import Annotated, Literal
4+
from typing import Annotated, Any, Literal
55

66
from fastapi import Body, Depends, HTTPException, Query
7-
from pyparsing import Any
87

98
from diracx.core.exceptions import SandboxAlreadyAssignedError, SandboxNotFoundError
109
from diracx.core.models import (

0 commit comments

Comments
 (0)