Skip to content

Commit

Permalink
Merge pull request #49 from rwth-iat/http_api/improve_codestyle
Browse files Browse the repository at this point in the history
adapter.http: remove unnecessary generator expression
  • Loading branch information
Frosty2500 committed Jul 22, 2024
2 parents b826036 + 4afc6ea commit f6019cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ class IdShortPathConverter(werkzeug.routing.UnicodeConverter):
id_short_sep = "."

def to_url(self, value: List[str]) -> str:
return super().to_url(self.id_short_sep.join(id_short for id_short in value))
return super().to_url(self.id_short_sep.join(value))

def to_python(self, value: str) -> List[str]:
id_shorts = super().to_python(value).split(self.id_short_sep)
Expand Down

0 comments on commit f6019cc

Please sign in to comment.