Skip to content

Commit 796e522

Browse files
committed
fixed formattig
1 parent be1ff1b commit 796e522

4 files changed

Lines changed: 22 additions & 30 deletions

File tree

osbot_fast_api/api/schemas/Schema__Fast_API__Config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from osbot_fast_api.api.schemas.safe_str.Safe_Str__Fast_API__Route__Prefix import Safe_Str__Fast_API__Route__Prefix
1+
from osbot_fast_api.api.schemas.safe_str.Safe_Str__Fast_API__Route__Prefix import Safe_Str__Fast_API__Route__Prefix
22
from osbot_fast_api.utils.Version import version__osbot_fast_api
33
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text import Safe_Str__Text
44
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Version import Safe_Str__Version
5-
from osbot_fast_api.api.schemas.safe_str.Safe_Str__Fast_API__Name import Safe_Str__Fast_API__Name
5+
from osbot_fast_api.api.schemas.safe_str.Safe_Str__Fast_API__Name import Safe_Str__Fast_API__Name
66
from osbot_utils.type_safe.Type_Safe import Type_Safe
77

88

osbot_fast_api/client/Fast_API__Contract__Extractor.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import re
22
import inspect
3-
from typing import List, Any, Optional
4-
from osbot_fast_api.api.schemas.Schema__Fast_API__Tag__Classes_And_Routes import Schema__Fast_API__Tag__Classes_And_Routes
5-
from osbot_fast_api.api.schemas.Schema__Fast_API__Tags__Classes_And_Routes import Schema__Fast__API_Tags__Classes_And_Routes
6-
from osbot_fast_api.api.schemas.routes.Schema__Fast_API__Route import Schema__Fast_API__Route
7-
from osbot_utils.decorators.methods.cache_on_self import cache_on_self
8-
from osbot_fast_api.client.Fast_API__Route__Extractor import Fast_API__Route__Extractor
9-
from osbot_utils.type_safe.Type_Safe import Type_Safe
10-
from osbot_utils.helpers.ast import Ast_Module
11-
from osbot_utils.helpers.ast.Ast_Visit import Ast_Visit
12-
from osbot_fast_api.api.Fast_API import Fast_API
13-
from osbot_fast_api.client.schemas.Schema__Endpoint__Contract import Schema__Endpoint__Contract
14-
from osbot_fast_api.client.schemas.Schema__Endpoint__Param import Schema__Endpoint__Param
15-
from osbot_fast_api.client.schemas.Schema__Routes__Module import Schema__Routes__Module
16-
from osbot_fast_api.client.schemas.Schema__Service__Contract import Schema__Service__Contract
17-
from osbot_fast_api.client.schemas.enums.Enum__Param__Location import Enum__Param__Location
18-
from osbot_utils.type_safe.primitives.domains.http.enums.Enum__Http__Method import Enum__Http__Method
3+
from typing import List, Any, Optional
4+
from osbot_fast_api.api.schemas.Schema__Fast_API__Tag__Classes_And_Routes import Schema__Fast_API__Tag__Classes_And_Routes
5+
from osbot_fast_api.api.schemas.Schema__Fast_API__Tags__Classes_And_Routes import Schema__Fast__API_Tags__Classes_And_Routes
6+
from osbot_fast_api.api.schemas.routes.Schema__Fast_API__Route import Schema__Fast_API__Route
7+
from osbot_utils.decorators.methods.cache_on_self import cache_on_self
8+
from osbot_fast_api.client.Fast_API__Route__Extractor import Fast_API__Route__Extractor
9+
from osbot_utils.type_safe.Type_Safe import Type_Safe
10+
from osbot_utils.helpers.ast import Ast_Module
11+
from osbot_utils.helpers.ast.Ast_Visit import Ast_Visit
12+
from osbot_fast_api.api.Fast_API import Fast_API
13+
from osbot_fast_api.client.schemas.Schema__Endpoint__Contract import Schema__Endpoint__Contract
14+
from osbot_fast_api.client.schemas.Schema__Endpoint__Param import Schema__Endpoint__Param
15+
from osbot_fast_api.client.schemas.Schema__Routes__Module import Schema__Routes__Module
16+
from osbot_fast_api.client.schemas.Schema__Service__Contract import Schema__Service__Contract
17+
from osbot_fast_api.client.schemas.enums.Enum__Param__Location import Enum__Param__Location
18+
from osbot_utils.type_safe.primitives.domains.http.enums.Enum__Http__Method import Enum__Http__Method
1919
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Python__Module import Safe_Str__Python__Module
2020

2121

tests/unit/client/test_Fast_API__Client__Generator.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
import tempfile
22
from pathlib import Path
33
from unittest import TestCase
4-
5-
import pytest
6-
from osbot_utils.testing.__ import __, __SKIP__
7-
8-
from osbot_fast_api.api.schemas.Schema__Fast_API__Config import Schema__Fast_API__Config
9-
from osbot_utils.testing.Stdout import Stdout
10-
from osbot_utils.utils.Misc import list_set
11-
4+
from osbot_fast_api.api.schemas.Schema__Fast_API__Config import Schema__Fast_API__Config
5+
from osbot_utils.testing.Stdout import Stdout
6+
from osbot_utils.utils.Misc import list_set
127
from osbot_fast_api.client.Fast_API__Client__Generator import Fast_API__Client__Generator
138
from osbot_fast_api.client.Fast_API__Contract__Extractor import Fast_API__Contract__Extractor
149
from osbot_fast_api.client.schemas.Schema__Service__Contract import Schema__Service__Contract
15-
from osbot_fast_api.utils.Version import version__osbot_fast_api
10+
from osbot_fast_api.utils.Version import version__osbot_fast_api
1611
from osbot_utils.utils.Objects import base_classes
1712
from osbot_utils.type_safe.Type_Safe import Type_Safe
1813
from osbot_fast_api.api.Fast_API import Fast_API

tests/unit/client/test_Fast_API__Contract__Extractor.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
from unittest import TestCase
22
from fastapi import HTTPException
3-
4-
from osbot_fast_api.api.routes.Fast_API__Routes import Fast_API__Routes
5-
from osbot_fast_api.api.schemas.Schema__Fast_API__Config import Schema__Fast_API__Config
63
from osbot_fast_api.client.schemas.Schema__Endpoint__Param import Schema__Endpoint__Param
74
from osbot_fast_api.api.schemas.Schema__Fast_API__Tag__Classes_And_Routes import Schema__Fast_API__Tag__Classes_And_Routes
85
from osbot_fast_api.api.schemas.Schema__Fast_API__Tags__Classes_And_Routes import Schema__Fast__API_Tags__Classes_And_Routes

0 commit comments

Comments
 (0)