Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,188 for parameter_ (0.11 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: some-token"
                data = websocket.receive_text()
                assert data == "Query parameter q is: 3"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: 2"
                message = "Message two"
                websocket.send_text(message)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/response-change-status-code.md

    Pero aún quieres poder filtrar y convertir los datos que retornas con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usar un parámetro `Response`
    
    Puedes declarar un parámetro de tipo `Response` en tu *función de la operación de path* (como puedes hacer para cookies y headers).
    
    Y luego puedes establecer el `status_code` en ese objeto de respuesta *temporal*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    This doesn't go inside of each JSON Schema contained in OpenAPI, this goes outside, in the *path operation* directly.
    
    ### Using the `openapi_examples` Parameter
    
    You can declare the OpenAPI-specific `examples` in FastAPI with the parameter `openapi_examples` for:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        if (sslSocket is BCSSLSocket) {
          val sslParameters = sslSocket.parameters
    
          // Enable ALPN.
          val names = alpnProtocolNames(protocols)
          sslParameters.applicationProtocols = names.toTypedArray()
    
          sslSocket.parameters = sslParameters
        } else {
          super.configureTlsExtensions(sslSocket, hostname, protocols)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_model/test_tutorial006_py310.py

                            },
                        },
                        "summary": "Read Item Name",
                        "operationId": "read_item_name_items__item_id__name_get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "string"},
                                "name": "item_id",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

     * <tr bgcolor="#ccccff">
     * <td colspan="3">
     * <b>Examples Of SMB URLs When Augmented With A Second Constructor Parameter</b></td>
     * <tr>
     * <td width="20%">
     * <b>First Parameter</b></td>
     * <td><b>Second Parameter</b></td>
     * <td><b>Result</b></td>
     * </tr>
     *
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/a/b/
     * </code></td>
     * <td width="20%"><code>
     *  c/d/
     * </code></td>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.schema_extra_example.tutorial004_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    # Test required and embedded body parameters with no bodies sent
    @needs_py310
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial001_an.py

                                },
                            },
                        },
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "required": False,
                                "schema": IsDict(
                                    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-updates.md

    But this guide shows you, more or less, how they are intended to be used.
    
    ///
    
    ### Using Pydantic's `exclude_unset` parameter
    
    If you want to receive partial updates, it's very useful to use the parameter `exclude_unset` in Pydantic's model's `.model_dump()`.
    
    Like `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/pom.xml

          </plugin>
          <plugin>
            <groupId>com.github.siom79.japicmp</groupId>
            <artifactId>japicmp-maven-plugin</artifactId>
            <configuration>
              <parameter>
                <excludes>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top