We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de328e8 commit 3a94f55Copy full SHA for 3a94f55
README.md
@@ -181,7 +181,7 @@ class FetchUserProfile(object):
181
"""Single responsibility callable object that fetches user profile."""
182
183
@pipeline
184
- def __call__(self, user_id: int) -> Result[IO['UserProfile'], Exception]]:
+ def __call__(self, user_id: int) -> Result[IO['UserProfile'], Exception]:
185
"""Fetches UserProfile dict from foreign API."""
186
response = self._make_request(user_id).unwrap()
187
return self._parse_json(response)
0 commit comments