Skip to content

Commit

Permalink
adapter.http: code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zrgt authored and s-heppner committed Sep 3, 2024
1 parent 5d51d5e commit f5e1cf7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ def get_concept_description_all(self, request: Request, url_args: Dict, **_kwarg

def post_concept_description(self, request: Request, url_args: Dict, map_adapter: MapAdapter) -> Response:
response_t = get_response_type(request)
concept_description = HTTPApiDecoder.request_body(request, model.ConceptDescription, is_stripped_request(request))
concept_description = HTTPApiDecoder.request_body(request, model.ConceptDescription,
is_stripped_request(request))
try:
self.object_store.add(concept_description)
except KeyError as e:
Expand Down Expand Up @@ -1197,6 +1198,3 @@ def delete_concept_description(self, request: Request, url_args: Dict, **_kwargs
from basyx.aas.examples.data.example_aas import create_full_example
run_simple("localhost", 8080, WSGIApp(create_full_example(), aasx.DictSupplementaryFileContainer()),
use_debugger=True, use_reloader=True)


# Commit msg: Add CD-Repo routes to the server

0 comments on commit f5e1cf7

Please sign in to comment.