- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 1,169 for friend (0.06 seconds)
-
docs_src/dataclasses_/tutorial002_py39.py
from dataclasses import dataclass, field from typing import Union from fastapi import FastAPI @dataclass class Item: name: str price: float tags: list[str] = field(default_factory=list) description: Union[str, None] = None tax: Union[float, None] = None app = FastAPI() @app.get("/items/next", response_model=Item) async def read_next_item(): return { "name": "Island In The Moon",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 543 bytes - Click Count (0) -
tests/test_response_model_default_factory.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() class ResponseModel(BaseModel): code: int = 200 message: str = Field(default_factory=lambda: "Successful operation.") @app.get( "/response_model_has_default_factory_return_dict", response_model=ResponseModel, ) async def response_model_has_default_factory_return_dict():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 18:51:40 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/SearchForm.java
*/ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /** * The name field for searching label types. */ public String name; /** * The value field for searching label types. */ public String value;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1019 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/SearchForm.java
*/ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /** * The search term field for related content. */ public String term; /** * The content field for searching related content. */ public String content;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_list.py
from typing import Annotated, Optional import pytest from fastapi import FastAPI, Header from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/optional-list-str") async def read_optional_list_str( p: Annotated[Optional[list[str]], Header()] = None, ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
/** * The low field of the timestamp. */ public int time_low; /** * The middle field of the timestamp. */ public short time_mid; /** * The high field of the timestamp multiplexed with the version number. */ public short time_hi_and_version; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
private byte[] reserved = new byte[8]; /** * Create a new durable handle response */ public DurableHandleResponse() { // Reserved field initialized to zeros } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java
package com.google.common.collect.testing.features; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/AndroidIncompatible.java
*/ package com.google.common.reflect; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java
*/ package com.google.common.util.concurrent; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 15:54:11 GMT 2025 - 1.6K bytes - Click Count (0)