Skip to content

Commit

Permalink
Fix asyncclient url wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Nov 5, 2023
1 parent 8294cc6 commit 2337dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion seplis_play_server/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
from seplis_play_server import config

client = AsyncClient(
base_url=config.api_url,
base_url=str(config.api_url),
)
4 changes: 1 addition & 3 deletions seplis_play_server/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import os, pathlib
import tempfile
from typing import Literal
from pydantic_core.core_schema import FieldValidationInfo
from typing_extensions import Annotated
from pydantic import AnyHttpUrl, BaseModel, Field, conint, field_validator
from pydantic import AnyHttpUrl, BaseModel
from pydantic_settings import BaseSettings, SettingsConfigDict
import yaml

Expand Down

0 comments on commit 2337dc2

Please sign in to comment.