mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Fix import formatting issues in crew.py and test_crewai_alias.py
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -7,7 +7,18 @@ import warnings
|
||||
from concurrent.futures import Future
|
||||
from copy import copy as shallow_copy
|
||||
from hashlib import md5
|
||||
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeAlias, Union, cast
|
||||
from typing import (
|
||||
Any,
|
||||
Callable,
|
||||
Dict,
|
||||
List,
|
||||
Optional,
|
||||
Set,
|
||||
Tuple,
|
||||
TypeAlias,
|
||||
Union,
|
||||
cast,
|
||||
)
|
||||
|
||||
from pydantic import (
|
||||
UUID4,
|
||||
|
||||
@@ -38,8 +38,9 @@ class TestCrewaiAlias(unittest.TestCase):
|
||||
def test_crewai_deprecation_warning(self):
|
||||
"""Test that using Crewai emits a deprecation warning."""
|
||||
import importlib
|
||||
import crewai.crew
|
||||
import warnings
|
||||
|
||||
import crewai.crew
|
||||
|
||||
with warnings.catch_warnings(record=True) as w:
|
||||
warnings.simplefilter("always")
|
||||
|
||||
Reference in New Issue
Block a user