Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 940 for ndocs (0.03 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial006c.py

    client = TestClient(app)
    
    
    def test_redirect_status_code():
        response = client.get("/pydantic", follow_redirects=False)
        assert response.status_code == 302
        assert response.headers["location"] == "https://docs.pydantic.dev/"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 899 bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-operation-configuration.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="19-27"
    {!> ../../docs_src/path_operation_configuration/tutorial004.py!}
    ```
    
    ////
    
    It will be used in the interactive docs:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Response description
    
    You can specify the response description with the parameter `response_description`:
    
    //// tab | Python 3.10+
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-data-types.md

        * Ein Python-`datetime.timedelta`.
        * Wird in Requests und Responses als `float` der Gesamtsekunden dargestellt.
        * Pydantic ermöglicht auch die Darstellung als „ISO 8601 Zeitdifferenz-Kodierung“, <a href="https://docs.pydantic.dev/1.10/usage/exporting_models/#json_encoders" class="external-link" target="_blank">Weitere Informationen finden Sie in der Dokumentation</a>.
    * `frozenset`:
        * Wird in Requests und Responses wie ein `set` behandelt:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/templates.md

    Also, before that, in previous versions, the `request` object was passed as part of the key-value pairs in the context for Jinja2.
    
    ///
    
    /// tip
    
    By declaring `response_class=HTMLResponse` the docs UI will be able to know that the response will be HTML.
    
    ///
    
    /// note | "Technical Details"
    
    You could also use `from starlette.templating import Jinja2Templates`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. .gitignore

    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage*
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:56:19 UTC 2024
    - 269 bytes
    - Viewed (0)
  7. docs/en/docs/features.md

    * Designed around these standards, after a meticulous study. Instead of an afterthought layer on top.
    * This also allows using automatic **client code generation** in many languages.
    
    ### Automatic docs
    
    Interactive API documentation and exploration web user interfaces. As the framework is based on OpenAPI, there are multiple options, 2 included by default.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. helm-releases/minio-4.0.2.tgz

    here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret certSecret: "" publicCrt: public.crt privateKey: private.key ## Trusted Certificates Settings for MinIO. Ref: https://docs.minio.io/docs/how-to-secure-access-to-minio-server-with-tls#install-certificates-from-third-party-cas ## Bundle multiple trusted certificates into one secret and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret ## When...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 09 04:25:47 UTC 2022
    - 18K bytes
    - Viewed (0)
  9. helm-releases/minio-4.0.3.tgz

    here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret certSecret: "" publicCrt: public.crt privateKey: private.key ## Trusted Certificates Settings for MinIO. Ref: https://docs.minio.io/docs/how-to-secure-access-to-minio-server-with-tls#install-certificates-from-third-party-cas ## Bundle multiple trusted certificates into one secret and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret ## When...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 08 06:16:22 UTC 2022
    - 18K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top