Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,896 for exemple (0.18 seconds)

  1. tests/test_tutorial/test_advanced_middleware/test_tutorial002.py

    from docs_src.advanced_middleware.tutorial002_py310 import app
    
    
    def test_middleware():
        client = TestClient(app, base_url="http://example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://subdomain.example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://invalidhost")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 576 bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import javax.security.auth.callback.UnsupportedCallbackException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy.NO_PROXY,
            InetSocketAddress(ipv4Address, 1003),
          ).toString(),
        ).isEqualTo("example.com at 1.2.3.4:1003")
        assertThat(
          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved("proxy.example.com", 1003)),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. docs/en/docs/python-types.md

    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    ### `typing` module { #typing-module }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/templates.md

    ...irá gerar um link para a mesma URL que será tratada pela *path operation function* `read_item(id=id)`.
    
    Por exemplo, com um ID de `42`, isso renderizará:
    
    ```html
    <a href="/items/42">
    ```
    
    ## Templates e arquivos estáticos { #templates-and-static-files }
    
    Você também pode usar `url_for()` dentro do template e usá-lo, por exemplo, com o `StaticFiles` que você montou com o `name="static"`.
    
    ```jinja hl_lines="4"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"
            System.setProperty("java.protocol.handler.pkgs", "com.example");
            SingletonContext.registerSmbURLHandler();
            assertEquals("com.example|jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsAlreadyContainsJcifs() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/configure-swagger-ui.md

    FastAPI converts the configurations to **JSON** to make them compatible with JavaScript, as that's what Swagger UI needs.
    
    ## Disable Syntax Highlighting { #disable-syntax-highlighting }
    
    For example, you could disable syntax highlighting in Swagger UI.
    
    Without changing the settings, syntax highlighting is enabled by default:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. docs/pt/docs/deployment/manually.md

    ///
    
    ## Conceitos de Implantação { #deployment-concepts }
    
    Esses exemplos executam o programa do servidor (por exemplo, Uvicorn), iniciando **um único processo**, ouvindo em todos os IPs (`0.0.0.0`) em uma porta predefinida (por exemplo, `80`).
    
    Esta é a ideia básica. Mas você provavelmente vai querer cuidar de algumas coisas adicionais, como:
    
    * Segurança - HTTPS
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md

    ```python
    # Это пример блока кода на Python
    def hello_world():
        # Комментарий с отступом
        print("Hello, world!")  # Печать приветствия
    ```
    
    ```toml
    # Это пример блока кода на TOML
    title = "TOML Example"  # Заголовок документа
    ```
    
    ```console
    // Используйте команду "live" и передайте код языка в качестве аргумента CLI
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. docs/pt/docs/how-to/conditional-openapi.md

    ## OpenAPI condicional com configurações e variáveis de ambiente { #conditional-openapi-from-settings-and-env-vars }
    
    Você pode usar facilmente as mesmas configurações do Pydantic para configurar sua OpenAPI gerada e as interfaces de usuário da documentação.
    
    Por exemplo:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top