Skip to content

Commit

Permalink
Merge pull request #13898 from jmchilton/fix_typing_0001
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo authored May 11, 2022
2 parents c154561 + 60d4b85 commit b922429
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/webapps/galaxy/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def base(self) -> str:

@property
def host(self) -> str:
return str(self.__request.client.host)
client = self.__request.client
assert client is not None
return str(client.host)


class GalaxyASGIResponse(GalaxyAbstractResponse):
Expand Down

0 comments on commit b922429

Please sign in to comment.