Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
EspenAlbert committed Jan 8, 2025
1 parent 73cd492 commit 98533af
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions model-lib/model_lib/model_base.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from __future__ import annotations

from functools import cached_property
from typing import Generic, Iterable, List, Sequence, Type, TypeVar

from pydantic import BaseModel, ConfigDict
from pydantic import BaseModel
from zero_3rdparty.object_name import as_name
from zero_3rdparty.str_utils import want_bool

Expand Down
1 change: 0 additions & 1 deletion model-lib/model_lib/pydantic_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from zero_3rdparty.iter_utils import first # noqa: E402



def env_var_name(
settings: Union[BaseSettings, Type[BaseSettings]], field_name: str
) -> str:
Expand Down
4 changes: 2 additions & 2 deletions model-lib/model_lib/readme_example_test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import datetime
from typing import Annotated, Union
from typing import Union

from freezegun import freeze_time
from pydantic import Field, PlainSerializer
from pydantic import Field

from model_lib import (
Entity,
Expand Down
1 change: 0 additions & 1 deletion model-lib/model_lib/serialize/json_serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from typing_extensions import TypeAlias

from model_lib.model_dump import dump as model_dump
from model_lib.pydantic_utils import model_json

logger = logging.getLogger(__name__)
T = TypeVar("T")
Expand Down

0 comments on commit 98533af

Please sign in to comment.