Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 2,994 for Class1 (0.03 seconds)

  1. docs/uk/docs/tutorial/response-status-code.md

    Параметр `status_code` приймає число, яке відповідає HTTP коду статусу.
    
    /// info | Інформація
    `status_code` також може отримувати значення з `IntEnum`, наприклад, з Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсі користувача):
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Mar 19 17:04:17 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. tests/test_dependency_yield_scope_websockets.py

    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    global_context: ContextVar[dict[str, Any]] = ContextVar("global_context", default={})  # noqa: B039
    
    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    async def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
        global_state = global_context.get()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

            StageName.READY_FOR_NIGHTLY to listOf(Os.LINUX, Os.WINDOWS, Os.MACOS),
            StageName.READY_FOR_RELEASE to listOf(Os.LINUX, Os.WINDOWS, Os.MACOS),
        )
    
    class StageTriggers(
        model: CIBuildModel,
        stage: Stage,
        prevStage: Stage?,
        stageProject: StageProject,
    ) {
        val triggers: List<BaseGradleBuildType>
    
        init {
            triggers = mutableListOf()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 12:17:39 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

    /**
     * Root element of the <code>lifecycle.xml</code> file.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public class LifecycleConfiguration implements java.io.Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field lifecycles.
         */
        private java.util.List<Lifecycle> lifecycles;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
     * @see MojoExecutionListener
     * @see org.apache.maven.execution.scope.WeakMojoExecutionListener
     * @since 3.1.2
     */
    public class MojoExecutionEvent {
        private final MavenSession session;
    
        private final MavenProject project;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

     * should it become necessary to introduce new parameters in the existing callbacks in the future.
     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
     * @see ProjectExecutionListener
     * @since 3.1.2
     */
    public class ProjectExecutionEvent {
    
        private final MavenSession session;
    
        private final MavenProject project;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtensions.java

    /**
     * Extensions to load.
     *
     * @deprecated Use {@link org.apache.maven.api.cli.extensions.CoreExtension} instead
     */
    @Deprecated
    @SuppressWarnings("all")
    public class CoreExtensions implements Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field extensions.
         */
        private List<CoreExtension> extensions;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

     * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
     * this class delegates all of its calls.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class PrefixedObjectValueSource extends AbstractDelegatingValueSource implements QueryEnabledValueSource {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

    import java.util.Objects;
    
    /**
     * Wraps an ordinary {@link URL} as a source.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public class UrlSource implements Source {
    
        private final URL url;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. tests/test_union_forms.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserForm(BaseModel):
        name: str
        email: str
    
    
    class CompanyForm(BaseModel):
        company_name: str
        industry: str
    
    
    @app.post("/form-union/")
    def post_union_form(data: Annotated[Union[UserForm, CompanyForm], Form()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top