Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,002 for exception (0.04 seconds)

  1. fastapi/security/open_id_connect_url.py

    from typing import Annotated, Optional
    
    from annotated_doc import Doc
    from fastapi.openapi.models import OpenIdConnect as OpenIdConnectModel
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class OpenIdConnect(SecurityBase):
        """
        OpenID Connect authentication class. An instance of it would be used as a
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.pluginArtifact = pluginArtifact;
        }
    
        public Lifecycle getLifecycleMapping(String lifecycleId) throws IOException, XMLStreamException {
            return getLifecycleMappings().get(lifecycleId);
        }
    
        public Map<String, Lifecycle> getLifecycleMappings() throws IOException, XMLStreamException {
            if (lifecycleMappings == null) {
                LifecycleConfiguration lifecycleConfiguration;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                    return null;
                }
                return target.toFile();
            } catch (IOException | XMLStreamException | ModelBuilderException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate() throws IOException, XMLStreamException, ModelBuilderException {
            String result;
            ModelSource src = sourcePathProvider.get();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/GraphBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.graph;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.model.building.Result;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/resources/inheritance-repo/t02/p0/p1/pom.xml

      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>test</id>
                <phase>package</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. tests/test_regex_deprecated_body.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Form
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.post("/items/")
            async def read_items(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py

                "tutorial004_regex_an_py310",
                marks=(
                    needs_py310,
                    pytest.mark.filterwarnings(
                        "ignore:`regex` has been deprecated, please use `pattern` instead:fastapi.exceptions.FastAPIDeprecationWarning"
                    ),
                ),
            ),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 12:45:20 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. docs/en/docs/reference/background.md

    # Background Tasks - `BackgroundTasks`
    
    You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 377 bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.extension.internal;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top