Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,53 @@
# Cache
__pycache__
.mypy_cache
.pytest_cache
.ruff_cache

# Virtual envs
.venv
.direnv
.envrc
.python-version

# Poetry
poetry.toml
poetry.lock

# Mise
mise.toml
.mise.toml

# Egg and build artifacts
*.egg-info/
*.egg
dist/
build/
.coverage

# Coverage reports
.coverage*
htmlcov

# IDE, editors
.vscode
.idea
.DS_Store
.nvim.lua
Session.vim

# Docs
docs/changelog.md

# default folder for memory storage data
# Website build artifacts, node dependencies
website/build
website/node_modules
website/.yarn
website/.docusaurus
website/api-typedoc-generated.json
website/apify-shared-docspec-dump.jsonl
website/docspec-dump.jsonl
website/module_shortcuts.json
website/typedoc-types*

# Default directory for memory storage
storage/
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
repos:
- repo: local
hooks:
- id: lint
name: Lint codebase
- id: lint-check
name: Lint check
entry: make lint
language: system
pass_filenames: false

- id: type-check
name: Type-check codebase
name: Type check
entry: make type-check
language: system
pass_filenames: false

- id: check-async-docstrings
name: Check async docstrings
- id: async-docstrings-check
name: Async docstrings check
entry: make check-async-docstrings
language: system
pass_filenames: false
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ apify_client = ApifyClient('MY-APIFY-TOKEN')
# Start an Actor and waits for it to finish
finished_actor_run = apify_client.actor('username/actor-name').call()

# Starts an Actor and waits maximum 60s (1 minute) for the finish
# Starts an Actor and waits maximum 60s (1 minute) for the finish
actor_run = apify_client.actor('username/actor-name').start(wait_for_finish=60)
```

Expand Down Expand Up @@ -304,7 +304,7 @@ while True:
response = dataset_client.list_items(limit=limit, offset=offset)
items = response.items
total = response.total

print(f'Fetched {len(items)} items')

# Merge new items with other already loaded items
Expand Down
23 changes: 0 additions & 23 deletions website/.gitignore

This file was deleted.