Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,146 for line (0.01 seconds)

  1. tests/test_request_body_parameters_media_type.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    media_type = "application/vnd.api+json"
    
    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. internal/s3select/sql/errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errLikeInvalidInputs(err error) *s3Error {
    	return &s3Error{
    		code:       "LikeInvalidInputs",
    		message:    "Invalid argument given to the LIKE clause in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errQueryParseFailure(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseSelectFailure",
    		message:    err.Error(),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    It also includes what has changed, how validations are now more correct and strict, possible caveats, etc.
    
    You can read it to understand better what has changed.
    
    ## Tests { #tests }
    
    Make sure you have [tests](../tutorial/testing.md){.internal-link target=_blank} for your app and you run them on continuous integration (CI).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Lifecycle} implementations.
     * <p>
     * This interface allows plugins and extensions to define and register additional build lifecycles
     * beyond the standard ones provided by Maven (like clean, default, site). Lifecycles define a sequence
     * of phases that can be executed during a build.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Type} implementations.
     * <p>
     * This interface allows plugins and extensions to define and register additional artifact types
     * beyond the standard ones provided by Maven (like jar, war, pom, etc.). Types define how artifacts
     * are handled, including their default extension, classifier, and language.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

    import java.io.File;
    import java.util.List;
    
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.apache.maven.jline.MessageUtils;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  7. callbacks/query.go

    					relation, ok := db.Statement.Schema.Relationships.Relations[join.Name]
    					if ok {
    						isRelations = true
    						relations = append(relations, relation)
    					} else {
    						// handle nested join like "Manager.Company"
    						nestedJoinNames := strings.Split(join.Name, ".")
    						if len(nestedJoinNames) > 1 {
    							isNestedJoin := true
    							guessNestedRelations := make([]*schema.Relationship, 0, len(nestedJoinNames))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (3)
  8. doc/asm.html

    The assembler works on the semi-abstract form, so
    when you see an instruction like <code>MOV</code>
    what the toolchain actually generates for that operation might
    not be a move instruction at all, perhaps a clear or load.
    Or it might correspond exactly to the machine instruction with that name.
    In general, machine-specific operations tend to appear as themselves, while more general concepts like
    memory move and subroutine call and return are more abstract.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelNormalizer {
    
        /**
         * Merges duplicate elements like multiple declarations of the same build plugin in the specified model.
         *
         * @param model The model whose duplicate elements should be merged, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/query-param-models.md

    If a client tries to send some **extra** data in the **query parameters**, they will receive an **error** response.
    
    For example, if the client tries to send a `tool` query parameter with a value of `plumbus`, like:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    They will receive an **error** response telling them that the query parameter `tool` is not allowed:
    
    ```json
    {
        "detail": [
            {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top