- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 724 for targs (0.06 sec)
-
docs_src/bigger_applications/app_an/main.py
app = FastAPI(dependencies=[Depends(get_query_token)]) app.include_router(users.router) app.include_router(items.router) app.include_router( admin.router, prefix="/admin", tags=["admin"], dependencies=[Depends(get_token_header)], responses={418: {"description": "I'm a teapot"}}, ) @app.get("/") async def root():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 552 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004_py310.py
app = FastAPI() class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() image: Image | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed May 11 17:29:02 UTC 2022 - 455 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an_py39.py
class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 493 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_pv1_py310.py
class FilterParams(BaseModel): class Config: extra = "forbid" limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 466 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
/** The protocol the server selected. */ var selected: String? = null @Throws(Throwable::class) override fun invoke( proxy: Any, method: Method, args: Array<Any>?, ): Any? { val callArgs = args ?: arrayOf<Any?>() val methodName = method.name val returnType = method.returnType if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
cmd/ftp-server.go
if serverDebugLog { fmt.Printf("%s < %d %s\n", sessionID, code, message) } } func startFTPServer(args []string) { var ( port int publicIP string portRange string tlsPrivateKey string tlsPublicCert string ) var err error for _, arg := range args { tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/FessBoot.java
// main // ============ public static void main(final String[] args) { // update java.io.tmpdir final String tempPath = System.getProperty(FESS_TEMP_PATH); if (tempPath != null) { System.setProperty(JAVA_IO_TMPDIR, tempPath); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class); npTester.testAllPublicInstanceMethods(builder); } private static String rootLocaleFormat(String format, Object... args) { return String.format(Locale.ROOT, format, args); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004.py
class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: Set[str] = set() image: Union[Image, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 504 bytes - Viewed (0) -
cmd/net_test.go
t.Errorf("failed with different error, expected: '%v', found:'%v'.", testCase.expectedErr, err) } } }) } } func TestIsHostIP(t *testing.T) { testCases := []struct { args string expectedResult bool }{ {"localhost", false}, {"localhost:9000", false}, {"example.com", false}, {"http://192.168.1.0", false}, {"http://192.168.1.0:9000", false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)