Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 2,991 for requis (0.06 seconds)

  1. tests/test_tutorial/test_python_types/test_tutorial009c.py

    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009c_py39"),
            pytest.param("tutorial009c_py310", marks=needs_py310),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    def test_say_hi(module: ModuleType):
        with patch("builtins.print") as mock_print:
            module.say_hi("FastAPI")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 777 bytes
    - Click Count (0)
  2. fastapi/exception_handlers.py

    from fastapi.websockets import WebSocket
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/SsoResponseType.java

     * such as metadata requests and logout actions.
     */
    public enum SsoResponseType {
        /**
         * Indicates a request for SSO metadata, which is typically used for
         * configuration and discovery in protocols like SAML.
         */
        METADATA,
    
        /**
         * Indicates a request to perform a logout operation, terminating the
         * user's SSO session.
         */
        LOGOUT;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. docs_src/openapi_callbacks/tutorial001_py310.py

        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    @invoices_callback_router.post(
        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    def invoice_notification(body: InvoiceEvent):
        pass
    
    
    @app.post("/invoices/", callbacks=invoices_callback_router.routes)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
                request.setArtifact(new ProjectArtifact(project));
                request.setArtifactDependencies(project.getDependencyArtifacts());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
  6. cmd/sts-handlers.go

    	// use that and validate the authentication request. If not, we assume this
    	// is an STS request for a claim based IDP (if one is present) and set
    	// roleArn = openid.DummyRoleARN.
    	//
    	// Currently, we do not support multiple claim based IDPs, as there is no
    	// defined parameter to disambiguate the intended IDP in this STS request.
    	roleArn := openid.DummyRoleARN
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

    @Experimental
    @Immutable
    public interface RepositoryAwareRequest extends Request<Session> {
    
        /**
         * Returns the list of remote repositories to be used for this request.
         *
         * <p>If this method returns {@code null}, the session's default remote repositories
         * will be used. If a non-null list is returned, it will be used instead of the
         * session's repositories, allowing for request-specific repository configuration.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import java.io.IOException
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullMissingWhenNullUnsupported("contains(null) should return false or throw");
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (0)
Back to Top