Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Toloka/toloka-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pocoder committed Nov 2, 2022
2 parents 36d06fe + 10df4b5 commit 8d672fb
Show file tree
Hide file tree
Showing 58 changed files with 8,996 additions and 8,636 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/examples

# several people are responsible for code
/src @Losik @varfolomeii @alexdrydew @Pocoder @vlad-mois @DrhF
/src @dfdx @varfolomeii @alexdrydew @Pocoder @vlad-mois @DrhF

* @Losik @varfolomeii @alexdrydew @Pocoder @vlad-mois @DrhF
* @dfdx @varfolomeii @alexdrydew @Pocoder @vlad-mois @DrhF
10 changes: 4 additions & 6 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ jobs:
- name: Generate markdowns
run: |
python ./misc/stubmaker/bin/make_markdowns $(./misc/stubmaker/bin/make_markdowns/tolokakit_args.sh) --github-source-url https://github.com/Toloka/toloka-kit/blob/${{ github.event.release.tag_name }}/src
mv docs-repo/en/toloka-kit/python-sdk.md .
rm -r docs-repo/en/toloka-kit
mkdir docs-repo/en/toloka-kit
mv python-sdk.md docs-repo/en/toloka-kit
python misc/add_python_sdk_to_toc.py --path docs/toc.yaml
mv docs docs-repo/en/toloka-kit
- name: Update docs repository
run: |
rm -rf docs-repo/en/toloka-kit/reference/*.md
rsync -a docs/ docs-repo/
- name: Create Pull Request to docs repository
uses: peter-evans/create-pull-request@v4
with:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,19 @@ jobs:
pip install https://github.com/Toloka/stubmaker/archive/refs/heads/main.zip
pip install .[all]
pip install "attrs>=21.0.0"
- name: Checkout docs repository
uses: actions/checkout@v3
with:
repository: 'Toloka/docs'
path: 'docs-repo'
- name: Generate markdowns
run: |
python ./misc/stubmaker/bin/make_markdowns $(./misc/stubmaker/bin/make_markdowns/tolokakit_args.sh)
- name: Update docs repository
run: |
rm -rf docs-repo/en/toloka-kit/reference/*.md
rsync -a docs/ docs-repo/
- name: Generate docs
run: yfm -c .yfm -i ./docs -o /tmp/toloka-kit-docs
run: |
cd docs-repo
yfm -c .yfm -i . -o /tmp/toloka-kit-docs
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
1.0.0rc1
1.0.2
-------------------
Features:
* `Pipeline` class can be manually iterated now using `Pipeline.run_manually` method.
* `Pipeline` now supports `iteration_mode` parameter, which controls whether the new iteration will start only after the completion of all tasks.

1.0.1
-------------------
Features:
* Some filters now support inversion using "~" operator.
* Improved error messages.
* Added new `Verified` filter.

Bug fixes:
* Filters created using Toloka-Kit now should be rendered correctly in the Toloka UI.
* `Languages.include` now works correctly in case of multiple languages being passed.


1.0.0, 1.0.0rc1
-------------------

**Breaking changes**:
Expand Down
2,387 changes: 2,387 additions & 0 deletions docs/en/_includes/toloka-kit-reference-toc.yaml

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions docs/en/_includes/toloka-kit-toc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
items:
- name: Overview
href: ../toloka-kit/index.md
- name: Quick Start
href: ../toloka-kit/quick-start.md
- name: TolokaClient
href: ../toloka-kit/reference/toloka.client.TolokaClient.md
- name: Reference
expanded: true
include:
path: toloka-kit-reference-toc.yaml
mode: link
base: en
25 changes: 0 additions & 25 deletions docs/index.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/quick-start.md

This file was deleted.

Loading

0 comments on commit 8d672fb

Please sign in to comment.