mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 07:13:00 +00:00
Fix import sorting and type checking issues
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import yaml
|
import yaml
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, List, Optional, Union, Any
|
from typing import Any, Dict, List, Optional, Union
|
||||||
from pydantic import BaseModel, Field, validator
|
from pydantic import BaseModel, Field, validator
|
||||||
|
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ class Config:
|
|||||||
@property
|
@property
|
||||||
def host(self) -> str:
|
def host(self) -> str:
|
||||||
"""Get host configuration."""
|
"""Get host configuration."""
|
||||||
return self.config.host
|
return self.config.host or "127.0.0.1"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def crews(self) -> List[CrewConfig]:
|
def crews(self) -> List[CrewConfig]:
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ import shutil
|
|||||||
import subprocess
|
import subprocess
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, List, Optional
|
from typing import Dict, List, Optional
|
||||||
from crewai.deployment.docker.exceptions import DockerBuildError, DockerRunError, DockerComposeError
|
|
||||||
|
from crewai.deployment.docker.exceptions import DockerBuildError, DockerComposeError, DockerRunError
|
||||||
|
|
||||||
|
|
||||||
class DockerContainer:
|
class DockerContainer:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import logging
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Dict, List, Optional
|
from typing import Any, Dict, List, Optional
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user