Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4041 - 4050 of 7,604 for KClass (0.1 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

    /**
     * ModelSourceTransformer for the build pom
     *
     * @since 4.0.0
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    class BuildModelSourceTransformer implements ModelSourceTransformer {
    
        public static final String NAMESPACE_PREFIX = "http://maven.apache.org/POM/";
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/extra-data-types.md

    * `datetime.timedelta`:
        * 一个 Python `datetime.timedelta`.
        * 在请求和响应中将表示为 `float` 代表总秒数。
        * Pydantic 也允许将其表示为 "ISO 8601 时间差异编码", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">查看文档了解更多信息</a>。
    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
            * 在响应中 `set` 将被转换为 `list` 。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tests/test_tuples.py

    from dirty_equals import IsDict
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class ItemGroup(BaseModel):
        items: List[Tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

    import org.w3c.dom.Node;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts a javadoc link into docbook.
     */
    public class JavadocLinkConverter {
        private static final Pattern LINK_PATTERN = Pattern.compile("(?s)\\s*([\\w\\.]*)(#(\\w+)(\\((.*)\\))?)?.*");
        private static final Pattern TYPE_PATTERN = Pattern.compile("(\\w+)\\s*(.*?)\\s*");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  5. docs_src/body/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 271 bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/request-forms.md

    İstek gövdesinde JSON verisi yerine form alanlarını karşılamanız gerketiğinde `Form` sınıfını kullanabilirsiniz.
    
    /// info | "Bilgi"
    
    Formları kullanmak için öncelikle <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a> paketini indirmeniz gerekmektedir.
    
    Örneğin `pip install python-multipart`.
    
    ///
    
    ## `Form` Sınıfını Projenize Dahil Edin
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/index.md

    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/extra-data-types.md

        * O Pydantic também permite representá-lo como uma "codificação ISO 8601 diferença de tempo", <a href="https://docs.pydantic.dev/latest/concepts/serialization/" class="external-link" target="_blank">cheque a documentação para mais informações</a>.
    * `frozenset`:
        * Em requisições e respostas, será tratado da mesma forma que um `set`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/index.md

    Para ejecutar cualquiera de los ejemplos, copia el código en un archivo llamado `main.py`, y ejecuta `uvicorn` de la siguiente manera en tu terminal:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

    import common.substDirOnWindows
    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.ParametrizedWithType
    
    abstract class AdHocPerformanceScenario(os: Os, arch: Arch = Arch.AMD64) : BuildType({
        val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}"
        name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 06:45:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top