Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 424 for models (0.08 sec)

  1. docs/pt/docs/advanced/response-cookies.md

    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
    
    E se você declarou um `response_model`, ele ainda será usado para filtrar e converter o objeto que você retornou.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/response-headers.md

    ```Python hl_lines="1  7-8"
    {!../../docs_src/response_headers/tutorial002.py!}
    ```
    
    Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
    
    Se você declarou um `response_model`, ele ainda será utilizado para filtrar e converter o objeto que você retornou.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 16 07:44:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import java.io.Serializable;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseObject implements Serializable, Cloneable, InputLocationTracker {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     */
    package org.apache.maven.api;
    
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.xml.XmlNode;
    
    /**
     * A {@code MojoExecution} represents a single execution of a Maven Plugin during a given build.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java

     * under the License.
     */
    package org.apache.maven.toolchain.building;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.building.Problem;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Holds the result of the merged toolchains and holds the problems during this build, if any.
     *
     * @since 3.3.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package model
    
    import com.alibaba.fastjson.JSON
    import java.io.File
    
    val ignoredSubprojects = listOf(
        "soak", // soak test
        "distributions-integ-tests", // build distribution testing
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.7.md

    ### Action Required
    
    * kube-apiserver: a new authorization mode (`--authorization-mode=Node`) authorizes nodes to access secrets, configmaps, persistent volume claims and persistent volumes related to their pods. ([#46076](https://github.com/kubernetes/kubernetes/pull/46076), [@liggitt](https://github.com/liggitt))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  8. docs/zh/docs/advanced/additional-responses.md

    # OPENAPI 中的其他响应
    
    您可以声明附加响应,包括附加状态代码、媒体类型、描述等。
    
    这些额外的响应将包含在OpenAPI模式中,因此它们也将出现在API文档中。
    
    但是对于那些额外的响应,你必须确保你直接返回一个像 `JSONResponse` 一样的 `Response` ,并包含你的状态代码和内容。
    
    ## `model`附加响应
    您可以向路径操作装饰器传递参数 `responses` 。
    
    它接收一个 `dict`,键是每个响应的状态代码(如`200`),值是包含每个响应信息的其他 `dict`。
    
    每个响应字典都可以有一个关键模型,其中包含一个 `Pydantic` 模型,就像 `response_model` 一样。
    
    **FastAPI**将采用该模型,生成其`JSON Schema`并将其包含在`OpenAPI`中的正确位置。
    
    例如,要声明另一个具有状态码 `404` 和`Pydantic`模型 `Message` 的响应,可以写:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

    package org.apache.maven.toolchain;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-parent.xml

      <artifactId>parent</artifactId>
      <version>11-SNAPSHOT</version>
    
      <name>Model urls inheritance test parent</name>
      <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description>
    
      <modules>
        <module>../inheritance</module><!-- current directory == inheritance -->
      </modules>
    
      <!-- 5 urls in the pom will be inherited with path added -->
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top