Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3581 - 3590 of 4,228 for NAME (0.3 seconds)

  1. tests/test_tutorial/test_body_updates/test_tutorial001.py

        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/settings.md

    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    ваша программа может выполняться так:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
    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)
  3. build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts

    configure<MavenPublishBaseExtension> {
      publishToMavenCentral(automaticRelease = true)
      signAllPublications()
      pom {
        name.set(project.name)
        description.set("Square’s meticulous HTTP client for Java and Kotlin.")
        url.set("https://square.github.io/okhttp/")
        licenses {
          license {
            name.set("The Apache Software License, Version 2.0")
            url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:00:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    com.my
    edu.my
    gov.my
    mil.my
    name.my
    net.my
    org.my
    
    // mz : http://www.uem.mz/
    // Submitted by registry <******@****.***>
    mz
    ac.mz
    adv.mz
    co.mz
    edu.mz
    gov.mz
    mil.mz
    net.mz
    org.mz
    
    // na : http://www.na-nic.com.na/
    na
    alt.na
    co.na
    com.na
    gov.na
    net.na
    org.na
    
    // name : has 2nd-level tlds, but there's no list of them
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 309.7K bytes
    - Click Count (1)
  5. docs/uk/docs/advanced/advanced-python-types.md

    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    Параметр `name` визначено як `Optional[str]`, але він не є необов'язковим, ви не можете викликати функцію без цього параметра:
    
    ```Python
    say_hi()  # О ні, це викликає помилку! 😱
    ```
    
    Параметр `name` все ще обов'язковий (не «необов'язковий»), тому що не має значення за замовчуванням. Водночас `name` приймає `None` як значення:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. tests/test_response_model_include_exclude.py

        assert response.json() == {
            "name": "mixed model3 name",
            "ref2": {
                "ref": {"foo": "mixed model foo", "bar": "mixed model bar"},
            },
        }
    
    
    def test_nested_include_mixed_dict():
        response = client.get("/mixed_dict")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "mixed_dict model3 name",
            "ref2": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            jApiField.name >> 'field'
            jApiField.jApiClass >> jApiClassifier
            jApiMethod.name >> 'method'
            jApiMethod.jApiClass >> jApiClassifier
            jApiConstructor.name >> 'ApiTest'
            jApiConstructor.jApiClass >> jApiClassifier
    
            incubatingAnnotation.fullyQualifiedName >> Incubating.name
            deprecatedAnnotation.fullyQualifiedName >> Deprecated.name
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            oldBase = instanceScopedPool.get(OldBase.name)
            newBase = instanceScopedPool.get(NewBase.name)
            newSuper = instanceScopedPool.get(NewSuper.name)
            newIncubatingBase = instanceScopedPool.get(NewIncubatingBase.name)
            internalInterface = instanceScopedPool.get(InternalInterface.name)
            incubatingInterface = instanceScopedPool.get(IncubatingInterface.name)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/advanced-python-types.md

    ```python
    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    El parámetro `name` está definido como `Optional[str]`, pero **no es opcional**, no puedes llamar a la función sin el parámetro:
    
    ```Python
    say_hi()  # ¡Oh, no, esto lanza un error! 😱
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_additional_status_codes/test_tutorial001.py

        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 934 bytes
    - Click Count (0)
Back to Top