Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,545 for description (0.06 sec)

  1. .teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt

        os = Os.LINUX, stage = stage, init = {
            id("${model.projectId}_CheckTeamCityKotlinDSL")
            name = "CheckTeamCityKotlinDSL"
            description = "Check Kotlin DSL in .teamcity/"
    
            applyDefaultSettings()
            steps {
                script {
                    name = "RUN_MAVEN_CLEAN_VERIFY"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 30 04:10:13 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial001_01.py

    from typing import List, 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
        tags: List[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> List[Item]:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 513 bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/models.py

        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
        class Meta:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 465 bytes
    - Viewed (0)
  4. docs_src/body_nested_models/tutorial005_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial010_an_py310.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None,
            Query(
                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 622 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial001_py310.py

    from typing import Any
    
    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.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 537 bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    ```Python hl_lines="3 5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    それらはレスポンスに含まれます。
    
    #### デフォルト値と同じ値を持つデータ
    
    ID`baz`のitemのようにデフォルト値と同じ値を持つデータの場合:
    
    ```Python hl_lines="3 5 6"
    {
        "name": "Baz",
        "description": None,
        "price": 50.2,
        "tax": 10.5,
        "tags": []
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    group = "gradlebuild"
    
    description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
    
    dependencies {
        compileOnly("com.gradle:develocity-gradle-plugin")
    
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
        implementation(projects.moduleIdentity)
        implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.0.1")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 13:02:17 UTC 2024
    - 843 bytes
    - Viewed (0)
  9. .asf.yaml

    # see https://s.apache.org/asfyaml
    github:
      description: "Apache Maven core"
      homepage: https://maven.apache.org/ref/current
      labels:
        - java
        - build-management
        - apache-maven
        - maven
        - hacktoberfest
      enabled_merge_buttons:
        squash: true
        merge: false
        rebase: true
      autolink_jira:
        - MNG
    notifications:
      commits: ******@****.***
      issues: ******@****.***
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 30 22:33:15 UTC 2024
    - 477 bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial005_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 428 bytes
    - Viewed (0)
Back to top