Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of over 10,000 for Switch (0.07 seconds)

  1. tests/test_custom_middleware_exception.py

    
    def test_custom_middleware_exception(tmp_path: Path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
            assert response.status_code == 422, response.text
            assert response.json() == {
                "detail": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/SKILL.md

    ---
    name: fastapi
    description: FastAPI best practices and conventions. Use when working with FastAPI APIs and Pydantic models for them. Keeps FastAPI code clean and up to date with the latest features and patterns, updated with new versions. Write new code or refactor and update old code.
    ---
    
    # FastAPI
    
    Official FastAPI skill to write code with best practices, keeping up to date with new versions and features.
    
    ## Use the `fastapi` CLI
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

        @Test
        public void test_complex_field_names() {
            // Test various complex field names
            String[] fieldNames = { "simple_field", "field-with-dashes", "field.with.dots", "field_with_underscores", "fieldWithCamelCase",
                    "field with spaces", "field@with#special!chars", "フィールド名", "字段名称", "필드명" };
    
            for (String fieldName : fieldNames) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. docs_src/response_model/tutorial003_04_py310.py

    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jan 10 16:22:47 GMT 2023
    - 352 bytes
    - Click Count (0)
  5. LICENSE

       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue May 08 21:35:34 GMT 2018
    - 11.1K bytes
    - Click Count (0)
  6. LICENSE

       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Jan 11 04:30:09 GMT 2021
    - 11.1K bytes
    - Click Count (0)
  7. helm/minio/README.md

    ## Introduction
    
    This chart bootstraps MinIO Cluster on [Kubernetes](http://kubernetes.io) using the [Helm](https://helm.sh) package manager.
    
    ## Prerequisites
    
    - Helm cli with Kubernetes cluster configured.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. docs/uk/docs/advanced/events.md

    Менеджер контексту в Python - це те, що можна використовувати в операторі `with`, наприклад, `open()` можна використовувати як менеджер контексту:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    У новіших версіях Python також є асинхронний менеджер контексту. Його використовують з `async with`:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/IndexedImmutableSet.java

            return IndexedImmutableSet.this;
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @Override
          @J2ktIncompatible
          @GwtIncompatible
                Object writeReplace() {
            return super.writeReplace();
          }
        };
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top