Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for upsert (0.15 sec)

  1. docs/en/docs/tutorial/testing.md

    Create functions with a name that starts with `test_` (this is standard `pytest` conventions).
    
    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/zh/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    ### 修改示例
    
    这是一个非常简单的程序。
    
    现在假设你将从头开始编写这段程序。
    
    在某一时刻,你开始定义函数,并且准备好了参数...。
    
    现在你需要调用一个"将第一个字母转换为大写形式的方法"。
    
    等等,那个方法是什么来着?`upper`?还是 `uppercase`?`first_uppercase`?`capitalize`?
    
    然后你尝试向程序员老手的朋友——编辑器自动补全寻求帮助。
    
    输入函数的第一个参数 `first_name`,输入点号(`.`)然后敲下 `Ctrl+Space` 来触发代码补全。
    
    但遗憾的是并没有起什么作用:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     *  Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior
        between Kotlin's `assert()` and Java's `assert()`. (Kotlin always evaluates the argument; Java
        only does when assertions are enabled.)
    
     *  Fix: Honor `RequestBody.isOneShot()` in `HttpLoggingInterceptor`.
    
    
    ## Version 4.2.2
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    Wenden wir uns jetzt den spannenden Dingen zu. 🎉
    
    ## `Query` zu `Annotated` im `q`-Parameter hinzufügen
    
    Jetzt, da wir `Annotated` für unsere Metadaten deklariert haben, fügen Sie `Query` hinzu, und setzen Sie den Parameter `max_length` auf `50`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  5. docs/de/docs/async.md

    Dann nimmt es 🤖 die erste erledigte Aufgabe (sagen wir, unsere „Langsam-Datei“ 📝) und bearbeitet sie weiter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:16 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. docs/ru/docs/python-types.md

    В какой-то момент вы бы начали определение функции, у вас были бы готовы параметры...
    
    Но затем вы должны вызвать «тот метод, который преобразует первую букву в верхний регистр».
    
    Было это `upper`? Или `uppercase`? `first_uppercase`? `capitalize`?
    
    Тогда вы попробуете с давним другом программиста: автодополнением редактора.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    Tại một vài thời điểm, bạn sẽ bắt đầu định nghĩa hàm, bạn có các tham số...
    
    Nhưng sau đó bạn phải gọi "phương thức chuyển đổi kí tự đầu tiên sang kiểu chữ hoa".
    
    Có phải là `upper`? Có phải là `uppercase`? `first_uppercase`? `capitalize`?
    
    Sau đó, bạn thử hỏi người bạn cũ của mình, autocompletion của trình soạn thảo.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/networking/v1/generated.proto

      // +optional
      optional string scope = 4;
    
      // namespace is the namespace of the resource being referenced. This field is
      // required when scope is set to "Namespace" and must be unset when scope is set to
      // "Cluster".
      // +optional
      optional string namespace = 5;
    }
    
    // IngressClassSpec provides information about the class of an Ingress.
    message IngressClassSpec {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

    If you pass a custom list of `servers` and there's a `root_path` (because your API lives behind a proxy), **FastAPI** will insert a "server" with this `root_path` at the beginning of the list.
    
    For example:
    
    ```Python hl_lines="4-7"
    {!../../../docs_src/behind_a_proxy/tutorial003.py!}
    ```
    
    Will generate an OpenAPI schema like:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  10. docs/uk/docs/python-types.md

    У певний момент ви розпочали б визначення функції, у вас були б готові параметри...
    
    Але тоді вам потрібно викликати "той метод, який переводить першу літеру у верхній регістр".
    
    Це буде `upper`? Чи `uppercase`? `first_uppercase`? `capitalize`?
    
    Тоді ви спробуєте давнього друга програміста - автозаповнення редактора коду.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top