fix: use typing_extensions.Self for Python 3.10 compat

This commit is contained in:
Alex
2026-04-06 23:48:58 -07:00
parent 4bac017eb4
commit 2ab866b596

View File

@@ -1,6 +1,12 @@
import logging
import os
from typing import Any, Self
from typing import Any
try:
from typing import Self
except ImportError:
from typing_extensions import Self
from crewai.tools import BaseTool
from pydantic import BaseModel, Field, model_validator