Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 4,690 for Import (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.prefix.internal;
    
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.prefix.PluginPrefixResult;
    import org.eclipse.aether.repository.ArtifactRepository;
    
    /**
     * Describes the result of a plugin prefix resolution request.
     *
     * @since 3.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Access to {@link Type} registry.
     * <p>
     * This registry provides access to all registered artifact types, both standard types
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaData.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import org.gradle.api.Action;
    
    import java.io.Serializable;
    import java.util.Objects;
    
    /**
     * Static meta-data about a method parameter extracted from the source for the method.
     */
    public class ParameterMetaData implements Serializable, TypeContainer {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
  4. docs_src/body/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 368 bytes
    - Click Count (0)
  5. docs_src/response_model/tutorial003_04_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Response
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Union[Response, dict]:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 384 bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

     * limitations under the License.
     */
    
    package gradlebuild.docs;
    
    import org.gradle.api.Action;
    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.provider.Property;
    
    import javax.inject.Inject;
    
    /**
     * Common root for all Gradle documentation configuration.
     */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. docs_src/settings/app02_an_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 515 bytes
    - Click Count (0)
  8. docs_src/header_param_models/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header(convert_underscores=False)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Mar 23 20:48:54 GMT 2025
    - 415 bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/handling-errors.md

    Remember all those **"404 Not Found"** errors (and jokes)?
    
    ## Use `HTTPException` { #use-httpexception }
    
    To return HTTP responses with errors to the client you use `HTTPException`.
    
    ### Import `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Raise an `HTTPException` in your code { #raise-an-httpexception-in-your-code }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.net.URI;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.apache.maven.building.FileSource;
    
    /**
     * Wraps an ordinary {@link File} as a model source.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top