- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,094 for Fstr (0.02 sec)
-
statement.go
} // QuoteTo write quoted value to writer func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) { write := func(raw bool, str string) { if raw { writer.WriteString(str) } else { stmt.DB.Dialector.QuoteTo(writer, str) } } switch v := field.(type) { case clause.Table: if v.Name == clause.CurrentTable { if stmt.TableExpr != nil { stmt.TableExpr.Build(stmt)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
```Python hl_lines="11 13-14" {!> ../../docs_src/response_model/tutorial004.py!} ``` //// * `description: Union[str, None] = None` (oder `str | None = None` in Python 3.10) hat einen Defaultwert `None`. * `tax: float = 10.5` hat einen Defaultwert `10.5`. * `tags: List[str] = []` hat eine leere Liste als Defaultwert: `[]`. Aber Sie möchten diese vielleicht vom Resultat ausschließen, wenn Sie gar nicht gesetzt wurden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.8K bytes - Viewed (0) -
docs/sts/web-identity.py
return text % make_authorization_url() def make_authorization_url(): # Generate a random string for the state parameter # Save it for use later to prevent xsrf attacks state = str(uuid4()) params = {"client_id": client_id, "response_type": "code", "state": state, "redirect_uri": callback_uri, "scope": "openid"}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
``` /// note | "참고" 경로 매개변수는 경로의 일부여야 하므로 언제나 필수적입니다. 즉, `...`로 선언해서 필수임을 나타내는게 좋습니다. 그럼에도 `None`으로 선언하거나 기본값을 지정할지라도 아무 영향을 끼치지 않으며 언제나 필수입니다. /// ## 필요한 경우 매개변수 정렬하기 `str` 형인 쿼리 매개변수 `q`를 필수로 선언하고 싶다고 해봅시다. 해당 매개변수에 대해 아무런 선언을 할 필요가 없으므로 `Query`를 정말로 써야할 필요는 없습니다. 하지만 `item_id` 경로 매개변수는 여전히 `Path`를 사용해야 합니다. 파이썬은 "기본값"이 없는 값 앞에 "기본값"이 있는 값을 입력하면 불평합니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/classes-as-dependencies.md
```Python something(some_argument, some_keyword_argument="foo") ``` ⤴️ ⚫️ "🇧🇲". ## 🎓 🔗 👆 5️⃣📆 👀 👈 ✍ 👐 🐍 🎓, 👆 ⚙️ 👈 🎏 ❕. 🖼: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` 👉 💼, `fluffy` 👐 🎓 `Cat`. & ✍ `fluffy`, 👆 "🤙" `Cat`. , 🐍 🎓 **🇧🇲**. ⤴️, **FastAPI**, 👆 💪 ⚙️ 🐍 🎓 🔗.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-multiple-params.md
Поскольку по умолчанию, отдельные значения интерпретируются как query-параметры, вам не нужно явно добавлять `Query`, вы можете просто сделать так: ```Python q: Union[str, None] = None ``` Или в Python 3.10 и выше: ```Python q: str | None = None ``` Например: //// tab | Python 3.10+ ```Python hl_lines="27" {!> ../../docs_src/body_multiple_params/tutorial004_an_py310.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/body.md
``` Параметры функции распознаются следующим образом: * Если параметр также указан в **пути**, то он будет использоваться как параметр пути. * Если аннотация типа параметра содержит **примитивный тип** (`int`, `float`, `str`, `bool` и т.п.), он будет интерпретирован как параметр **запроса**. * Если аннотация типа параметра представляет собой **модель Pydantic**, он будет интерпретирован как параметр **тела запроса**. /// note | "Заметка"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
/// ### `Response` 👑 `Response` 🎓, 🌐 🎏 📨 😖 ⚪️➡️ ⚫️. 👆 💪 📨 ⚫️ 🔗. ⚫️ 🚫 📄 🔢: * `content` - `str` ⚖️ `bytes`. * `status_code` - `int` 🇺🇸🔍 👔 📟. * `headers` - `dict` 🎻. * `media_type` - `str` 🤝 📻 🆎. 🤶 Ⓜ. `"text/html"`. FastAPI (🤙 💃) 🔜 🔁 🔌 🎚-📐 🎚. ⚫️ 🔜 🔌 🎚-🆎 🎚, ⚓️ 🔛 = & 🔁 = ✍ 🆎. ```Python hl_lines="1 18"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/ja/docs/features.md
型を使用した標準的なPythonを記述します: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` これは以下のように用いられます: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1"); value.put(keys.get(0), true); value.put(keys.get(1), 1000); value.put(keys.get(2), "ja"); value.put(keys.get(3), "str"); docMap = new DocMap(value); assertFalse(docMap.isEmpty()); Set<Map.Entry<String, Object>> actual = docMap.entrySet(); assertTrue(actual.size() == keys.size()); docMap.clear();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0)