- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,096 for sltr (0.02 seconds)
-
docs/zh/docs/tutorial/security/first-steps.md
/// ## 它做了什么 { #what-it-does } 它会在请求中查找 `Authorization` 请求头,检查其值是否为 `Bearer ` 加上一些令牌,并将该令牌作为 `str` 返回。 如果没有 `Authorization` 请求头,或者其值不包含 `Bearer ` 令牌,它会直接返回 401 状态码错误(`UNAUTHORIZED`)。 你甚至无需检查令牌是否存在即可返回错误;只要你的函数被执行,就可以确定会拿到一个 `str` 类型的令牌。 你已经可以在交互式文档中试试了: <img src="/img/tutorial/security/image03.png"> 我们还没有验证令牌是否有效,但这已经是一个良好的开端。 ## 小结 { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
/** * Encodes a String as UTF-8 bytes. * * @param str the String to encode * @param dst the destination byte array * @param di the starting index in the destination array * @param dlim the maximum index in the destination array * @return the number of bytes written */ public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) { final int start = di;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (або `str | None = None` у Python 3.10) має значення за замовчуванням `None`. * `tax: float = 10.5` має значення за замовчуванням `10.5`. * `tags: List[str] = []` має значення за замовчуванням порожній список: `[]`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (или `str | None = None` в Python 3.10) имеет значение по умолчанию `None`. * `tax: float = 10.5` имеет значение по умолчанию `10.5`. * `tags: List[str] = []` имеет значение по умолчанию пустого списка: `[]`. но вы можете захотеть опустить их в результате, если они фактически не были сохранены.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 25.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/tr/docs/features.md
Türleriyle standart Python yazarsınız: ```Python from datetime import date from pydantic import BaseModel # Bir değişkeni str olarak belirt # ve fonksiyon içinde editör desteği al def main(user_id: str): return user_id # Bir Pydantic modeli class User(BaseModel): id: int name: str joined: date ``` Sonra şöyle kullanabilirsiniz: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-params.md
### Bir `Enum` Sınıfı Oluşturalım { #create-an-enum-class } `Enum`'u import edin ve `str` ile `Enum`'dan miras alan bir alt sınıf oluşturun. `str`'den miras aldığınızda API dokümanları değerlerin `string` tipinde olması gerektiğini anlayabilir ve doğru şekilde render edebilir.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-operation-configuration.md
/// ## Tags { #tags } *Path operation*’ınıza tag ekleyebilirsiniz; `tags` parametresine `str` öğelerinden oluşan bir `list` verin (genellikle tek bir `str`): {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *} Bunlar OpenAPI şemasına eklenecek ve otomatik dokümantasyon arayüzleri tarafından kullanılacaktır:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.3K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
from typing import Annotated, Any import pytest from fastapi import Depends, FastAPI, WebSocket from fastapi.exceptions import FastAPIError from fastapi.testclient import TestClient global_context: ContextVar[dict[str, Any]] = ContextVar("global_context", default={}) # noqa: B039 class Session: def __init__(self) -> None: self.open = True async def dep_session() -> Any: s = Session() yield s
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
docs/ru/docs/advanced/settings.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 16.5K bytes - Click Count (0)