Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5351 - 5360 of 7,303 for recur2 (0.07 seconds)

  1. docs_src/security/tutorial006_an_py39.py

    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 361 bytes
    - Click Count (0)
  2. docs_src/query_params_str_validations/tutorial006_an_py39.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)]):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 294 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exbhv/BoostDocumentRuleBhv.java

            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exbhv/FileConfigBhv.java

            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exbhv/JobLogBhv.java

            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. tests/test_top_level_security_scheme_in_openapi.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    
    def test_get_root():
        response = client.get("/", headers={"Authorization": "Bearer token"})
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

                    acceptedViolationsDir.listFiles()
                        .findAll { it.name.endsWith(".json") }
                        .collect { it.text }
                ).toAcceptedChangesMap()
            }
            return acceptedViolations
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. fastapi/param_functions.py

    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
        return params.Depends(dependency=dependency, use_cache=use_cache, scope=scope)
    
    
    def Security(  # noqa: N802
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  9. docs_src/response_headers/tutorial001_py39.py

    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 309 bytes
    - Click Count (0)
  10. docs_src/response_model/tutorial003_01_py310.py

        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 317 bytes
    - Click Count (0)
Back to Top