Skip to content

Commit 8f26ed5

Browse files
authored
Merge branch 'master' into master
2 parents 590fd6d + ca8ddb2 commit 8f26ed5

13 files changed

Lines changed: 15 additions & 24 deletions

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
publish-dir: './site'
4444
production-branch: master
45-
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
github-token: ${{ secrets.FASTAPI_BUILD_DOCS_NETLIFY }}
4646
enable-commit-comment: false
4747
env:
4848
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: tiangolo/issue-manager@0.4.0
2222
with:
23-
token: ${{ secrets.GITHUB_TOKEN }}
23+
token: ${{ secrets.FASTAPI_ISSUE_MANAGER }}
2424
config: >
2525
{
2626
"answered": {

.github/workflows/label-approved.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
steps:
1111
- uses: docker://tiangolo/label-approved:0.0.2
1212
with:
13-
token: ${{ secrets.GITHUB_TOKEN }}
13+
token: ${{ secrets.FASTAPI_LABEL_APPROVED }}

.github/workflows/latest-changes.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ jobs:
3030
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
3131
with:
3232
limit-access-to-actor: true
33-
token: ${{ secrets.ACTIONS_TOKEN }}
34-
standard_token: ${{ secrets.GITHUB_TOKEN }}
3533
- uses: docker://tiangolo/latest-changes:0.0.3
3634
with:
37-
token: ${{ secrets.GITHUB_TOKEN }}
35+
token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
3836
latest_changes_file: docs/en/docs/release-notes.md
3937
latest_changes_header: '## Latest Changes\n\n'
4038
debug_logs: true

.github/workflows/notify-translations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
limit-access-to-actor: true
2020
- uses: ./.github/actions/notify-translations
2121
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
22+
token: ${{ secrets.FASTAPI_NOTIFY_TRANSLATIONS }}

.github/workflows/people.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
2525
with:
2626
limit-access-to-actor: true
27-
token: ${{ secrets.ACTIONS_TOKEN }}
28-
standard_token: ${{ secrets.GITHUB_TOKEN }}
2927
- uses: ./.github/actions/people
3028
with:
3129
token: ${{ secrets.ACTIONS_TOKEN }}
32-
standard_token: ${{ secrets.GITHUB_TOKEN }}
30+
standard_token: ${{ secrets.FASTAPI_PEOPLE }}

.github/workflows/preview-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
with:
3535
publish-dir: './site'
3636
production-deploy: false
37-
github-token: ${{ secrets.GITHUB_TOKEN }}
37+
github-token: ${{ secrets.FASTAPI_PREVIEW_DOCS_NETLIFY }}
3838
enable-commit-comment: false
3939
env:
4040
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
4141
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
4242
- name: Comment Deploy
4343
uses: ./.github/actions/comment-docs-preview-in-pr
4444
with:
45-
token: ${{ secrets.GITHUB_TOKEN }}
45+
token: ${{ secrets.FASTAPI_PREVIEW_DOCS_COMMENT_DEPLOY }}
4646
deploy_url: "${{ steps.netlify.outputs.deploy-url }}"

.github/workflows/publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,3 @@ jobs:
3939
env:
4040
GITHUB_CONTEXT: ${{ toJson(github) }}
4141
run: echo "$GITHUB_CONTEXT"
42-
# - name: Notify
43-
# env:
44-
# GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }}
45-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
# TAG: ${{ github.event.release.name }}
47-
# run: bash scripts/notify.sh

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
3232
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
3333
SMOKESHOW_GITHUB_CONTEXT: coverage
34-
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.FASTAPI_SMOKESHOW_UPLOAD }}
3535
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
3636
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}

docs/en/docs/features.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ With **FastAPI** you get all of **Pydantic**'s features (as FastAPI is based on
189189
* If you know Python types you know how to use Pydantic.
190190
* Plays nicely with your **<abbr title="Integrated Development Environment, similar to a code editor">IDE</abbr>/<abbr title="A program that checks for code errors">linter</abbr>/brain**:
191191
* Because pydantic data structures are just instances of classes you define; auto-completion, linting, mypy and your intuition should all work properly with your validated data.
192-
* **Fast**:
193-
* in <a href="https://pydantic-docs.helpmanual.io/benchmarks/" class="external-link" target="_blank">benchmarks</a> Pydantic is faster than all other tested libraries.
194192
* Validate **complex structures**:
195193
* Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
196194
* And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema.

0 commit comments

Comments
 (0)