Skip to content

Commit

Permalink
[cdd/tests/mocks/openapi.py] Fix broken import (moved type definition…
Browse files Browse the repository at this point in the history
…) ; [cdd/compound/openapi/utils/emit_openapi_utils.py] Sort and add `"OpenApiType"` to `__all__`
  • Loading branch information
SamuelMarks committed Feb 4, 2024
1 parent 03fe908 commit 34a4e2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cdd/compound/openapi/utils/emit_openapi_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ def components_paths_from_name_model_route_id_crud(
)

__all__ = [
"components_paths_from_name_model_route_id_crud",
"NameModelRouteIdCrud",
"OpenAPI_requestBodies",
"OpenApiType",
"components_paths_from_name_model_route_id_crud",
] # type: list[str]
2 changes: 1 addition & 1 deletion cdd/tests/mocks/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from copy import deepcopy

from cdd.sqlalchemy.utils.shared_utils import OpenApiType
from cdd.compound.openapi.utils.emit_openapi_utils import OpenApiType
from cdd.tests.mocks.json_schema import (
config_schema,
config_schema_with_sql_types,
Expand Down

0 comments on commit 34a4e2f

Please sign in to comment.