- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for Nash (0.35 sec)
-
docs/pt/docs/contributing.md
``` </div> === "Windows Bash" Ou se você usa Bash para Windows (por exemplo <a href="https://gitforwindows.org/" class="external-link" target="_blank">Git Bash</a>): <div class="termy"> ```console $ source ./env/Scripts/activate ``` </div> Para verificar se funcionou, use: === "Linux, macOS, Windows Bash" <div class="termy"> ```console
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 14.9K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py310.py
app = FastAPI() def verify_password(plain_password, hashed_password): return pwd_context.verify(plain_password, hashed_password) def get_password_hash(password): return pwd_context.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
And be compatible with all of them at the same time. Create a utility function to hash a password coming from the user. And another utility to verify if a received password matches the hash stored. And another one to authenticate and return a user. === "Python 3.10+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0) -
docs_src/security/tutorial005_an.py
) app = FastAPI() def verify_password(plain_password, hashed_password): return pwd_context.verify(plain_password, hashed_password) def get_password_hash(password): return pwd_context.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 5.3K bytes - Viewed (0) -
.github/workflows/test-redistribute.yml
run: | cd dist/fastapi-*/ pip install -r requirements-tests.txt - name: Run source distribution tests run: | cd dist/fastapi-*/ bash scripts/test.sh - name: Build wheel distribution run: | cd dist pip wheel --no-deps fastapi-*.tar.gz - name: Dump GitHub context env:
Others - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 28 23:28:07 GMT 2024 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py39.py
assert verify_password("secret", fake_users_db["johndoe"]["hashed_password"]) @needs_py39 def test_get_password_hash(): from docs_src.security.tutorial005_py39 import get_password_hash assert get_password_hash("secretalice") @needs_py39 def test_create_access_token(): from docs_src.security.tutorial005_py39 import create_access_token
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 16.3K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
So, if the `dict` contains: ```Python { "username": "johndoe", "hashed_password": "some_hash", } ``` It will be passed to `UserInDB` as: ```Python UserInDB(username="johndoe", hashed_password="some_hash") ``` ## Create your **FastAPI** code ### Create the `FastAPI` app ```Python hl_lines="46"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 6K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18K bytes - Viewed (0) -
docs/de/docs/features.md
my_second_user: User = User(**second_user_data) ``` !!! info `**second_user_data` bedeutet: Nimm die Schlüssel-Wert-Paare des `second_user_data` <abbr title="Dictionary – Wörterbuch: In anderen Programmiersprachen auch Hash, Map, Objekt, Assoziatives Array genannt">Dicts</abbr> und übergib sie direkt als Schlüsselwort-Argumente. Äquivalent zu: `User(id=4, name="Mary", joined="2018-11-30")`. ### Editor Unterstützung
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 19:43:43 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
!!! tip 👉 👷, 👆 💪 `pip install python-dotenv`. ### `.env` 📁 👆 💪 ✔️ `.env` 📁 ⏮️: ```bash ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" ``` ### ✍ ⚒ ⚪️➡️ `.env` & ⤴️ ℹ 👆 `config.py` ⏮️: ```Python hl_lines="9-10" {!../../../docs_src/settings/app03/config.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.4K bytes - Viewed (0)