Replace aiohttp with httpx

This commit is contained in:
Andras Schmelczer 2022-07-08 20:30:57 +02:00
parent 46ffe7a70e
commit 299d644bc4
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
15 changed files with 40 additions and 95 deletions

View file

@ -4,9 +4,10 @@ __version__ = "0.0.12"
from .context import configure
from .deploy import GreatAI
from .exceptions import (
from .errors import (
ArgumentValidationError,
MissingArgumentError,
RemoteCallError,
WrongDecoratorOrderError,
)
from .models import save_model, use_model
@ -15,13 +16,9 @@ from .output_views import (
MultiLabelClassificationOutput,
RegressionOutput,
)
from .parameters import log_metric, parameter
from .parameters.log_metric import log_metric
from .parameters.parameter import parameter
from .persistence import MongodbDriver, ParallelTinyDbDriver, TracingDatabaseDriver
from .remote import (
HttpClient,
RemoteCallError,
call_remote_great_ai,
call_remote_great_ai_async,
)
from .remote import call_remote_great_ai, call_remote_great_ai_async
from .tracing import add_ground_truth, delete_ground_truth, query_ground_truth
from .views import RouteConfig, Trace