- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for key2 (0.15 sec)
-
docs_src/security/tutorial004_an.py
from jose import JWTError, jwt from passlib.context import CryptContext from pydantic import BaseModel from typing_extensions import Annotated # to get a string like this run: # openssl rand -hex 32 SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 fake_users_db = { "johndoe": { "username": "johndoe",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
.github/workflows/test.yml
# cache: "pip" # cache-dependency-path: pyproject.toml - uses: actions/cache@v4 id: cache with: path: ${{ env.pythonLocation }} key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v08 - name: Install Dependencies
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4.4K bytes - Viewed (2) -
docs/de/docs/advanced/openapi-callbacks.md
* Der *Pfad* kann einen <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#key-expression" class="external-link" target="_blank">OpenAPI-3-Ausdruck</a> enthalten (mehr dazu weiter unten), wo er Variablen mit Parametern und Teilen des ursprรผnglichen Requests verwenden kann, der an *Ihre API* gesendet wurde.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:23 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/advanced/openapi-callbacks.md
* *โก* ๐ช ๐ <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#key-expression" class="external-link" target="_blank">๐ 3๏ธโฃ ๐งฌ</a> (๐ ๐ ๐) ๐โ โซ๏ธ ๐ช โ๏ธ ๐ข โฎ๏ธ ๐ข & ๐ โฎ๏ธ ๐จ ๐จ *๐ ๐ ๏ธ*. ### โฒ โก ๐งฌ โฒ *โก* ๐ช โ๏ธ <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#key-expression" class="external-link" target="_blank">๐ 3๏ธโฃ ๐งฌ</a> ๐ ๐ช ๐ ๐ โฎ๏ธ ๐จ ๐จ *๐ ๐ ๏ธ*.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
*๊ฒฝ๋ก ์๋ ๋ฐ์ฝ๋ ์ดํฐ*์์ `dependencies`๋ฅผ ์ฌ์ฉํ๋ฉด ํธ์ง๊ธฐ/๋๊ตฌ ์ค๋ฅ๋ฅผ ํผํ๋ฉฐ ์คํ๋๋๋ก ํ ์ ์์ต๋๋ค. ๋ํ ์ฝ๋์์ ์ฌ์ฉ๋์ง ์๋ ๋งค๊ฐ๋ณ์๋ฅผ ๋ณด๊ณ ๋ถํ์ํ๋ค๊ณ ์๊ฐํ ์ ์๋ ์๋ก์ด ๊ฐ๋ฐ์์ ํผ๋์ ๋ฐฉ์งํ๋๋ฐ ๋์์ด ๋ ์ ์์ต๋๋ค. !!! info "์ ๋ณด" ์ด ์์์์ `X-Key`์ `X-Token`์ด๋ผ๋ ์ปค์คํ ํค๋๋ฅผ ๋ง๋ค์ด ์ฌ์ฉํ์ต๋๋ค. ๊ทธ๋ฌ๋ ์ค์ ๋ก ๋ณด์์ ๊ตฌํํ ๋๋ ํตํฉ๋ [๋ณด์ ์ ํธ๋ฆฌํฐ (๋ค์ ์ฑํฐ)](../security/index.md){.internal-link target=_blank}๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ๋ ๋ง์ ์ด์ ์ ์ป์ ์ ์์ต๋๋ค. ## ์์กด์ฑ ์ค๋ฅ์ ๊ฐ ๋ฐํํ๊ธฐ ํ์์ ์ฌ์ฉํ๋๋๋ก ๊ฐ์ ์์กด์ฑ *ํจ์*๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:49:45 GMT 2024 - 4.7K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
## Code size This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file. But here's the key point. The security and dependency injection stuff is written once. And you can make it as complex as you want. And still, have it written only once, in a single place. With all the flexibility.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/alternatives.md
This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep. Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask. !!! check "Inspired **FastAPI** to"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
fastapi/param_functions.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0) -
tests/test_security_api_key_query_optional.py
return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me?key=secret") assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 200, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2K bytes - Viewed (0) -
.github/actions/people/app/main.py
authors=authors, skip_users=skip_users, ) tiers = get_individual_sponsors(settings=settings) keys = list(tiers.keys()) keys.sort(reverse=True) sponsors = [] for key in keys: sponsor_group = [] for login, sponsor in tiers[key].items(): sponsor_group.append( {"login": login, "avatarUrl": sponsor.avatarUrl, "url": sponsor.url}
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1)