Skip to content

Commit

Permalink
Use apify-client == 1.6.1a2
Browse files Browse the repository at this point in the history
  • Loading branch information
vdusek committed Dec 3, 2023
1 parent 0c89f8f commit 76db307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ requires-python = ">=3.8"
dependencies = [
"aiofiles >= 22.1.0",
"aioshutil >= 1.0",
"apify-client ~= 1.6.0",
"apify-client == 1.6.1a2",
"apify-shared ~= 1.1.0",
"colorama >= 0.4.6",
"cryptography >= 39.0.0",
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ def patch(
if not client_method:
raise ValueError(f'ApifyClientAsync does not contain method "{method}"!')

# TODO: This is the problematic line
# https://github.com/apify/apify-sdk-python/issues/151
client_method_return_type = get_type_hints(client_method)['return']

original_submethod = getattr(client_method_return_type, submethod, None)

if not original_submethod:
Expand Down

0 comments on commit 76db307

Please sign in to comment.