Skip to content

Commit eec0233

Browse files
committed
Merge branch 'master' into feat/storage-sign-content-url
2 parents 65b10c3 + 9b4bd8f commit eec0233

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1444
-1011
lines changed

.github/workflows/_async_docstrings_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717

1818
- name: Set up Python
1919
uses: actions/setup-python@v5

.github/workflows/build_and_deploy_docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
2828

.github/workflows/pre_release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ jobs:
3636
name: Lint check
3737
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
3838
with:
39-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
39+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
4040

4141
type_check:
4242
name: Type check
4343
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
4444
with:
45-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
45+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
4646

4747
unit_tests:
4848
name: Unit tests
4949
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
5050
with:
51-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
51+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
5252

5353
async_docstrings:
5454
name: Async dostrings check
@@ -59,7 +59,7 @@ jobs:
5959
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
6060
secrets: inherit
6161
with:
62-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
62+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
6363

6464
update_changelog:
6565
name: Update changelog

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ jobs:
4747
name: Lint check
4848
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
4949
with:
50-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
50+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
5151

5252
type_check:
5353
name: Type check
5454
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
5555
with:
56-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
56+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
5757

5858
unit_tests:
5959
name: Unit tests
6060
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
6161
with:
62-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
62+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
6363

6464
async_docstrings:
6565
name: Async dostrings check
@@ -70,7 +70,7 @@ jobs:
7070
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
7171
secrets: inherit
7272
with:
73-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
73+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
7474

7575
update_changelog:
7676
name: Update changelog

.github/workflows/run_code_checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jobs:
1616
name: Lint check
1717
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
1818
with:
19-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
19+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
2020

2121
type_check:
2222
name: Type check
2323
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
2424
with:
25-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
25+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
2626

2727
unit_tests:
2828
name: Unit tests
2929
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
3030
with:
31-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
31+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
3232

3333
async_docstrings:
3434
name: Async dostrings check
@@ -43,5 +43,5 @@ jobs:
4343
needs: [lint_check, type_check, unit_tests]
4444
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
4545
with:
46-
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
46+
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
4747
secrets: inherit

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
<!-- git-cliff-unreleased-start -->
6+
## 1.12.3 - **not yet released**
7+
8+
### 🚀 Features
9+
10+
- Extend status parameter to an array of possible statuses ([#455](https://github.com/apify/apify-client-python/pull/455)) ([76f6769](https://github.com/apify/apify-client-python/commit/76f676973d067ce8af398d8e6ceea55595da5ecf)) by [@JanHranicky](https://github.com/JanHranicky)
11+
12+
### Refactor
13+
14+
- [**breaking**] Remove support for passing a single string to the `unwind` parameter in `DatasetClient` ([#467](https://github.com/apify/apify-client-python/pull/467)) ([e8aea2c](https://github.com/apify/apify-client-python/commit/e8aea2c8f3833082bf78562f3fa981a1f8e88b26)) by [@Mantisus](https://github.com/Mantisus), closes [#255](https://github.com/apify/apify-client-python/issues/255)
15+
16+
17+
<!-- git-cliff-unreleased-end -->
18+
## [1.12.2](https://github.com/apify/apify-client-python/releases/tag/v1.12.2) (2025-08-08)
19+
20+
### 🐛 Bug Fixes
21+
22+
- Fix API error with stream ([#459](https://github.com/apify/apify-client-python/pull/459)) ([0c91ca5](https://github.com/apify/apify-client-python/commit/0c91ca516a01a6fca7bc8fa07f7bf9c15c75bf9d)) by [@Pijukatel](https://github.com/Pijukatel)
23+
24+
525
## [1.12.1](https://github.com/apify/apify-client-python/releases/tag/v1.12.1) (2025-07-30)
626

727
### 🐛 Bug Fixes
@@ -388,4 +408,4 @@ All notable changes to this project will be documented in this file.
388408

389409
## [0.0.1](https://github.com/apify/apify-client-python/releases/tag/v0.0.1) (2021-05-13)
390410

391-
- Initial release of the package.
411+
- Initial release of the package.

docs/02_concepts/09_streaming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Supported streaming methods:
1818
- [`KeyValueStoreClient.stream_record`](/reference/class/KeyValueStoreClient#stream_record) - Stream key-value store records as raw data.
1919
- [`LogClient.stream`](/reference/class/LogClient#stream) - Stream logs in real time.
2020

21-
These methods return a raw, context-managed `httpx.Response` object. The response must be consumed within a with block to ensure that the connection is closed automatically, preventing memory leaks or unclosed connections.
21+
These methods return a raw, context-managed `impit.Response` object. The response must be consumed within a with block to ensure that the connection is closed automatically, preventing memory leaks or unclosed connections.
2222

2323
The following example demonstrates how to stream the logs of an Actor run incrementally:
2424

docs/02_concepts/code/01_async_support.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ async def main() -> None:
1717
# Stream the logs
1818
async with log_client.stream() as async_log_stream:
1919
if async_log_stream:
20-
async for line in async_log_stream.aiter_lines():
21-
print(line)
20+
async for bytes_chunk in async_log_stream.aiter_bytes():
21+
print(bytes_chunk)
2222

2323

2424
if __name__ == '__main__':

docs/02_concepts/code/09_streaming_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ async def main() -> None:
1010

1111
async with log_client.stream() as log_stream:
1212
if log_stream:
13-
for line in log_stream.iter_lines():
14-
print(line)
13+
async for bytes_chunk in log_stream.aiter_bytes():
14+
print(bytes_chunk)

docs/02_concepts/code/09_streaming_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ def main() -> None:
1010

1111
with log_client.stream() as log_stream:
1212
if log_stream:
13-
for line in log_stream.iter_lines():
14-
print(line)
13+
for bytes_chunk in log_stream.iter_bytes():
14+
print(bytes_chunk)

0 commit comments

Comments
 (0)