- Sort Score
- Result 10 results
- Languages All
Results 4781 - 4790 of 8,388 for isclass (0.14 sec)
-
tests/test_security_api_key_query.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 1.9K bytes - Viewed (0) -
tests/test_stringified_annotation_dependency.py
import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot if TYPE_CHECKING: # pragma: no cover from collections.abc import AsyncGenerator class DummyClient: async def get_people(self) -> list: return ["John Doe", "Jane Doe"] async def close(self) -> None: pass async def get_client() -> AsyncGenerator[DummyClient, None]:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook.model import org.w3c.dom.Element import org.w3c.dom.Node class ExtraAttributeDoc { final Element titleCell final Element valueCell ExtraAttributeDoc(Element titleCell, Element valueCell) { this.titleCell = titleCell this.valueCell = valueCell }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.3K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002_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, tags=["items"]) async def create_item(item: Item): return item @app.get("/items/", tags=["items"])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 575 bytes - Viewed (0) -
docs_src/dependencies/tutorial008c_py39.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 660 bytes - Viewed (0) -
src/main/resources/fess_message_nl.properties
# Framework Default # ================= # ---------------------------------------------------------- # Lasta Taglib # ------------ errors.header = <ul class="has-error"> errors.footer = </ul> errors.prefix = <li><i class="fa fa-exclamation-circle"></i> errors.suffix = </li> # ---------------------------------------------------------- # Javax Validator # ---------------
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 12K bytes - Viewed (0) -
src/main/resources/fess_message_ru.properties
# Framework Default # ================= # ---------------------------------------------------------- # Lasta Taglib # ------------ errors.header = <ul class="has-error"> errors.footer = </ul> errors.prefix = <li><i class="fa fa-exclamation-circle"></i> errors.suffix = </li> # ---------------------------------------------------------- # Javax Validator # ---------------
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 05 02:36:47 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
* - Secure wiping of sensitive data * - Thread-safe operations * - Protection against timing attacks */ public class SecureCredentialStorage implements AutoCloseable, Destroyable { private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class); private static final String ENCRYPTION_ALGORITHM = "AES/GCM/NoPadding"; private static final String KEY_ALGORITHM = "AES";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
internal infix fun Int.and(mask: Long): Long = toLong() and mask @Throws(IOException::class) internal fun BufferedSink.writeMedium(medium: Int) { writeByte(medium.ushr(16) and 0xff) writeByte(medium.ushr(8) and 0xff) writeByte(medium and 0xff) } @Throws(IOException::class) internal fun BufferedSource.readMedium(): Int = ( readByte() and 0xff shl 16
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* stale). */ class CacheStrategy internal constructor( /** The request to send on the network, or null if this call doesn't use the network. */ val networkRequest: Request?, /** The cached response to return or validate; or null if this call doesn't use a cache. */ val cacheResponse: Response?, ) { class Factory( private val nowMillis: Long, internal val request: Request,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0)