Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 2,994 for class (0.03 seconds)

  1. docs_src/body_nested_models/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed May 11 17:29:02 GMT 2022
    - 455 bytes
    - Click Count (0)
  2. docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel as BaseModelV2
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 445 bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            return new ProjectModelResolver(
                    repoSession,
                    null,
                    getContainer().lookup(RepositorySystem.class),
                    getContainer().lookup(RemoteRepositoryManager.class),
                    this.getRemoteRepositories(),
                    ProjectBuildingRequest.RepositoryMerging.REQUEST_DOMINANT,
                    null);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/websockets.md

    Wenn Ihre Datei `main.py` heißt, führen Sie Ihre Anwendung so aus:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Sie sehen eine einfache Seite wie:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. docs_src/body_multiple_params/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 490 bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

     * under the License.
     */
    package org.apache.maven.model;
    
    /**
     * Class InputSource.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public class InputSource implements java.io.Serializable, Cloneable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         *
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

     */
    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class ClassDoc implements DslElementDoc {
        private final String className
        private final String id
        private final String simpleName
        final ClassMetaData classMetaData
        private final Element classSection
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            releasedVersions = version.map {
                ReleasedVersionsDetails(
                    it.baseVersion,
                    releasedVersionsFile()
                )
            }
        }
    }
    
    class LazyProjectVersion(private val version: Provider<String>) {
        override fun toString(): String = version.get()
    }
    
    group = "org.gradle"
    version = LazyProjectVersion(gradleModule.identity.version.map { it.version })
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

    //      from the plugin archive.
    // TODO this will be the class that people get in IDEs to modify
    
    /**
     * MavenExecutionPlan
     */
    public class MavenExecutionPlan implements Iterable<ExecutionPlanItem> {
    
        /*
          At the moment, this class is totally immutable, and this is in line with thoughts about the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top