Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 7,287 for _class (0.07 sec)

  1. docs/en/docs/reference/uploadfile.md

    # `UploadFile` class
    
    You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import UploadFile
    ```
    
    ::: fastapi.UploadFile
        options:
            members:
                - file
                - filename
                - size
                - headers
                - content_type
                - read
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 472 bytes
    - Viewed (0)
  2. docs_src/body_multiple_params/tutorial005_py310.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 369 bytes
    - Viewed (0)
  3. docs_src/body_nested_models/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 369 bytes
    - Viewed (0)
  4. docs_src/body_nested_models/tutorial003_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 371 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

              <association xml.itemsStyle="flat">
                <type>Lifecycle</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Lifecycle</name>
          <version>1.0.0+</version>
          <description>A custom lifecycle mapping definition.</description>
          <fields>
            <field>
              <name>id</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        String getConfigurationElement();
    
        /**
         * Gets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
         * the bean class will be used.
         *
         * @return The class loader to load referenced types from or {@code null} if unset.
         */
        ClassLoader getClassLoader();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

    import java.net.http.HttpClient
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse
    
    
    data class GitHubPullRequestSearchResult(val items: List<GitHubPullRequest>)
    
    
    data class GitHubUser(val login: String, val name: String?)
    
    
    data class GitHubPullRequestMilestone(val title: String)
    
    
    data class GitHubPullRequest(
        val number: Int,
        val user: GitHubUser,
        val milestone: GitHubPullRequestMilestone?,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
     * "any {@code char} value {@code c} for which {@code this.matches(c)} returns {@code true}".
     *
     * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
     * slightly between releases. If you need a stable logging format, use your own event listener.
     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    ) : EventListener() {
      private var startNs: Long = 0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top