mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-12 09:38:31 +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 yaml
|
||||
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
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ class Config:
|
||||
@property
|
||||
def host(self) -> str:
|
||||
"""Get host configuration."""
|
||||
return self.config.host
|
||||
return self.config.host or "127.0.0.1"
|
||||
|
||||
@property
|
||||
def crews(self) -> List[CrewConfig]:
|
||||
|
||||
@@ -3,7 +3,8 @@ import shutil
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
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:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user