- Sort Score
- Result 10 results
- Languages All
Results 2931 - 2940 of 7,967 for aclass (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(LinkedListMultimap.class); tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class)); tester.ignore(LinkedListMultimap.class.getMethod("removeAll", Object.class)); tester.testAllPublicInstanceMethods(LinkedListMultimap.create()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item = Body(embed=True)): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 407 bytes - Viewed (0) -
docs_src/custom_response/tutorial009c.py
from typing import Any import orjson from fastapi import FastAPI, Response app = FastAPI() class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option=orjson.OPT_INDENT_2) @app.get("/", response_class=CustomORJSONResponse) async def main():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 01 09:32:30 UTC 2022 - 451 bytes - Viewed (0) -
docs_src/dependencies/tutorial011_an.py
from fastapi import Depends, FastAPI from typing_extensions import Annotated app = FastAPI() class FixedContentQueryChecker: def __init__(self, fixed_content: str): self.fixed_content = fixed_content def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 554 bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
Any function that is valid to use with: * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> or * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a> would be valid to use as a **FastAPI** dependency.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
* limitations under the License. */ package okhttp3.mockwebserver import mockwebserver3.QueueDispatcher class QueueDispatcher : Dispatcher() { internal val delegate = QueueDispatcher() @Throws(InterruptedException::class) override fun dispatch(request: RecordedRequest): MockResponse { throw UnsupportedOperationException("unexpected call") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Oct 18 12:55:43 UTC 2020 - 1.3K bytes - Viewed (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
* .build() * ``` */ @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead") class JavaNetAuthenticator : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/test_generic_parameterless_depends.py
from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from typing_extensions import Annotated app = FastAPI() T = TypeVar("T") Dep = Annotated[T, Depends()] class A: pass class B: pass @app.get("/a") async def a(dep: Dep[A]): return {"cls": dep.__class__.__name__} @app.get("/b") async def b(dep: Dep[B]): return {"cls": dep.__class__.__name__}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:52:56 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java
import org.apache.http.auth.AuthSchemeProvider; import org.apache.http.impl.auth.NTLMScheme; import org.apache.http.protocol.HttpContext; /** * This class is AuthSchemeFactory implementation for NTLM. * * @author shinsuke * */ public class NTLMSchemeProvider implements AuthSchemeProvider { @Override public AuthScheme create(final HttpContext context) { return new NTLMScheme(new SmbjEngine());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
package org.codelibs.fess.es.config.exentity; import java.util.Arrays; import java.util.Date; import org.codelibs.fess.es.config.bsentity.BsAccessToken; /** * @author ESFlute (using FreeGen) */ public class AccessToken extends BsAccessToken { private static final long serialVersionUID = 1L; public String getId() { return asDocMeta().id(); } public void setId(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0)