Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 394 for stax (0.08 sec)

  1. docs_src/response_model/tutorial001.py

    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/", 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
    - 562 bytes
    - Viewed (1)
  2. docs_src/path_operation_configuration/tutorial002.py

    from typing import Set, 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: Set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 580 bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.Optional
    import org.gradle.api.tasks.OutputDirectory
    import org.gradle.api.tasks.TaskAction
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.work.DisableCachingByDefault
    import java.text.SimpleDateFormat
    import java.util.Date
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/body-updates.md

    ### 置換についての注意
    
    つまり、`PUT`を使用して以下のボディで項目`bar`を更新したい場合は:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    すでに格納されている属性`"tax": 20.2`を含まないため、入力モデルのデフォルト値は`"tax": 10.5`です。
    
    そして、データはその「新しい」`10.5`の`tax`と共に保存されます。
    
    ## `PATCH`による部分的な更新
    
    また、<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTPの`PATCH`</a>操作でデータを*部分的に*更新することもできます。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            {
                xpathTransformer = new XpathTransformer();
                xpathTransformer.setName("xpathTransformer");
                Map<String, String> featureMap = newHashMap();
                featureMap.put("http://xml.org/sax/features/namespaces", "false");
                xpathTransformer.setFeatureMap(featureMap);
                Map<String, String> propertyMap = newHashMap();
                xpathTransformer.setPropertyMap(propertyMap);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. docs_src/body_multiple_params/tutorial001_an.py

    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    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: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: Union[str, None] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 639 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

    labels: [ "a:bug", "to-triage" ]
    assignees: [ ]
    body:
      - type: markdown
        attributes:
          value: |
            Please follow the instructions below.
            We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information.
    
            If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    ln -s "/usr/include/x86_64-linux-gnu/asm" "/${TARGET}/usr/include/asm"
    
    # Symlinks in the binary distribution are set up for installation in /usr, we
    # need to fix up all the links to stay within /${TARGET}.
    /fixlinks.sh "/${TARGET}"
    
    # Patch to allow non-glibc 2.12 compatible builds to work.
    sed -i '54i#define TCP_USER_TIMEOUT 18' "/${TARGET}/usr/include/netinet/tcp.h"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                "org/apache/commons/logging",
                "org/jetbrains/annotations",
                "org/slf4j",
                "org/apache/log4j",
                "org/apache/xerces",
                "org/w3c/dom",
                "org/xml/sax",
                "sun/misc"
            )
    
            // Things we do want to shade despite being covered by excludes
            val DEFAULT_INCLUDES: List<String> = listOf(
                "org/gradle/fileevents"
            )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    					<c:if test="${favoriteSupport}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline">&nbsp;</span>
    						<a href="#${doc.doc_id}" class="favorite"><i class="far fa-star"></i></a>
    						<span class="favorited"><i class="fas fa-star"></i></span>
    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top