- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 4,924 for from (0.73 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
xpathAPI.remove(); } } /** * Extracts strings from a document using the specified XPath expression. * * @param document the DOM document to extract strings from * @param path the XPath expression to evaluate * @return an array of strings extracted from the document */ protected String[] getStringsByXPath(final Document document, final String path) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 9.3K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_an_py39.py
import gzip from typing import Annotated, Callable from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 988 bytes - Viewed (0) -
docs_src/generate_clients/tutorial003_py39.py
from fastapi import FastAPI from fastapi.routing import APIRoute from pydantic import BaseModel def custom_generate_unique_id(route: APIRoute): return f"{route.tags[0]}-{route.name}" app = FastAPI(generate_unique_id_function=custom_generate_unique_id) class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 914 bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial004_py39.py
from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() @app.post("/items/", response_model=Item, summary="Create an item") async def create_item(item: Item): """ Create an item with all the information:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 712 bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from docs_src.behind_a_proxy.tutorial003_py39 import app client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.5K bytes - Viewed (0) -
docs/sts/client-grants.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import boto3 from boto3.session import Session from botocore.session import get_session from client_grants import ClientGrantsCredentialProvider boto3.set_stream_logger('boto3.resources', logging.DEBUG) bc_session = get_session() bc_session.get_component('credential_provider').insert_before( 'env', ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.2K bytes - Viewed (0) -
fastapi/param_functions.py
from collections.abc import Sequence from typing import Annotated, Any, Callable, Optional, Union from annotated_doc import Doc from fastapi import params from fastapi._compat import Undefined from fastapi.openapi.models import Example from pydantic import AliasChoices, AliasPath from typing_extensions import Literal, deprecated _Unset: Any = Undefined def Path( # noqa: N802 default: Annotated[ Any, Doc(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
protected abstract void encodeWitnessParameters(NdrBuffer buf) throws NdrException; /** * Decodes the witness RPC message parameters from NDR format. * Subclasses must implement this method to decode their specific parameters. * * @param buf the NDR buffer to decode from * @throws NdrException if decoding fails */ protected abstract void decodeWitnessParameters(NdrBuffer buf) throws NdrException;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
import importlib import pytest from dirty_equals import IsOneOf from fastapi.testclient import TestClient from tests.utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py39"), pytest.param("tutorial002_an_py310", marks=needs_py310), ], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java
/** * Merges values from the specified parent model into the given child model. Implementations are expected to keep * parent and child completely decoupled by injecting deep copies of objects into the child rather than the original * objects from the parent. * * @param child The child model into which to merge the values inherited from the parent, must not be * <code>null</code>.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.1K bytes - Viewed (0)