Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,236 for Parameter (0.19 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    If you pass a "callable" as a dependency in **FastAPI**, it will analyze the parameters for that "callable", and process them in the same way as the parameters for a *path operation function*. Including sub-dependencies.
    
    That also applies to callables with no parameters at all. The same as it would be for *path operation functions* with no parameters.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/mail/CrawlerPostcard.java

         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    
        /**
         * Set the value of jobname, used in parameter comment. <br>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
          </fields>
        </class>
    
        <class xdoc.anchorName="parameter">
          <name>Parameter</name>
          <version>1.0.0+</version>
          <description>A parameter description.</description>
          <!-- see o.a.m.plugin.descriptor.Parameter -->
          <fields>
            <field>
              <name>name</name>
              <version>1.0.0+</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/metadata.md

    ```
    
    ## Metadaten für Tags
    
    Sie können mit dem Parameter `openapi_tags` auch zusätzliche Metadaten für die verschiedenen Tags hinzufügen, die zum Gruppieren Ihrer Pfadoperationen verwendet werden.
    
    Es wird eine Liste benötigt, die für jedes Tag ein Dict enthält.
    
    Jedes Dict kann Folgendes enthalten:
    
    * `name` (**erforderlich**): ein `str` mit demselben Tag-Namen, den Sie im Parameter `tags` in Ihren *Pfadoperationen* und `APIRouter`n verwenden.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("utf-8", mediaType.parameter("charset"))
        assertEquals("1", mediaType.parameter("a"))
        assertEquals("2", mediaType.parameter("b"))
        assertEquals("3", mediaType.parameter("c"))
        assertEquals("utf-8", mediaType.parameter("CHARSET"))
        assertEquals("1", mediaType.parameter("A"))
        assertEquals("2", mediaType.parameter("B"))
        assertEquals("3", mediaType.parameter("C"))
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-multiple-params.md

    # Body - Multiple Parameters
    
    Now that we have seen how to use `Path` and `Query`, let's see more advanced uses of request body declarations.
    
    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params.md

    {!> ../../docs_src/query_params/tutorial002.py!}
    ```
    
    ////
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    /// check
    
    Also notice that **FastAPI** is smart enough to notice that the path parameter `item_id` is a path parameter and `q` is not, so, it's a query parameter.
    
    ///
    
    ## Query parameter type conversion
    
    You can also declare `bool` types, and they will be converted:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
          if (pos == value.length || value[pos] == ',' || value[pos] == ';') {
            pos++ // Consume ',' or ';' (if necessary).
            parameter = null
          } else {
            pos++ // Consume '='.
            pos = value.indexOfNonWhitespace(pos)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. tests/test_operations_signatures.py

            router_sig = inspect.signature(router_method)
            app_sig = inspect.signature(app_method)
            param: inspect.Parameter
            for key, param in base_sig.parameters.items():
                router_param: inspect.Parameter = router_sig.parameters[key]
                app_param: inspect.Parameter = app_sig.parameters[key]
                assert param.annotation == router_param.annotation
                assert param.annotation == app_param.annotation
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 27 12:08:13 UTC 2019
    - 934 bytes
    - Viewed (0)
Back to top