Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,188 for parameter_ (0.11 sec)

  1. docs/en/docs/advanced/custom-response.md

    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    * Import `HTMLResponse`.
    * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.
    
    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial002.py!}
    ```
    
    /// info
    
    The parameter `response_class` will also be used to define the "media type" of the response.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

              .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length)));
        }
      }
    
      /**
       * Returns an array containing parameters for invoking a checkArgument, checkNotNull or checkState
       * method reflectively
       *
       * @param firstParam The first parameter
       * @param sig The method signature
       */
      @GwtIncompatible("ArbitraryInstances")
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. fastapi/routing.py

                    **Note**: you probably shouldn't use this parameter, it is inherited
                    from Starlette and supported for compatibility.
    
                    ---
    
                    A list of routes to serve incoming HTTP and WebSocket requests.
                    """
                ),
                deprecated(
                    """
                    You normally wouldn't use this parameter with FastAPI, it is inherited
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params.md

    ```
    
    De otra manera el path para `/users/{user_id}` coincidiría también con `/users/me` "pensando" que está recibiendo el parámetro `user_id` con el valor `"me"`.
    
    ## Valores predefinidos
    
    Si tienes una *operación de path* que recibe un *parámetro de path* pero quieres que los valores posibles del *parámetro de path* sean predefinidos puedes usar un <abbr title="Enumeration">`Enum`</abbr> estándar de Python.
    
    ### Crea una clase `Enum`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    ```Python hl_lines="4"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    ////
    
    /// info | Informação
    
    Estes tipos internos dentro dos colchetes são chamados "parâmetros de tipo" (type parameters).
    
    Neste caso, `str` é o parâmetro de tipo passado para `List` (ou `list` no Python 3.9 ou superior).
    
    ///
    
    Isso significa: "a variável `items` é uma `list`, e cada um dos itens desta lista é uma `str`".
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    It is designed to have functions that receive two parameters, one "request" and one "response". Then you "read" parts from the request, and "write" parts to the response. Because of this design, it is not possible to declare request parameters and bodies with standard Python type hints as function parameters.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    It has all the information about the *path operation* and is used to generate the automatic documentation.
    
    It includes the `tags`, `parameters`, `requestBody`, `responses`, etc.
    
    This *path operation*-specific OpenAPI schema is normally generated automatically by **FastAPI**, but you can also extend it.
    
    /// tip
    
    This is a low level extension point.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. ci/official/requirements_updater/README.md

    ```
    
    If you need to upgrade all of the packages in requirements lock file, just pass
    the `--upgrade` parameter:
    
    ```
    bazel run //ci/official/requirements_updater:requirements.update --repo_env=HERMETIC_PYTHON_VERSION=3.12 -- --upgrade
    ```
    
    For the full set of supported parameters please check
    [pip-compile](https://pip-tools.readthedocs.io/en/latest/cli/pip-compile/)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Jun 29 00:19:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

            nameAnnotation.get().name
          } else {
            defaultName
          }
        return extensionContext.resource.server(name)
      }
    
      /** Start the servers passed in as test method parameters. */
      override fun beforeEach(context: ExtensionContext) {
        context.resource.startAll()
      }
    
      override fun afterEach(context: ExtensionContext) {
        context.resource.shutdownAll()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top