Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 2,994 for Class1 (0.07 seconds)

  1. tests/test_request_params/test_query/test_required_str.py

    # =====================================================================================
    # Without aliases
    
    
    @app.get("/required-str")
    async def read_required_str(p: str):
        return {"p": p}
    
    
    class QueryModelRequiredStr(BaseModel):
        p: str
    
    
    @app.get("/model-required-str")
    async def read_model_required_str(p: Annotated[QueryModelRequiredStr, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    
    class PublishNightlySnapshotFromQuickFeedback(
        branch: VersionedSettingsBranch,
    ) : PublishGradleDistributionFullBuild(
            promotedBranch = branch.branchName,
            prepTask = branch.prepNightlyTaskName(),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.validation.DefaultModelValidator;
    import org.apache.maven.model.validation.ModelValidator;
    
    /**
     * A factory to create model builder instances when no dependency injection is available. Note: This class is
     * only meant as a utility for developers that want to employ the model builder outside of the Maven build system, Maven
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/websockets.md

    ## Instalar `websockets` { #install-websockets }
    
    Asegúrate de crear un [entorno virtual](../virtual-environments.md){.internal-link target=_blank}, activarlo e instalar `websockets` (un paquete de Python que facilita usar el protocolo "WebSocket"):
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. tests/test_union_body.py

    from typing import Optional, Union
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class OtherItem(BaseModel):
        price: int
    
    
    @app.post("/items/")
    def save_union_body(item: Union[OtherItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Print warnings if deprecated core parameters are used in mojo.
     *
     * @since 3.9.1
     */
    @Singleton
    @Named
    class DeprecatedCoreExpressionValidator extends AbstractMavenPluginParametersValidator {
        private static final HashMap<String, String> DEPRECATED_CORE_PARAMETERS;
    
        private static final String ARTIFACT_REPOSITORY_REASON =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel as BaseModelV2
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 407 bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

    import org.apache.maven.repository.Proxy;
    import org.apache.maven.wagon.repository.Repository;
    
    /**
     * This class is an abstraction of the location from/to resources can be
     * transferred.
     *
     */
    @Deprecated
    public class DefaultArtifactRepository extends Repository implements ArtifactRepository {
        private ArtifactRepositoryLayout layout;
    
        private ArtifactRepositoryPolicy snapshots;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

    /**
     * Holds a model along with some auxiliary information. This internal utility class assists the model builder during POM
     * processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class ModelData {
        private final ModelSource source;
    
        private Model model;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * domtrip-based orchestrator for executing different upgrade strategies.
     *
     * <p>This class provides the same functionality as StrategyOrchestrator but works
     * with domtrip-based strategies for superior formatting preservation.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top